|
|
Use the show imagemib command to display image information provided in the CISCO-IMAGE-MIB for a particular image.
show imagemib flash | filename
flash | Name of the Flash image on the Supervisor Engine II. |
filename | Name of the Flash device on the Supervisor Engine III or the Catalyst 4000 family and 2948G switch supervisor engine module. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display CISCO-IMAGE-MIB information for the Flash device on the Catalyst 4000 family and 2948G switch supervisor engine module:
Console> show imagemib cat4000.4-4-0-14.binshow mib info for file cat4000.4-4-0-14.binshow_presto_nmp_image_header : open file cat4000.4-4-0-14.bin error code = -3, )Console>
This example shows how to display CISCO-IMAGE-MIB information for the Flash device on the Supervisor Engine III:
Console>show imagemib cat5000-sup3.5-1-1.binshow mib info for file cat5000-sup3.5-1-1.binshow_presto_nmp_image_header : open file cat5000-sup3.5-1-1.bin error code = -3)
Use the show interface command to display information on network interfaces and standard SNMP link trap operation.
show interfaceThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display information on all network interfaces:
Console> show interfaceme1:flags=63<UP,BROADCAST,RUNNING>inet 0.0.0.0 netmask 255.0.0.0 broadcast 0.0.0.0sl0:flags=51<UP,POINTOPOINT,RUNNING>slip 0.0.0.0 dest 0.0.0.0sc0:flags=63<UP,BROADCAST,RUNNING>vlan 1 inet 171.69.199.168 netmask 255.255.255.0 broadcast 171.69.199.255Console>
This example shows how to display whether the trap interface is enabled or disabled:
Console> (enable)show interface trapInterface Trap-------- ----sc0 enabledme1 disabledsl0 disabledConsole> (enable)
Table 2-23 describes the fields in the show interface command output.
| Field | Description |
|---|---|
me1 | Information on the me1 interface. |
flags | Flags indicating the interface state (decoded in the subsequent field). |
<UP,BROADCAST, RUNNING> | Interface state (UP, DOWN, BROADCAST, LOOPBACK, POINTOPOINT, or RUNNING). |
inet | IP address of the interface. |
netmask | Network mask for the interface. |
broadcast | Broadcast address for the interface. |
sl0 | Information on the SLIP interface. |
<UP,POINTOPOINT, RUNNING> | Interface state (UP, DOWN, BROADCAST, LOOPBACK, POINTOPOINT, or RUNNING). |
slip | IP address of the SLIP interface. |
dest | IP address of the host to which the console port will be connected. |
sc0 | Information on the in-band interface. |
vlan | Number of the VLAN to which the sc0 interface has been assigned (known as the management VLAN). |
Interface | Type of interface. |
Trap | Status of whether the trap is enabled or disabled. |
Use the show ip alias command to show a listing of defined IP aliases.
show ip alias [name]
name | (Optional) Alias for a specific host. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display a listing of all IP aliases:
Console> show ip alias default 0.0.0.0 sparc20 192.168.10.69 cat5500-1 172.16.169.16 cat5500-2 172.16.169.20 Console>
Use the show ip dns command to show the DNS name servers and the default DNS domain name.
show ip dnsThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display the DNS name servers and the default DNS domain name:
Console> show ip dns DNS is currently enabled. The default DNS domain name is: cisco.com DNS name serverstatus ---------------------- 172.16.30.32 192.168.2.132primary 172.31.128.70 Console>
Table 2-24 describes the fields in the show ip dns command output.
| Field | Description |
|---|---|
DNS is currently enabled | Status of whether DNS is enabled or disabled. |
default DNS domain name | Default DNS domain name. |
DNS name server | IP addresses or IP aliases of the configured DNS servers. |
status | Primary DNS server. |
clear ip dns domain
clear ip dns server
set ip dns
set ip dns domain
set ip dns server
Use the show ip permit command to display the IP permit list information.
show ip permit [noalias]
noalias | (Optional) Keyword to force the display to show IP addresses, not IP aliases. |
This command has no default value.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display IP permit list information:
Console> show ip permit IP permit list feature enabled. Permit List Mask ---------------- ---------------- batboy 172.16.101.102 172.20.102.0 255.255.255.0 172.20.164.0 255.255.255.0 Denied IP Address Last Accessed Time Type ----------------- ------------------ ------ 172.20.101.104 08/20/98,07:45:20 SNMP 172.31.206.222 08/21/98,14:23:05 Telnet Console>
Table 2-25 describes the fields in the show ip permit command output.
| Field | Description |
|---|---|
IP permit list feature enabled | Status of whether the IP permit list feature is enabled or disabled. |
Permit List | IP addresses and IP aliases that are allowed to access the switch. |
Mask | Subnet masks of permitted IP addresses. |
Denied IP Address | IP addresses and IP aliases that are not allowed to access the switch. |
Last Accessed Time | Date and time of the last attempt to log in to the switch from the address. |
Type | Login-attempt type. |
clear ip permit
set ip permit
set snmp trap
Use the show ip route command to display IP routing table entries.
show ip route [noalias]
noalias | (Optional) Keyword to force the display to show IP addresses, not IP aliases. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display the IP route table:
Console> (enable)show ip routeFragmentation Redirect Unreachable------------- -------- -----------enabled enabled enabledDestination Gateway Flags Use Interface----------------------- ----------------------- ------ ---------- ---------default 172.20.59.1 UG 0 sc0default 172.69.199.1 G 0 me1172.20.59.0 172.20.59.25 U 0 sc0171.69.199.0 171.69.199.68 U 0 me1default default UH 0 sl0Console> (enable)
set ip route
clear ip route
Use the show kerberos command to display the Kerberos configuration.
show kerberosThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display Kerberos configuration information:
kerberos> (enable) show kerberos Kerberos Local Realm:CISCO.COM Kerberos server entries: Realm:CISCO.COM, Server:187.0.2.1, Port:750 Kerberos Domain<->Realm entries: Domain:cisco.com, Realm:CISCO.COM Kerberos Clients NOT Mandatory Kerberos Credentials Forwarding Enabled Kerberos Pre Authentication Method set to None Kerberos config key: Kerberos SRVTAB Entries Srvtab Entry 1:host/niners.cisco.com@CISCO.COM 0 932423923 1 1 8 01;;8>00>50;0=0=0 kerberos> (enable)
Table 2-26 describes the fields in the show kerberos command output.
| Field | Description |
|---|---|
Kerberos Local Realm | Shows if local realm is configured. |
Kerberos server entries | Shows servers entered into the switch. |
Kerberos Domain<->Realm entries | Displays Kerberos domain and realm entries. |
Kerberos Clients NOT Mandatory | Shows whether Kerberos has been configured as mandatory on the clients. |
Kerberos Credentials Forwarding Disabled | Shows whether credentials forwarding is enabled or disabled. |
Kerberos Pre Authentication Method | Shows whether preauthentication is enabled or disabled. |
Kerberos config key | Shows whether a DES key has been configured. |
Kerberos SRVTAB entries | Shows the SRVTAB entries. |
Use the show kerberos creds command to display all the Kerberos credentials on the switch.
show kerberos credsThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display Kerberos credentials information:
Console> (enable) show kerberos creds No Kerberos credentials. Console> (enable)
Use the show log command to display the error log for the system or a specific module.
show log [mod_num]
mod_num | (Optional) Number of the module for which the log is displayed. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to display the error log for the system:
Console> show log
Network Management Processor (ACTIVE NMP) Log:
Reset count: 86
Re-boot History: Nov 11 1998 7:27: 4 0, Oct 01 1998 16:15:25 0
Oct 01 1998 16:12:11 0, Aug 27 1998 15:13:42 0
Aug 27 1998 15:10: 5 0, Aug 27 1998 15: 7:19 0
Aug 27 1998 14:45:53 0, Aug 27 1998 14:44:40 0
Aug 27 1998 14:43:16 0, Aug 27 1998 14:33:19 0
Bootrom Checksum Failures: 0 UART Failures: 0
Flash Checksum Failures: 0 Flash Program Failures: 0
Power Supply 1 Failures: 21 Power Supply 2 Failures: 23
Swapped to CLKA: 0 Swapped to CLKB: 0
Swapped to Processor 1: 0 Swapped to Processor 2: 0
DRAM Failures: 0
Exceptions: 8
Last software reset by user: 11/11/98,07:26:28
Switching bus Timeout NMI
switching bus Last Card Grant(Slot No) = 0
Last Exception occurred on Aug 27 1998 15:07:55 ...
NVRAM log:
01. 5/26/97,01:56:33: convert_post_SAC_CiscoMIB:Nvram block 0 size
mismatch: 340
88(33960)
Module 3 Log:
Reset Count: 7
Reset History: Wed Nov 11 1998, 08:38:55
Wed Nov 11 1998, 01:28:43
Wed Nov 11 1998, 00:57:02
Tue Nov 10 1998, 14:56:37
Module 4 Log:
Reset Count: 1
Reset History: Wed Mar 11 1998, 10:09:55
Module 5 Log:
Reset Count: 6
Reset History: Wed Mar 11 1998, 08:39:03
Wed Mar 11 1998, 00:57:10
Tue Mar 10 1998, 14:56:45
Tue Mar 10 1998, 14:43:15
Console>
Table 2-27 describes the fields in the show log command output.
| Field | Description |
|---|---|
Network Management Processor (ACTIVE NMP) Log | Log that applies to the NMP on the supervisor engine module. |
Reset Count | Number of times the system has reset. |
Re-boot History | Date and times the system has rebooted. |
Bootrom Checksum Failures | Number of bootrom checksum failures. |
UART Failures | Number of times the UART has failed. |
Flash Checksum Failures | Number of times the Flash Checksum has failed. |
Flash Program Failures | Number of times the Flash Program has failed. |
Power Supply 1 Failures | Number of times Power Supply 1 has failed. |
Power Supply 2 Failures | Number of times Power Supply 2 has failed. |
DRAM Failures | Number of times the DRAM has failed. |
Exceptions: | Exceptions log. |
NVRAM log | Number of times NVRAM errors have occurred. |
Reset History | Date and times the system has reset. |
Use the show logging command to display the system message log configuration.
show logging [noalias]
noalias | (Optional) Keyword to display syslog servers in IP dotted format. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows the default system message log configuration:
Console <enable>show loggingLogging buffer size: 500timestamp option: enabledLogging history size: 1Logging console: enabledLogging server: disabledserver facility: LOCAL7server severity: warnings(4)Facility Default Severity Current Session Severity------------- ----------------------- ------------------------cdp 4 4drip 2 2dtp 5 5dvlan 2 2earl 2 2fddi 2 2filesys 2 2gvrp 2 2ip 2 2kernel 2 2mcast 2 2mgmt 5 5mls 5 5pagp 5 5protfilt 2 2pruning 2 2radius 2 2security 2 2snmp 2 2spantree 2 2sys 5 5tac 2 2tcp 2 2telnet 2 2tftp 2 2udld 4 4vmps 2 2vtp 2 20(emergencies) 1(alerts) 2(critical)3(errors) 4(warnings) 5(notifications)6(information) 7(debugging)Console>
Table 2-28 describes the fields in the show logging command output.
| Field | Description |
|---|---|
Logging console | Status of whether logging to the console is enabled or disabled. |
Logging server | Status of whether logging to the logging server is enabled or disabled. |
Current Logging Session | Status of whether system logging messages are sent to the current login session. |
Facility | Name of the facility to be logged. |
Server/Default Severity | Default severity level at which point an error from that facility is logged. |
Current Session Severity | Severity level at which point an error from that facility is logged during the current session. |
0 (emergencies), 1 (alerts)... | Key to the numeric severity level codes. |
clear logging server
set logging buffer
set logging level
set logging server
set logging session
show logging buffer
Use the show logging buffer command to display system messages from the internal buffer.
show logging buffer [-] [number_of_messages]
- | (Optional) Keyword to force the display to show system messages starting from the end of the buffer. |
number_of_messages | (Optional) Number of system messages to be displayed. The range of number_of_messages is 1 to 1023. |
Default setting is -20, the last 20 messages in the buffer are displayed.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
If the - keyword is not used, system messages are displayed from the beginning of the buffer. If number_of_messages is not specified, the last 20 messages in the buffer are displayed.
If the logging timestamp option is enabled, a timestamp is also included in the display. Use the set logging timestamp command to enable the timestamp option.
If the logging timestamp option is enabled, the +00:00 or -00:00 in the output indicates the hours and minutes offset from UTC.
This example shows how to display all the system messages from the internal buffer; this example displays the output with the timestamp option enabled:
Console <enable>show logging buffer1999 Mar 09 19:33:05 +00:00%SYS-5:Module 1 is online1999 Mar 09 19:33:05 +00:00%SYS-5:Module 5 is online1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration1999 Mar 09 19:33:05 +00:00%SYS-5:Module 4 is online1999 Mar 09 19:33:05 +00:00%SNMP-6:Subagent 2 connected1999 Mar 09 19:33:05 +00:00%SNMP-5:Cold Start TrapConsole <enable>
This example shows how to display the first four system messages from the internal buffer; this example displays the output with the timestamp option disabled:
Console <enable>show logging buffer 4%SYS-5:Module 1 is online%SYS-5:Module 5 is online%SYS-5:Module 3 failed configurationConsole <enable>
This example shows how to display the last four system messages from the internal buffer; this example displays the output with the timestamp option enabled:
Console <enable>show logging buffer -41999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration1999 Mar 09 19:33:05 +00:00%SYS-5:Module 4 is online1999 Mar 09 19:33:05 +00:00%SNMP-6:Subagent 2 connected1999 Mar 09 19:33:05 +00:00%SNMP-5:Cold Start TrapConsole <enable>
set logging timestamp
set logging buffer
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Oct 4 13:51:19 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.