beautypg.com

2 show ip, 3 show logging, 4 show interface – ZyXEL Communications LAYER 3 ES-3124 User Manual

Page 270

background image

ES-3124 User’s Guide

268

Chapter 35 User and Enable Mode Commands

35.2.2 show ip

Syntax:

show ip

This command displays the IP related information (such as IP address and subnet mask) on all
switch interfaces.

The following figure shows the default interface settings.

35.2.3 show logging

Syntax:

show logging

This command displays the system logs. The following figure shows an example.

Note: If you clear a log (by entering

y

at the

Clear Error Log (y/n):

prompt), you

cannot view it again.

35.2.4 show interface

Syntax:

show interface [port-number]

ras> show ip
Out-of-band Management IP Address = 192.168.0.1
Management IP Address
IP[192.168.0.1], Netmask[255.255.255.0], VID[0]
IP Interface
IP[192.168.1.1], Netmask[255.255.255.0], VID[1]
ras>

ras# show logging
1 Thu Jan 1 00:02:08 1970 PP05 -WARN SNMP TRAP 3: link up
2 Thu Jan 1 00:03:14 1970 INFO adjtime task pause 1 day
3 Thu Jan 1 00:03:16 1970 PP0f -WARN SNMP TRAP 26: Event On Trap
4 Thu Jan 1 00:03:16 1970 PINI -WARN SNMP TRAP 1: warm start
5 Thu Jan 1 00:03:16 1970 PINI -WARN SNMP TRAP 3: link up
6 Thu Jan 1 00:03:16 1970 PINI INFO main: init completed
7 Thu Jan 1 00:00:13 1970 PP26 INFO adjtime task pause 1 day
8 Thu Jan 1 00:00:14 1970 PP0f -WARN SNMP TRAP 26: Event On Trap
9 Thu Jan 1 00:00:14 1970 PINI -WARN SNMP TRAP 0: cold start
10 Thu Jan 1 00:00:14 1970 PINI INFO main: init completed
11 Thu Jan 1 00:00:04 1970 PP05 -WARN SNMP TRAP 3: link up
11 Thu Jan 1 00:00:04 1970 PP05 -WARN SNMP TRAP 3: link up
Clear Error Log (y/n):