Catalyst 6500 Series Command Reference, 7.6
show ip route to show pbf-map

Table Of Contents

show ip route

show kerberos

show l2protocol-tunnel statistics

show lacp-channel

show lcperroraction

show lda

show localuser

show log

show log command

show logging

show logging buffer

show mac

show microcode

show mls

show mls acl-route

show mls cef interface

show mls cef mac

show mls cef summary

show mls entry

show mls entry cef

show mls entry netflow-route

show mls exclude protocol

show mls multicast

show mls nde

show mls netflow-route

show mls pbr-route

show mls statistics

show mls verify

show module

show moduleinit

show msfcautostate

show msmautostate

show multicast group

show multicast group count

show multicast protocols status

show multicast router

show multicast v3-group

show netstat

show ntp

show pbf

show pbf-map


2s2

show ip route

To display IP routing table entries, use the show ip route command.

show ip route [noalias]

Syntax Description

noalias

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


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the IP route table:

Console> show ip route
Fragmentation   Redirect   Unreachable
-------------   --------   -----------
enabled         enabled    enabled

Destination      Gateway          RouteMask    Flags   Use       Interface
---------------  ---------------  ----------   -----   --------  ---------
172.20.0.0       172.20.26.70     0xffff0000   U       8          sc0
default          default          0xff000000   UH      0          sl0 
Console>

Table 2-36 describes the fields in the show ip route command output.

Table 2-36 show ip route Command Output Fields

Field
Description 

Fragmentation

Current setting of IP fragmentation.

Redirect

Current setting of ICMP redirect.

Unreachable

Current setting of ICMP unreachable messages.

Destination

Destination address IP route mask.

Gateway

IP address or IP alias of the gateway router.

RouteMask

Determines which path is closer to the destination.

Flags

Route status; possible values are U=up, G=route to a Gateway, H=route to a Host, and D=Dynamically created by a redirect.

Use

Number of times a route entry was used to route packets.

Interface

Type of interface.


Related Commands

clear ip route
set ip route

show kerberos

To display the Kerberos configuration information, use the show kerberos command.

show kerberos [creds]

Syntax Description

creds

(Optional) Displays credential information only.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display Kerberos configuration information:

