beautypg.com

2 show ip, 3 show logging, 4 show interface – ZyXEL Communications GS-4024 User Manual

Page 378

background image

Chapter 46 User and Enable Mode Commands

GS-4012F/4024 User’s Guide

378

46.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.

46.2.3 show logging

Syntax:

show logging

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

"

If you clear a log (by entering

y

at the

Clear Error Log (y/n):

prompt), you

cannot view it again.

46.2.4 show interface

Syntax:

show interface [port-number]

sysname> show ip

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]

sysname>

sysname# 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):

This manual is related to the following products: