Chapter 33 Command Examples
33.2.2 show ipSyntax:
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.
sysname> show ip
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]
33.2.3 show loggingSyntax:
show logging
This command displays the system logs. The following figure shows an example.
sysname# | show | logging |
| SNMP TRAP 0: cold start | ||
56 | Thu | Jan | 1 | 00:01:04 1970 PSSV | ||
57 | Thu | Jan | 1 | 00:01:04 1970 PSSV | WARN | System cold start |
58 | Thu | Jan | 1 | 00:01:04 1970 PP1f | SNMP TRAP 26: Event On Trap | |
59 | Thu | Jan | 1 | 00:01:06 1970 PKEB | INFO | User admin login |
60 | Thu | Jan | 1 | 00:02:46 1970 PP0c | SNMP TRAP 3: port 18 link up | |
61 | Thu | Jan | 1 | 00:02:46 1970 PP0c | ERROR | Port 18 link up |
62 | Thu | Jan | 1 | 00:03:23 1970 PP27 | INFO | User admin logout |
63 | Thu | Jan | 1 | 00:03:28 1970 PKEB | INFO | User admin login |
Clear Error Log | (y/n): |
|
|
If you clear a log (by entering y at the Clear Error Log (y/n):prompt), you cannot view it again.
33.2.4 show macSyntax:
show mac
Where
<sort> | = Specifies the sorting criteria (MAC, VID or port). |
244 |
| |
| ||
|
|
|