cc/td/doc/product/lan/cat5000/rel_5_2
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

show imagemib
show interface
show ip alias
show ip dns
show ip permit
show ip route
show kerberos
show kerberos creds
show log
show logging
show logging buffer

show imagemib

Use the show imagemib command to display image information provided in the CISCO-IMAGE-MIB for a particular image.

show imagemib flash | filename

Syntax Description

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.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Examples

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.bin
show mib info for file cat4000.4-4-0-14.bin
show_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.bin
show mib info for file cat5000-sup3.5-1-1.bin
show_presto_nmp_image_header : open file cat5000-sup3.5-1-1.bin error code = -3)

show interface

Use the show interface command to display information on network interfaces and standard SNMP link trap operation.

show interface
show interface trap


Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display information on all network interfaces:

Console> show interface
me1:flags=63<UP,BROADCAST,RUNNING>
        inet 0.0.0.0 netmask 255.0.0.0 broadcast 0.0.0.0
sl0:flags=51<UP,POINTOPOINT,RUNNING>
        slip 0.0.0.0 dest 0.0.0.0
sc0:flags=63<UP,BROADCAST,RUNNING>
        vlan 1 inet 171.69.199.168 netmask 255.255.255.0 broadcast 171.69.199.255 
Console>
 

This example shows how to display whether the trap interface is enabled or disabled:

Console> (enable) show interface trap
Interface  Trap  
--------  ----
sc0       enabled
me1       disabled
sl0       disabled
Console> (enable) 
 

Table 2-23 describes the fields in the show interface command output.


Table 2-23: show interface Command Output Fields
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.

Related Command

set interface

show ip alias

Use the show ip alias command to show a listing of defined IP aliases.

show ip alias [name]

Syntax Description

name

(Optional) Alias for a specific host.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Example

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> 
Related Commands

clear ip alias
set ip alias

show ip dns

Use the show ip dns command to show the DNS name servers and the default DNS domain name.

show ip dns

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Example

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.


Table 2-24: show ip dns Command Output Fields
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.

Related Commands

clear ip dns domain
clear ip dns server
set ip dns
set ip dns domain
set ip dns server

show ip permit

Use the show ip permit command to display the IP permit list information.

show ip permit [noalias]

Syntax Description

noalias

(Optional) Keyword to force the display to show IP addresses, not IP aliases.

Default

This command has no default value.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Example

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.


Table 2-25: show ip permit Command Output Fields
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.

Related Commands

clear ip permit
set ip permit
set snmp trap

show ip route

Use the show ip route command to display IP routing table entries.

show ip route [noalias]

Syntax Description

noalias

(Optional) Keyword to force the display to show IP addresses, not IP aliases.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the IP route table:

Console> (enable) show ip route
Fragmentation   Redirect   Unreachable
-------------   --------   -----------
enabled         enabled    enabled 
 
Destination             Gateway                 Flags   Use         Interface
----------------------- ----------------------- ------  ----------  ---------
default                 172.20.59.1             UG               0  sc0
default                 172.69.199.1            G                0  me1
172.20.59.0             172.20.59.25            U                0  sc0
171.69.199.0            171.69.199.68           U                0  me1
default                 default                 UH               0  sl0
Console> (enable) 
Related Commands
set ip route
clear ip route

show kerberos

Use the show kerberos command to display the Kerberos configuration.

show kerberos

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Example

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.


Table 2-26: show kerberos Command Output Fields
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.

Related Command

show kerberos creds

show kerberos creds

Use the show kerberos creds command to display all the Kerberos credentials on the switch.

show kerberos creds

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display Kerberos credentials information:

Console> (enable) show kerberos creds
No Kerberos credentials.
Console> (enable) 
 
Related Command

show kerberos

show log

Use the show log command to display the error log for the system or a specific module.

show log [mod_num]

Syntax Description

mod_num

(Optional) Number of the module for which the log is displayed.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Example

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.


Table 2-27: show log Command Output Fields
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.

Related Command

clear log

show logging

Use the show logging command to display the system message log configuration.

show logging [noalias]

Syntax Description

noalias

(Optional) Keyword to display syslog servers in IP dotted format.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows the default system message log configuration:

Console <enable> show logging 
 
Logging buffer size:          500
        timestamp option:     enabled
Logging history size:         1
Logging console:              enabled
Logging server:               disabled
        server facility:      LOCAL7
        server severity:      warnings(4)
 
 
Facility            Default Severity         Current Session Severity
-------------       -----------------------  ------------------------
cdp                 4                        4                    
drip                2                        2                    
dtp                 5                        5                    
dvlan               2                        2                    
earl                2                        2                    
fddi                2                        2                    
filesys             2                        2                    
gvrp                2                        2                    
ip                  2                        2                    
kernel              2                        2                    
mcast               2                        2                    
mgmt                5                        5                    
mls                 5                        5                    
pagp                5                        5                    
protfilt            2                        2                    
pruning             2                        2                    
radius              2                        2                    
security            2                        2                    
snmp                2                        2                    
spantree            2                        2                    
sys                 5                        5                    
tac                 2                        2                    
tcp                 2                        2                    
telnet              2                        2                    
tftp                2                        2                    
udld                4                        4                    
vmps                2                        2                    
vtp                 2                        2                    
        
0(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.


Table 2-28: show logging Command Output Fields
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.

Related Commands

clear logging server
set logging buffer
set logging level
set logging server
set logging session
show logging buffer

show logging buffer

Use the show logging buffer command to display system messages from the internal buffer.

show logging buffer [-] [number_of_messages]

Syntax Description

-

(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

Default setting is -20, the last 20 messages in the buffer are displayed.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

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.

Examples

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 buffer
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 1 is online
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 5 is online
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 4 is online
1999 Mar 09 19:33:05 +00:00%SNMP-6:Subagent 2 connected
1999 Mar 09 19:33:05 +00:00%SNMP-5:Cold Start Trap
Console <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 configuration
Console <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 -4
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 3 failed configuration
1999 Mar 09 19:33:05 +00:00%SYS-5:Module 4 is online
1999 Mar 09 19:33:05 +00:00%SNMP-6:Subagent 2 connected
1999 Mar 09 19:33:05 +00:00%SNMP-5:Cold Start Trap
Console <enable> 
Related Commands

set logging timestamp
set logging buffer


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Oct 4 13:51:19 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.