Table Of Contents
show ip route
show ip telnet
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 logging callhome
show logging callhome destination
show logging callhome from
show logging callhome reply-to
show logging callhome severity
show logging callhome smtp-server
show mac
show mac-auth-bypass
show macro
show microcode
show mls
show mls acl-route
show mls cef exact-route
show mls cef interface
show mls cef mac
show mls cef maximum-routes
show mls cef rpf
show mls cef summary
show mls entry
show mls entry cef
show mls entry netflow-route
show mls exclude protocol
show mls flowmask
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 ratelimit-info
show multicast router
show multicast v3-group
show mvrp
show mvrp statistics
show netstat
show ntp
show packet-capture
show pbf
show pbf arp-inspection
show pbf client
show pbf gw
show pbf-map
show policy
show poll
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:
Fragmentation Redirect Unreachable
------------- -------- -----------
Destination Gateway RouteMask Flags Use Interface
--------------- --------------- ---------- ----- -------- ---------
172.20.0.0 172.20.26.70 0xffff0000 U 8 sc0
default default 0xff000000 UH 0 sl0
Table 2-43 describes the fields in the show ip route command output.
Table 2-43 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 ip telnet
To display whether the Telnet server is enabled or disabled, use the show ip telnet command.
show ip telnet
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 to display the status of the Telnet server:
Console> (enable) show ip telnet
Related Commands
set ip telnet server
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
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
Srvtab Entry 1:host/niners.cisco.com@CISCO.COM 0 932423923 1 1 8 01;;8>00>50;0=0=0
Table 2-44 describes the fields in the show kerberos command output.
Table 2-44 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
------------------------ -------------------- --------------------
Port STP Frames Encap STP Frames De-encap
------------------------ -------------------- --------------------
Port VTP Frames Encap VTP Frames De-encap
------------------------ -------------------- --------------------
Port EOAM Frames Encap EOAM Frames De-encap
------------------------ -------------------- --------------------
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
------------------------ -------------------- --------------------
Port STP Frames Encap STP Frames De-encap
------------------------ -------------------- --------------------
Port VTP Frames Encap VTP Frames De-encap
------------------------ -------------------- --------------------
Port EOAM Frames Encap EOAM Frames De-encap
------------------------ -------------------- --------------------
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
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
----- --------- ----- ---- --------------------------------- -------
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
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
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
----- ------- ----------- --------- ----------- ----------- ---------
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
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
----- ------- ----------- --------- ----------- ----------- ---------
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
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%
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
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
Local Director Flow:10.0.0.8/ (TCP port 8)
Router and LD are on VLAN 110
LD is connected to switch port 4/26 on VLAN 110
Server(s) and LD are on VLAN 105
LD is connected to switch port 4/40 on VLAN 105
This example shows how to display uncommitted ASLB information:
Console> (enable) show lda uncommitted
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
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
This example shows how to display the number of active ASLB MLS entries:
Console> (enable) show lda mls statistics count
This example shows how to display all ASLB MLS entry statistics:
Console> (enable) show lda mls statistics entry
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
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
Destination IP Source IP Prot DstPrt SrcPrt Stat-Pkts Stat-Bytes
--------------- --------------- ---- ------ ------ ---------- ---------------
172.20.22.14 172.20.25.10 6 50648 80 3152 347854
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
This example shows how to display a specific local user account:
Console> (enable) show localuser troy
Local User Authentication: enabled
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:
Network Management Processor (ACTIVE NMP) Log:
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
Last software reset by user: 3/13/2000,17:39:00
01. 1/25/2000,17:39:10: convertCiscoMIB:PreSac(0) checksum failed: 0xFFFF(0xE507
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
Table 2-45 describes the possible fields in the output from the show log command.
Table 2-45 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
Normal.
Usage Guidelines
The command log entry table is a history log of commands input to the switch from the console, Telnet or SSH.
Examples
This example shows how to display the command log for a specific module:
Console> show log command
001. Jul 19 13:49:44 Pid = 174 set logg cons ena
Session Type = Console TTY = 0 Username = Location =
002. Jul 19 13:49:51 Pid = 174 en engineer
Session Type = Console TTY = 0 Username = Location =
003. Jul 19 13:50:13 Pid = 174 start_op_console
Session Type = Telnet TTY = 22542919 Username = Location=172.20.16.10
004. Jul 19 13:50:15 Pid = 174 sh int
Session Type = Telnet TTY = 22542919 Username = Location = 172.20.16.10
005. Jul 19 13:50:16 Pid = 174 ena
Session Type = SSH TTY = 2254347796 Username = cisco Location = 10.5.7.62
006. Jul 19 13:50:18 Pid = 174 sh int
Session Type = Console TTY = 0 Username = Location =
007. Jul 19 13:51:55 Pid = 174 sh log comm
Session Type = SSH TTY = 2254347796 Username = Location = 10.5.7.62
008. Jul 19 13:52:09 Pid = 174 en eng
Session Type = Telnet TTY = 22542919 Username = cisco Location = 172.20.16.10
009. Jul 19 13:52:24 Pid = 174 set feature log-command disabl
Session Type = Console TTY = 0 Username = cisco Location =
010. Jul 19 13:52:42 Pid = 174 sh log command
Session Type = Console TTY = 0 Username = Location =
011. Jul 19 13:52:55 Pid = 174 sh log comma
Session Type = Telnet TTY = 22542919 Username = cisco Location = 172.20.16.10
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:
timestamp option: enabled
severity: notifications(5)
server severity: warnings(4)
Facility Default Severity Current Session Severity
------------- ----------------------- ------------------------
0(emergencies) 1(alerts) 2(critical)
3(errors) 4(warnings) 5(notifications)
6(information) 7(debugging)
Table 2-46 describes the fields in the show logging command output.
Table 2-46 show logging Command Output Fields
Field
|
Description
|
Logging buffered size
|
Size of the logging buffer.
|
timestamp option
|
< |