Console> (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
Console> (enable)

Table 2-37 describes the fields in the show kerberos command output.

Table 2-37 show kerberos Command Output Fields 

Field
Description

Kerberos Local Realm

Status of whether or not the local realm is configured.

Kerberos server entries

Status of servers entered into the switch.

Kerberos Domain<->Realm entries

Kerberos domain and realm entries.

Kerberos Clients NOT Mandatory

Status of whether or not Kerberos has been configured as mandatory on the clients.

Kerberos Credentials Forwarding Disabled

Status of whether credentials forwarding is enabled or disabled.

Kerberos Pre Authentication Method

Status of whether preauthentication is enabled or disabled.

Kerberos config key

Status of whether or not a 3DES key has been configured.

Kerberos SRVTAB entries

SRVTAB entries.


Related Commands

clear kerberos clients mandatory
clear kerberos credentials forward
clear kerberos realm
clear kerberos server
clear key config-key
set kerberos clients mandatory
set kerberos credentials forward
set kerberos local-realm
set kerberos realm
set kerberos srvtab entry
set kerberos srvtab remote
set key config-key

show l2protocol-tunnel statistics

To display Layer 2 protocol tunneling statistics for a port or range or ports, use the show l2protocol-tunnel statistics command.

show l2protocol-tunnel statistics [mod[/port]]

show l2protocol-tunnel statistics mod/port vlan vlan

Syntax Description

mod[/port]

(Optional) Number of the module and the number of the port or range of ports on the module. See the "Usage Guidelines" section for more information.

vlan

Displays Layer 2 protocol tunneling statistics on a VLAN. See the "Usage Guidelines" section for more information.

vlan

VLAN number.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a module and a port or range of ports, Layer 2 protocol tunneling statistics are displayed for all tunneling ports. If you only specify a module, Layer 2 protocol tunneling statistics are displayed for all tunneling ports on the module.

If you want to specify a VLAN, you must also specify a module number and a port number.

Examples

This example shows how to display Layer 2 protocol tunneling statistics for a range of ports:

Console> show l2protocol-tunnel statistics 7/1-2
Tunneling CoS is set to 5. 

Port                     CDP Frames Encap     CDP Frames De-encap 
------------------------ -------------------- --------------------
 7/1                                        2                    2
 7/2                                        2                    2

Port                     STP Frames Encap     STP Frames De-encap 
------------------------ -------------------- --------------------
 7/1                                        0                    0
 7/2                                        0                    0

Port                     VTP Frames Encap     VTP Frames De-encap 
------------------------ -------------------- --------------------
 7/1                                        0                    0
 7/2                                        0                    0
Console>

This example shows how to display Layer 2 protocol tunneling statistics for a port:

Console> show l2protocol-tunnel statistics 7/1  
Tunneling CoS is set to 5. 

Port                     CDP Frames Encap     CDP Frames De-encap 
------------------------ -------------------- --------------------
 7/1                                        2                    2

Port                     STP Frames Encap     STP Frames De-encap 
------------------------ -------------------- --------------------
 7/1                                        0                    0

Port                     VTP Frames Encap     VTP Frames De-encap 
------------------------ -------------------- --------------------
 7/1                                        0                    0
Console>

Related Commands

clear l2protocol-tunnel cos
clear l2protocol-tunnel statistics
set l2protocol-tunnel cos
set port l2protocol-tunnel
show port l2protocol-tunnel

show lacp-channel

To display information about the Link Aggregation Control Protocol (LACP) channel, use the show lacp-channel command.

show lacp-channel

show lacp-channel sys-id

show lacp-channel group [admin-key] [info [type] | statistics]

show lacp-channel [channel_id] [info [type] | statistics | mac]

show lacp-channel hash channel_id {{src_ip_addr [dest_ip_addr]} | dest_ip_addr | {src_mac_addr [dest_mac_addr]} | dest_mac_addr | {src_port dest_port} | dest_port}

show lacp-channel traffic [channel_id]

Syntax Description

sys-id

Displays the system identifier adopted by LACP.

group

Displays all the ports that belong to a channel.

admin-key

(Optional) Number of the administrative key; valid values are from 1 to 65535.

info

(Optional) Displays detailed LACP channel information.

type

(Optional) Name of the feature-related parameter; valid values are auxiliaryvlan, cops, dot1qtunnel, gmrp, gvrp, jumbo, protocol, qos, rsvp, spantree, trunk.

statistics

(Optional) Displays LACP statistics.

channel_id

(Optional) Number of the channel; valid values are from 769 to 896.

mac

(Optional) Specifies MAC information about the channel.

hash

Displays the outgoing port used in a channel for a specific address or Layer 4 port number.

src_ip_addr

Source IP address.

dest_ip_addr

(Optional) Destination IP address.

src_mac_addr

Source MAC address.

dest_mac_addr

(Optional) Destination MAC address.

src_port

Number of the source port; valid values are from 0 to 65535.

dest_port

Number of the destination port; valid values are from 0 to 65535.

traffic

Displays traffic utilization on channel ports.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify the admin-key value, information about all LACP channels is displayed.

If you do not specify the channel_id value, information about all LACP channels is displayed.

For differences between PAgP and LACP, refer to the "Guidelines for Port Configuration" section of the "Configuring EtherChannel" chapter of the Catalyst 6500 Series Switch Software Configuration Guide.

Examples

This example shows how to display information about all LACP channels:

Console> show lacp-channel group
Admin Key    Ports
-----------  ------
69           4/1-2                       
70           4/5-6                                          
143          2/1-2                                          
151          4/3-4                                          
152          4/7-8
Console>

This example shows how to display limited information about ports that are assigned to administrative key 152:

Console> show lacp-channel group 152
Port  Channel   Admin Ch   Partner Oper                      Partner
      Mode      Key   id   Sys ID                            Port
----- --------- ----- ---- --------------------------------- -------
 4/7   active     152   770  8000,AC-12-24-56-78-90           4/3 
 4/8   active     152   770  8000,AC-12-24-56-78-90           4/4 
Console>

This example shows how to display detailed information about ports that are assigned to administrative key 152:

Console> show lacp-channel group 152 info
I = Isolated Port.  C = Channeling Port.  N = Not Connected.
H = Hot Stand-by Port.  S = Suspended Port.

Port  LACP Port Port  Speed Duplex VLANs  Trunk status Port  STP Port PortSecurity/
      Priority  Status                                  Cost  Priority Dynamic Port
----- --------- ----- ----- ------ ------ ------------ ----- -------- ------------
 4/7  130       C      1000  full   1-1005 not-trunking    4      32             
 4/8  131       C      1000  full   1-1005 not-trunking    4      32             
Port  Admin Channel if-   Partner Oper              Partner     Partner   Partner
       Key  id      Index Sys ID                    Port Prior  Port      Oper Key
----- ----- ------- ----- ------------------------- ----------  --------  ----------
 4/7  152   770     31    800,AC-12-24-56-78-90     248          4/3       15768 		
 4/8  152   770     31    800,AC-12-24-56-78-90     249          4/4       15768
Console>

This example shows how to display LACP Tx and Rx statistics for ports that are assigned to administrative key 152:

Console> show lacp-channel group 152 statistics
Port  Admin    LACP Pkts  LACP Pkts Marker Pkts Marker Pkts LACP Pkts
       Key    Transmitted Received  Transmitted   Received    Errors      
----- ------- ----------- --------- ----------- ----------- ---------
 4/7    152           0        92         0         0         0
 4/8    152           0         0         0         0         0
Console> 

This example shows how to display all ports that are assigned to an administrative key:

Console> show lacp-channel group info
I = Isolated Port.  C = Channeling Port.  N = Not Connected.
H = Hot Stand-by Port.  S = Suspended Port.

Port  LACP Port Port  Speed Duplex VLANs  Trunk status Port  STP Port PortSecurity/
      Priority  Status                                 Cost  Priority Dynamic Port   
----- --------- ----- ----- ------ ------ ------------ ----- -------- ------------ 
 4/1  50        I     1000  full   1-1005 not-trunking     4       32
 4/2  51        I     1000  full   1-1005 not-trunking     4       32
 4/5  27        I     1000  full   1-1005 not-trunking     4       32
 4/6  28         I    1000  full   1-1005  not-trunking     4      32 
 2/1  133       C     1000  full   1-1005 not-trunking     4       32            
 2/2  134       C     1000  full   1-1005 not-trunking     4       32            
 4/3  200       C     1000  full   1-1005 not-trunking     4       32             
 4/4  201       C     1000  full   1-1005 not-trunking     4       32             
 4/7  130       C     1000  full   1-1005 not-trunking     4       32             
 4/8  131       C     1000  full   1-1005 not-trunking     4       32              

Port  Admin   Channel if-   Partner Oper                Partner    Partner  Partner
       Key    id      Index Sys ID                      Port Prior Port     Oper Key
----- ------- ------- ----- -------------------------- ----------- ------- --------
 4/1  69      0       -     0,00-00-00-00-00-00         0          3/1     0         
 4/2  69      0       -     0,00-00-00-00-00-00         0          4/5     0         
 4/5  70      0       -     0,00-00-00-00-00-00         0          7/3     0         
 4/6  70      0       -     0,00-00-00-00-00-00         0          7/4     0         
 2/1  143     768     29    1276,45-12-24-AC-78-90      34         5/1     5658
 2/2  143     768     29    1276,45-12-24-AC-78-90      35         5/2     5658
 4/3  151     769     30    13459,89-BC-24-56-78-90     200        1/1     9768
 4/4  151     769     30    13459,89-BC-24-56-78-90     201        1/2     9768
 4/7  152     770     31    8000,AC-12-24-56-78-90      248        4/3     15678   
 4/8  152     770     31    8000,AC-12-24-56-78-90      249        4/4     15768
Console>

This example shows how to display Tx and Rx statistics for all ports that are assigned to an administrative key:

Console> show lacp-channel group statistics
Port  Admin    LACP Pkts  LACP Pkts Marker Pkts Marker Pkts LACP Pkts
       Key    Transmitted Received  Transmitted   Received    Errors      
----- ------- ----------- --------- ----------- ----------- ---------
 4/1       69           0         0         0         0         0
 4/2       69           0         0         0         0         0
 4/5       70           0         0         0         0         0
 4/6       70           0         0         0         0         0
 2/1      143           0         0         0         0         0
 2/2      143           0         0         0         0         0
 4/3      151           0         0         0         0         0
 4/4      151           0         0         0         0         0
 4/7      152           0        92         0         0         0
 4/8      152           0         0         0         0         0
Console>

This example shows how to display the outgoing port for the specified source and destination IP addresses:

Console> (enable) show lacp-channel hash 808 172.20.32.10 172.20.32.66
Selected channel port:2/17
Console> (enable)

This example shows how to display traffic utilization on channel ports:

Console> (enable) show lacp-channel traffic
ChanId Port  Rx-Ucst Tx-Ucst Rx-Mcst Tx-Mcst Rx-Bcst Tx-Bcst
------ ----- ------- ------- ------- ------- ------- -------
   808  2/16   0.00%   0.00%  50.00%  75.75%   0.00%   0.00%
   808  2/17   0.00%   0.00%  50.00%  25.25%   0.00%   0.00%
   816  2/31   0.00%   0.00%  25.25%  50.50%   0.00%   0.00%
   816  2/32   0.00%   0.00%  75.75%  50.50%   0.00%   0.00%
Console> (enable)

Related Commands

clear lacp-channel statistics
set channelprotocol
set lacp-channel system-priority
set port lacp-channel
set spantree channelcost
set spantree channelvlancost
show port lacp-channel

show lcperroraction

To display how your system handles LCP errors when a module reports an ASIC problem to the Network Management Processor (NMP), use the show lcperroraction command.

show lcperroraction

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to display the action that handles an LCP error:

Console> (enable) show lcperroraction
LCP action level is: system
Console> (enable)

Related Commands

set lcperroraction

show lda

To display the ASLB configuration information, use the show lda command.

show lda [committed | uncommitted]

show lda mls entry

show lda mls entry [destination ip_addr_spec] [source ip_addr_spec] [protocol protocol]
[
src-port src_port] [dst-port dst_port] [short | long]

show lda mls statistics count

show lda mls statistics entry

show lda mls statistics entry [destination ip_addr_spec] [source ip_addr_spec]
[
protocol protocol] [src-port src_port] [dst-port dst_port]

Syntax Description

committed

(Optional) Views committed configuration information.

uncommitted

(Optional) Views configuration information that has not been committed.

mls entry

Displays the ASLB MLS entries.

destination ip_addr_spec

(Optional) Full destination IP address or a subnet address in these formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.

source ip_addr_spec

(Optional) Full source IP address or a subnet address in these formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.

protocol protocol

(Optional) Specifies additional flow information (protocol family and protocol port pair) to be matched; valid values include tcp, udp, icmp, or a decimal number for other protocol families.

src-port src_port

(Optional) Specifies the number of the TCP/UDP source port (decimal). Used with dst-port to specify the port pair if the protocol is tcp or udp. 0 indicates "do not care."

dst-port dst_port

(Optional) Specifies the number of the TCP/UDP destination port (decimal). Used with src-port to specify the port pair if the protocol is tcp or udp. 0 indicates "do not care."

short | long

(Optional) Specifies the width of the display.

count

Displays the number of active ASLB MLS entries.

mls statistics entry

Displays statistics information.


Defaults

The default displays MLS entry information in long format.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

This command is supported only on switches configured with the Supervisor Engine 1 with Layer 3 Switching Engine WS-F6K-PFC (Policy Feature Card).

Entering the destination keyword specifies the entries matching the destination IP address specification, entering the source keyword specifies the entries matching the source IP address specification, and entering an ip_addr_spec can specify a full IP address or a subnet address. If you do not specify a keyword, it is treated as a wildcard, and all entries are displayed.

When entering the ip_addr_spec value, use the full IP address or a subnet address in one of the following formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.

Entering the destination keyword specifies the entries matching the destination IP address specification, entering the source keyword specifies the entries matching the source IP address specification, and entering an ip_addr_spec can specify a full IP address or a subnet address. If you do not specify a keyword, it is treated as a wildcard, and all entries are displayed.

Use the following syntax to specify an IP subnet address:

ip_subnet_addr—This is the short subnet address format. The trailing decimal number 00 in an IP address YY.YY.YY.00 specifies the boundary for an IP subnet address. For example, 172.22.36.00 indicates a 24-bit subnet address (subnet mask 172.22.36.00/255.255.255.0), and 173.24.00.00 indicates a 16-bit subnet address (subnet mask 173.24.00.00/255.255.0.0). However, this format can identify only a subnet address with a length of 8, 16, or 24 bits.

ip_addr/subnet_mask—This is the long subnet address format. For example, 172.22.252.00/255.255.252.00 indicates a 22-bit subnet address. This format can specify a subnet address of any bit number. To provide more flexibility, the ip_addr value is allowed to be a full host address, such as 172.22.253.1/255.255.252.00.

ip_addr/maskbits—This is the simplified long subnet address format. The mask bits specify the number of bits of the network masks. For example, 172.22.252.00/22 indicates a 22-bit subnet address. The ip_addr value is allowed to be a full host address, such as 172.22.254.1/22, which has the same subnet address as 172.22.252.00/72.

If you have disabled the ASLB feature, you can view the last configuration using the show lda uncommitted command.

The short | long options give the flexibility to display the output in regular (80 characters in width) or wide screen.

If you enter the show lda mls entry or the show lda mls statistics entry command with no keywords or variables, all entries are displayed.

Examples

This example shows how to display committed ASLB information:

Console> (enable) show lda committed
Status:Committed
 
Local Director Flow:10.0.0.8/ (TCP port 8)
Router MAC:  
00-02-03-04-05-06
00-04-56-67-04-05
00-03-32-02-03-03

LD MAC:00-02-03-04-05-06
LD Router Side:
---------------
Router and LD are on VLAN 110
LD is connected to switch port 4/26 on VLAN 110
 
LD Server Side:
---------------
Server(s) and LD are on VLAN 105
LD is connected to switch port 4/40 on VLAN 105
Console> (enable) 

This example shows how to display uncommitted ASLB information:

Console> (enable) show lda uncommitted 
Status:Not Committed.

Router MAC:  
00-02-03-04-05-06
00-04-56-67-04-05
00-03-32-02-03-03

LD MAC:00-02-03-04-05-06

LD Router Side:
----------------

LD Server Side:
----------------
Console> (enable) 

Note The examples shown for the show lda mls entry commands are displayed in short format. The display in the long form exceeds the page width and cannot be shown.


This example shows how to display ASLB MLS entries in short format:

Console> (enable) show lda mls entry short
Destination-IP  Source-IP       Prot  DstPrt SrcPrt Destination-Mac   Vlan
--------------- --------------- ----- ------ ------ ----------------- ----
EDst ESrc DPort  SPort  Stat-Pkts  Stat-Bytes  Uptime   Age
---- ---- ------ ------ ---------- ----------- -------- --------
10.0.0.8        172.20.20.10    TCP  8      64     00-33-66-99-22-44 105 
ARPA ARPA -      4/25   0          0           00:00:02 00:00:05

10.0.0.8        172.20.20.11    TCP  8      64     00-33-66-99-22-44 105 
ARPA ARPA -      4/25   0          0           00:00:05 00:00:08
Console> (enable) 

This example shows how to display ASLB information for the source IP address in short format:

Console> (enable) show lda mls entry source 172.20.20.11 short
Destination-IP  Source-IP       Prot  DstPrt SrcPrt Destination-Mac   Vlan
--------------- --------------- ----- ------ ------ ----------------- ----
EDst ESrc DPort  SPort  Stat-Pkts  Stat-Bytes  Uptime   Age
---- ---- ------ ------ ---------- ----------- -------- --------
10.0.0.8        172.20.20.11    TCP  8      64     00-33-66-99-22-44 105
ARPA ARPA -      4/25   0          0           00:00:05 00:00:08
Console> (enable) 

This example shows how to display the number of active ASLB MLS entries:

Console> (enable) show lda mls statistics count 
LDA active shortcuts:20 
Console> (enable) 

This example shows how to display all ASLB MLS entry statistics:

Console> (enable) show lda mls statistics entry
                                  Last    Used
Destination IP  Source IP       Prot DstPrt SrcPrt Stat-Pkts  Stat-Bytes
--------------- --------------- ---- ------ ------ ---------- ---------------
10.0.0.8        172.20.20.10    TCP  WWW    64     636        29256       
10.0.0.8        172.20.22.10    TCP  WWW    64     0          0    
Console> (enable) 

This example shows how to display the statistics for a specific destination IP address:

Console> (enable) show lda mls statistics entry destination 172.20.22.14
                Last Used         Last    Used
Destination IP  Source IP       Prot DstPrt SrcPrt Stat-Pkts  Stat-Bytes
--------------- --------------- ---- ------ ------ ---------- ---------------
172.20.22.14    172.20.25.10    6    50648  80     3152       347854
Console> (enable) 

Related Commands

clear lda
commit lda
set lda

show localuser

To display the local user accounts for a switch, use the show localuser command.

show localuser [name]

Syntax Description

name

(Optional) Specifies the local user account.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to display all local user accounts:

Console> (enable) show localuser
Local User Authentication: enabled
Username                        Privilege Level
---------                        -------------
picard                             15
number1                            0
worf                               15
troy                               0
Console> (enable)

This example shows how to display a specific local user account:

Console> (enable) show localuser troy
Local User Authentication: enabled
Username                        Privilege Level
---------                        -------------
troy                               0
Console> (enable)

Related Commands

clear localuser
set localuser

show log

To display the error log for the system or a specific module, use the show log command.

show log [mod]

show log dump [-count]

Syntax Description

mod

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

dump

Displays dump log information.

-count

(Optional) Number of dump log entries to display.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

To display the contents of ASIC error messages as soon as they are received from SLCP or LCP, see the set logging server command.

You can use the dump keyword to display log dump information generated when certain events occur, such as memory corruption.

Examples

This example shows a partial display of the output from the show log command:

Console> show log

Network Management Processor (ACTIVE NMP) Log:
  Reset count:   10
  Re-boot History:   Mar 22 2000 10:34:09 0, Mar 17 2000 15:35:11 0
                     Mar 13 2000 17:40:16 0, Mar 13 2000 13:14:08 0
                     Mar 13 2000 11:57:30 0, Feb 24 2000 10:04:18 0
  Bootrom Checksum Failures:      0   UART Failures:                  0
  Flash Checksum Failures:        0   Flash Program Failures:         0
  Power Supply 1 Failures:        0   Power Supply 2 Failures:        0
  Swapped to CLKA:                0   Swapped to CLKB:                0
  Swapped to Processor 1:         0   Swapped to Processor 2:         0
  DRAM Failures:                  0

  Exceptions:                     0

  Last software reset by user: 3/13/2000,17:39:00

  EOBC Exceptions/Hang:            0

Heap Memory Log:
Corrupted Block = none
NVRAM log:

01. 1/25/2000,17:39:10: convertCiscoMIB:PreSac(0) checksum failed: 0xFFFF(0xE507
)

Module 3 Log:
  Reset Count:   14
  Reset History: Wed Mar 22 2000, 10:35:54
                 Fri Mar 17 2000, 15:36:57
                 Wed Mar 15 2000, 16:54:59
                 Tue Mar 14 2000, 16:02:19

<<<<output truncated >>>>

This example shows how to display dump log information:

Console> (enable) show log dump
Total logs: 1
Console> (enable) 

Table 2-38 describes the possible fields in the output from the show log command.

Table 2-38 show log Command Output Fields 

Field
Description

Network Management Processor (ACTIVE NMP) Log

Log that applies to the NMP on the supervisor engine.

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.

Swapped to CLKA

Number of times a switchover to clock A has occurred.

Swapped to CLKB

Number of times a switchover to clock B has occurred.

Swapped to Processor 1

Number of times a switchover to processor 1 has occurred.

Swapped to Processor 2

Number of times a switchover to processor 2 has occurred.

DRAM Failures

Number of times the DRAM has failed.

Exceptions:

Exceptions log.

Last software reset by user

Date of the last time the software was reset.

NVRAM log

Number of times NVRAM errors have occurred.

Reset Count

Number of times the system has reset.

Reset History

Date and times the system has reset.

Total log

Number of entries.


Related Commands

clear log

show log command

To display the command log entries, use the show log command command.

show log command [mod]

Syntax Description

mod

(Optional) Number of the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

The command log entry table is a history log of commands input to the switch from the console or Telnet.

Examples

This example shows how to display the command log for a specific module:

Console> (enable) show log command 1
 Active Command log:

001. Oct 04 09:44:35 Pid = 86 show mod
002. Oct 04 09:44:55 Pid = 86 clear log command 3
003. Oct 04 10:09:07 Pid = 86 show port membership
004. Oct 04 10:10:15 Pid = 86 en
005. Oct 04 10:10:19 Pid = 86 clear port help
006. Oct 04 10:10:47 Pid = 86 clear spantree help
007. Oct 04 10:12:42 Pid = 86 show
008. Oct 04 10:12:57 Pid = 86 show qos help
009. Oct 04 10:14:46 Pid = 86 show log 5
010. Oct 04 10:14:53 Pid = 86 show log 1
011. Oct 04 10:15:04 Pid = 86 show log command 5
012. Oct 04 10:15:08 Pid = 86 show log command 1

Console> (enable)

Related Commands

clear log command

show logging

To display the system message log information, use the show logging command.

show logging [noalias]

Syntax Description

noalias

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


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display the default system message log configuration:

Console> show logging

Logging buffer size:         500
        timestamp option:    enabled
Logging history 
Logging history 
           size:                1
           severity:            notifications(5)
Logging console:             enabled
Logging telnet:              enabled
Logging server:              disabled
        server facility:     LOCAL7
        server severity:     warnings(4)


Facility            Default Severity         Current Session Severity
-------------       -----------------------  ------------------------
acl                 7                        7
cdp                 6                        6
cops                7                        7
dtp                 7                        7
dvlan               7                        7
earl                7                        7
ethc                7                        7
filesys             7                        7
gvrp                7                        7
ip                  7                        7
kernel              7                        7
ld                  7                        7
mcast               7                        7
mgmt                7                        7
mls                 7                        7
protfilt            7                        7
pruning             7                        7
privatevlan         7                        7
qos                 7                        7
radius              7                        7
rsvp                7                        7
security            7                        7
snmp                7                        7
spantree            7                        7
sys                 7                        7
tac                 7                        7
tcp                 7                        7
telnet              7                        7
tftp                7                        7
udld                7                        7
vmps                7                        7
vtp                 7                        7


0(emergencies)        1(alerts)             2(critical)
3(errors)             4(warnings)           5(notifications)
6(information)        7(debugging)
Console> (enable)

Table 2-39 describes the fields in the show logging command output.

Table 2-39 show logging Command Output Fields

Field
Description

Logging buffered size

Size of the logging buffer.

timestamp option

Status of whether the timestamp option is enabled or disabled.

Logging history size

Size of the logging history buffer.

Logging history severity

Severity level at which point errors are logged to the history table.

Logging console

Status of whether logging to the console is enabled or disabled.

Logging telnet

Status of whether logging to the Telnet session is enabled or disabled.

Logging server

Status of whether logging to the logging server is enabled or disabled.

Facility

Name of the facility to be logged.

Server/Severity

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 console
set logging history
set logging level
set logging server
set logging session
show logging buffer

show logging buffer

To display system messages from the internal buffer, use the show logging buffer command.

show logging buffer [-] [number_of_messages]

Syntax Description

-

(Optional) Forces the display to show system messages starting from the end of the buffer.

number_of_messages

(Optional) Number of system messages to be displayed; valid values are from 1 to 1023.


Defaults

The default is -20 messages.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not enter the - keyword, system messages are displayed from the beginning of the buffer. If you do not specify the number_of_messages, all messages in the buffer are displayed.

Examples

This example shows how to display the first four system messages from the internal buffer:

Console> (enable) show logging buffer 4

1999 Dec 28 15:18:21 %SYS-1-SYS_NORMPWRMGMT:System in normal power management on
1999 Dec 28 15:18:24 %SYS-5-MOD_PWRON:Module 2 powered up
1999 Dec 28 15:18:31 %MLS-5-NDEDISABLED:Netflow Data Export disabled
1999 Dec 28 15:18:32 %MLS-5-MCAST_STATUS:IP Multicast Multilayer Switching is ed
Console> (enable) 

This example shows how to display the last four system messages from the internal buffer:

Console> (enable) show logging buffer -4
1999 Dec 28 15:18:32 %MLS-5-MCAST_STATUS:IP Multicast Multilayer Switching is ed
1999 Dec 28 15:18:32 %SYS-5-MOD_OK:Module 1 is online
1999 Dec 28 15:19:07 %SYS-5-MOD_OK:Module 2 is online
1999 Dec 28 15:19:27 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge port 2/1
Console> (enable) 

Related Commands

clear logging buffer
set logging buffer

show mac

To display MAC counters, use the show mac command.

show mac [utilization] [mod[/port]]

Syntax Description

utilization

(Optional) Displays approximated packet and byte rates.

mod/[/port]

(Optional) Number of the module and optionally, the number of the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

The