|
|
Use the show snmp counters command to display SNMP counter information.
show snmp countersThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the SNMP counter information:
Console> show snmp counters mib2 SNMP group counters: snmpInPkts = 0 snmpOutPkts = 0 snmpInBadVersions = 0 snmpInBadCommunityNames = 0 snmpInBadCommunityUses = 0 snmpInASNParseErrs = 0 snmpInTooBigs = 0 snmpInNoSuchNames = 0 snmpInBadValues = 0 snmpInReadOnlys = 0 snmpInGenErrs = 0 snmpInTotalReqVars = 0 snmpInTotalSetVars = 0 snmpInGetRequests = 0 snmpInGetNexts = 0 snmpInSetRequests = 0 snmpInGetResponses = 0 snmpInTraps = 0 snmpOutTooBigs = 0 snmpOutNoSuchNames = 0 snmpOutBadValues = 0 snmpOutGenErrs = 0 snmpOutGetRequests = 0 snmpOutGetNexts = 0 snmpOutSetRequests = 0 snmpOutGetResponses = 0 snmpOutTraps = 0
Table 2-36 describes the fields in the show snmp counter command output.
| Field | Description |
|---|---|
snmpInPkts | Number of messages delivered to the SNMP entity from the transport service. |
snmpOutPkts | Number of SNMP messages passed from the SNMP protocol entity to the transport service. |
snmpInBadVersions | Number of SNMP messages delivered to the SNMP entity for an unsupported SNMP version. |
snmpInBadCommunityNames | Number of SNMP messages delivered to the SNMP entity that used an SNMP community name not known to said entity. |
snmpInBadCommunityUses | Number of SNMP messages delivered to the SNMP entity that represented an SNMP operation not allowed by the SNMP community named in the message. |
snmpInASNParseErrs | Nmber of ASN.1 or BER errors encountered by the SNMP entity when decoding received SNMP messages. |
snmpInTooBigs | Number of SNMP PDUs delivered to the SNMP protocol entity for which the value of the error-status field is \QtooBig'. |
snmpInNoSuchNames | Nmber of SNMP PDUs delivered to the SNMP protocol entity for which the value of the error-status field is \QnoSuchName'. |
snmpInBadValues | Number of SNMP PDUs delivered to the SNMP protocol entity for which the value of the error-status field is \QbadValue'. |
snmpInReadOnlys1 | Number of valid SNMP PDUs delivered to the SNMP protocol entity for which the value of the error-status field is \QreadOnly'. |
snmpInGenErrs | Number of SNMP PDUs delivered to the SNMP protocol entity for which the value of the error-status field is \QgenErr'. |
snmpInTotalReqVars | Number of MIB objects protocol entity retrieved successfully by the SNMP protocol entity as the result of receiving valid SNMP Get-Request and Get-Next PDUs. |
snmpInTotalSetVars | Number of MIB objects protocol entity altered successfully by the SNMP protocol entity as the result of receiving valid SNMP Set-Request PDUs. |
snmpInGetRequests | Number of SNMP Get-Request PDUs protocol entity accepted and processed by the SNMP protocol entity. |
snmpInGetNexts | Number of SNMP Get-Next PDUs protocol entity accepted and processed by the SNMP protocol entity. |
snmpInSetRequests | Number of SNMP Set-Request PDUs accepted and processed by the SNMP protocol entity. |
snmpInGetResponses | Number of SNMP Get-Response PDUs accepted and processed by the SNMP protocol entity. |
snmpInTraps | Number of SNMP Trap PDUs accepted and processed by the SNMP protocol entity. |
snmpOutTooBigs | Number of SNMP PDUs generated by the SNMP protocol entity for which the value of the error-status field is \QtooBig. |
snmpOutNoSuchNames | Number of SNMP PDUs generated by the SNMP protocol entity for which the value of the error-status is \QnoSuchName'. |
snmpOutBadValues | Number of SNMP PDUs generated by the SNMP protocol entity for which the value of the error-status field is \QbadValue'. |
snmpOutGenErrs | Number of SNMP PDUs generated by the SNMP protocol entity for which the value of the error-status field is \QgenErr'. |
snmpOutGetRequests | Number of SNMP Get-Request PDUs generated by the SNMP protocol entity. |
snmpOutGetNexts | Number of SNMP Get-Next PDUs generated by the SNMP protocol entity. |
snmpOutSetRequests | Number of SNMP Set-Request PDUs generated by the SNMP protocol entity. |
snmpOutGetResponses | Number of SNMP Get-Response PDUs protocol entity generated by the SNMP protocol entity. |
snmpOutTraps | Number of SNMP Trap PDUs protocol entity generated by the SNMP protocol entity. |
| 1It is a protocol error to generate an SNMP PDU that contains the value \QreadOnly' in the error-status field. This object is a means of detecting incorrect implementations of the SNMP. |
Use the show span command to display information about the current SPAN configuration:
show spanThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display SPAN information for the switch. In this example, the SPAN source is port 2/1 and the SPAN destination is port 2/12. Only transmit traffic is monitored. Normal incoming packets are disabled on the SPAN destination port. Monitoring multicast traffic is enabled.
Console> (enable) show span ---------------------------------------------------------- Destination Port 4/1 Admin Source Port 3/1-6 Oper Source Port 3/1-5 Direction transmit Incoming Packets disabled Multicast enabled ---------------------------------------------------------- Destination Port 5/1 Admin Source VLAN 2 Oper Source Port 3/1-6 Direction transmit/receive Incoming Packets enabled Multicast enabled Console> (enable)
Table 2-37 describes the fields in the show span command output.
| Field | Description |
|---|---|
Status | Status of whether SPAN is enabled or disabled. |
Admin Source | Source port or VLAN for SPAN information. |
Oper Source | Operator port or VLAN for SPAN information. |
Destination | Destination port for SPAN information. |
Direction | Status of whether transmit, receive, or transmit/receive information is monitored. |
Incoming Packets | Status of whether reception of normal incoming packets on the SPAN destination port is enabled or disabled. |
Multicast | Status of whether monitoring multicast traffic is enabled or disabled. |
Use the show spantree command to display spanning-tree information for a VLAN.
show spantree [vlan | mod_num/port_num] [active]
vlan | (Optional) Number of the VLAN. If the VLAN number is not specified, the default is VLAN 1. |
mod_num | (Optional) Number of the module. |
port_num | (Optional) Number of the port on the module. |
active | (Optional) Keyword to display only the active ports. |
This command has no default setting.
Switch command.
Normal.
If the list of channel ports exceeds the column length, the port list is split into multiple lines.
This example shows how to display the spanning-tree configuration for VLAN 1005:
Console>show spantree 1005 VLAN 1005 Spanning tree enabled Spanning tree type ieee Designated Root 00-90-2b-6a-7c-00 Designated Root Priority 8191 Designated Root Cost 4 Designated Root Port 1/1 Root Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec Bridge ID MAC ADDR 00-10-7b-f3-be-00 Bridge ID Priority 32768 Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 secPort Vlan Port-State Cost Priority Portfast Channel_id------------------------ ---- ------------- ----- -------- ---------- ----------6/5-8,6/13,6/15,6/17,6/19 1 not-connected 0 32 disabled 768Console>
Table 2-38 describes the fields in the show spantree command output .
| Field | Description |
VLAN | VLAN for which spanning-tree information is shown. |
Spanning tree | Status of whether Spanning-Tree Protocol is enabled or disabled. |
Designated Root | MAC address of the designated spanning-tree root bridge. |
Designated Root Priority | Priority of the designated root bridge. |
Designated Root Cost | Total path cost to reach the root. |
Designated Root Port | Port through which the root bridge can be reached (shown only on nonroot bridges). |
Root Max Age | Amount of time a BPDU packet should be considered valid. |
Hello Time | Number of times the root bridge sends BPDUs. |
Forward Delay | Amount of time the port spends in listening or learning mode. |
Bridge ID MAC ADDR | Bridge MAC address. |
Bridge ID Priority | Bridge priority. |
Bridge Max Age | Bridge maximum age. |
Hello Time | Amount of time the bridge sends BPDUs. |
Forward Delay | Amount of time the bridge spends in listening or learning mode. |
Port | Port number. |
Vlan | VLAN to which the port belongs. |
Port-State | Spanning-tree port state (disabled, inactive, not-connected, blocking, listening, learning, forwarding, bridging, or type-pvid-inconsistent). |
Cost | Cost associated with the port. |
Priority | Priority associated with the port. |
Portfast | Status of whether the port is configured to use the fast-start feature. |
Channel ID | Number of the channel. |
show spantree backbonefast
show spantree blockedports
show spantree portvlancost
show spantree statistics
show spantree summary
show spantree uplinkfast
Use the show spantree backbonefast command to display whether the spanning-tree Backbone Fast Convergence feature is enabled.
show spantree backbonefastThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display whether the spanning-tree Backbone Fast Convergence feature is enabled:
Console> show spantree backbonefast Backbonefast is enabled. Console>
Use the show spantree blockedports command to display only the blocked ports.
show spantree blockedports [vlan_num]
vlan_num | (Optional) Number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
If you do not specify a VLAN number, all blocked ports in the system are displayed.
This example shows how to display the blocked ports for VLAN 1002:
Console> show spantree blockedports 1002 Number of blocked ports (segments) in VLAN 1002 : 0 Console>
Use the show spantree portvlancost command to show the path cost for the VLANs on a port.
show spantree portvlancost mod_num/port_num
mod_num | Number of the module. |
port_num | Number of the port. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the path cost for the VLANs on port 2/12:
Console> show spantree portvlancost 2/12 Port 2/12 VLANs 1-1005 have path cost 19. Console>
Use the show spantree statistics command to show spanning-tree statistical information.
show spantree statistics mod_num/port_num [vlan]
mod_num | Number of the module. |
port_num | Number of the port. |
vlan | (Optional) Number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display statistical information:
Console> (enable) show spantree statistics 1/2 1005
SpanningTree enabled for vlanNo = 1005
BPDU-related parameters
port spanning tree enabled
state disabled
port_id 0xcccf
port number 0x7eb
path cost 80
message age (port/VLAN) 0(10)
designated_root 00-10-2f-52-eb-ec
designated_cost 0
designated_bridge 00-10-2f-52-eb-ec
designated_port 0xcccf
top_change_ack FALSE
config_pending FALSE
PORT based information & statistics
config bpdu's xmitted (port/VLAN) 0(0)
config bpdu's received (port/VLAN) 0(0)
tcn bpdu's xmitted (port/VLAN) 0(0)
tcn bpdu's received (port/VLAN) 0(0)
forward trans count 0
Status of Port Timers
forward delay timer INACTIVE
forward delay timer value 0
message age timer INACTIVE
message age timer value 0
topology change timer INACTIVE
topology change timer value 0
hold timer INACTIVE
hold timer value 0
delay root port timer INACTIVE
delay root port timer value 0
VLAN based information & statistics
spanningtree type ibm
spanningtree multicast address c0-00-00-00-01-00
bridge priority 32768
bridge mac address 00-10-2f-52-eb-ec
bridge hello time 2 sec
bridge forward delay 4 sec
topology change initiator: 1/0
topology change FALSE
topology change time 14
topology change detected FALSE
topology change count 0
Other port-specific info
dynamic max age transitions 0
port bpdu ok count 0
msg age expiry count 0
link loading 1
bpdu in processing FALSE
num of similar bpdus to process 0
next state 0
src mac count: 0
total src mac count 0
curr_src_mac 00-00-00-00-00-00
next_src_mac 00-00-00-00-00-00
channel_src_mac 00-00-00-00-00-00
channel src count 0
channel ok count 0
Console> (enable)
Use the show spantree summary command to display a summary of spanning-tree information.
show spantree summaryThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display a summary of spanning-tree information:
Console> show spantree summary
Summary of connected spanning tree ports by vlan
Uplinkfast disabled for bridge.
Backbonefast enabled for bridge.
Vlan Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
1 0 0 0 1 1
Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
Total 0 0 0 1 1
BackboneFast statistics
-----------------------
Number of inferior BPDUs received (all VLANs) : 0
Number of RLQ req PDUs received (all VLANs) : 0
Number of RLQ res PDUs received (all VLANs) : 0
Number of RLQ req PDUs transmitted (all VLANs) : 0
Number of RLQ res PDUs transmitted (all VLANs) : 0
Console>
Use the show spantree uplinkfast command to show the UplinkFast feature settings.
show spantree uplinkfastThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the UplinkFast feature settings:
Console> show spantree uplinkfast VLAN port list ------------------------------------------------ 1-20 1/1(fwd),1/2-1/5 21-50 1/9(fwd), 1/6-1/8, 1/10-1/12 51-100 2/1(fwd), 2/12 Console>
Use the show summertime command to display the current status of the summertime feature.
show summertimeThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current status of the summertime feature:
Console> show summertime Summertime is enabled and set to 'pst' Console>
The output indicates whether the feature is enabled or disabled and the time zone configured for use with the feature.
Use the show system command to display system information.
show systemThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
The switching bus traffic values displayed apply to a single bus.
This example shows how to display system information:
Console> show system PS1-Status PS2-Status Fan-Status Temp-Alarm Sys-Status Uptime d,h:m:s Logout ---------- ---------- ---------- ---------- ---------- -------------- --------- ok ok ok off ok 0,03:03:20 20 min PS1-Type PS2-Type Modem Baud Traffic Peak Peak-Time ------------ ------------ ------- ----- ------- ---- ------------------------- WS-CAC-1300W WS-CAC-1300W disable 9600 0% 0% Fri Nov 20 1998, 18:06:45 PS1 Capacity: 27.46 Amps PS2 Capacity: 27.46 Amps PS Configuration : PS1 and PS2 in Redundant Configuration. System Name System Location System Contact ------------------------ ------------------------ ------------------------
Table 2-39 describes the fields in the show system command output.
| Field | Description |
|---|---|
PS1-Status | Status of power supply 1 (ok, fan failed, faulty, or none). |
PS2-Status | Status of power supply 2 (ok, fan failed, faulty, or none). |
Fan-Status | Status of the fan (ok, faulty, or other). |
Temp-Alarm | Status of whether the temperature alarm is off or on. |
Sys-Status | System status (ok or faulty). Corresponds to System LED status. |
Uptime d, h:m:s | Amount of time in days, hours, minutes, and seconds, that the system has been up and running. |
Logout | Amount of time after which an idle session is disconnected. |
PS1-Type | Part number of the power supply. |
PS2-Type | Part number of the redundant power supply, if present. |
Modem | Status of the modem status (enable or disable). |
Baud | Baud rate to which the modem is set. |
Traffic | Current traffic percentage. |
Peak | Peak percentage of traffic on the backplane. |
Peak-Time | Time stamp when peak percentage was recorded. |
PS1 Capacity | Power supply 1 maximum capacity. |
PS2 Capacity | Power supply 2 maximum capacity. |
PS Configuration | Power supply configuration. |
System Name | System name. |
System Location | System location. |
System Contact | System contact information. |
set system baud
set system contact
set system location
set system modem
set system name
Use the show tacacs command to display the TACACS+ protocol configuration.
show tacacs [noalias]
noalias | (Optional) Keyword to force the display to show IP addresses, not IP aliases. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the TACACS+ protocol configuration:
Console> show tacacsLogin Authentication: Console Session Telnet Session--------------------- ---------------- ----------------tacacs disabled disabledlocal enabled(primary) enabled(primary)Enable Authentication:Console Session Telnet Session---------------------- ----------------- ----------------tacacs disabled disabledlocal enabled(primary) enabled(primary)Tacacs login attempts:3Tacacs timeout:5 secondsTacacs direct request:disabledTacacs-Server Status---------------------------------------- -------171.69.193.114 primaryConsole>
Table 2-40 describes the fields in the show tacacs command output.
| Field | Description |
|---|---|
Login authentication | Display of the login authentication types. |
Console Session | Status of whether the console session is enabled or disabled. |
Telnet Session | Status of whether the telnet session is enabled or disabled. |
Enable Authentication | Display of the enable authentication types. |
Tacacs login attempts | Number of failed login attempts allowed. |
Tacacs timeout | Time in seconds to wait for a response from the TACACS+ server. |
Tacacs direct request | Status of whether TACACS+ directed-request option is enabled or disabled. |
Tacacs-Server | IP addresses or IP aliases of configured TACACS+ servers. |
Status | Primary TACACS+ server. |
set tacacs attempts
set tacacs directedrequest
set tacacs key
set tacacs server
set tacacs timeout
Use the show test command to display the errors reported from the diagnostic tests.
show test [mod_num]
mod_num | (Optional) Number of the module. If you do not specify a number, test statistics are given for the general system as well as for the supervisor engine. |
This command has no default setting.
Switch command.
Normal.
Only error conditions are displayed. If there are no errors, PASS is displayed in the Line Card Status field.
This example shows the error display for module 2:
Console> show test 2
Module 2 : 2-port 1000BaseX Supervisor
Network Management Processor (NMP) Status: (. = Pass, F = Fail, U = Unknown)
ROM: . Flash-EEPROM: . Ser-EEPROM: . NVRAM: . EOBC Comm: .
Line Card Status for Module 2 : PASS
Port Status :
Ports 1 2
-----------
. .
Line Card Diag Status for Module 2 (. = Pass, F = Fail, N = N/A)
Module 2
Cafe II Status :
NewLearnTest: .
IndexLearnTest: .
DontForwardTest: .
DontLearnTest: .
ConditionalLearnTest: .
BadBpduTest: .
TrapTest: .
Loopback Status [Reported by Module 2] :
Ports 1 2
-----------
. .
Channel Status :
Ports 1 2
-----------
. .
This example shows the error display for module 3:
Console> show test 3
Module 3 : 12-port 1000BaseX Ethernet
Line Card Status for Module 3 : PASS
Port Status :
Ports 1 2 3 4 5 6 7 8 9 10 11 12
-----------------------------------------
. . . . . . . . . . . .
Line Card Diag Status for Module 3 (. = Pass, F = Fail, N = N/A)
Loopback Status [Reported by Module 3] :
Ports 1 2 3 4 5 6 7 8 9 10 11 12
-----------------------------------------
. . . . . . . . . . . .
Channel Status :
Ports 1 2 3 4 5 6 7 8 9 10 11 12
-----------------------------------------
. . . . . . . . . . . .
This example shows the display when errors are reported by the LCP for module 3:
Console> show test 3
Module 3 : 12-port 1000BaseX Ethernet
Line Card Status for Module 3 : FAIL
Error Device Number
------------------------------------------------------------ ------------------------
Port asic error 1,2,5,12
CPU error 0
Line Card Diag Status for Module 3 (. = Pass, F = Fail, N = N/A)
Loopback Status [Reported by Module 1] :
Ports 1 2 3 4 5 6 7 8 9 10 11 12
-----------------------------------------
. . . . . . . . . . . .
Channel Status :
Ports 1 2 3 4 5 6 7 8 9 10 11 12
-----------------------------------------
. . . . . . . . . . . .
This example shows the display if you do not specify a module:
Console> show testEnvironmental Status (. = Pass, F = Fail, U = Unknown, N = Not Present)PS1:. PS2:N PS1 Fan:. PS2 Fan:NChassis-Ser-EEPROM:. Fan:.Clock(A/B):A Clock A:. Clock B:.VTT1:. VTT2:. VTT3:.Module 1 :2-port 1000BaseX SupervisorNetwork Management Processor (NMP) Status:(. = Pass, F = Fail, U =Unknown)ROM: . Flash-EEPROM:. Ser-EEPROM:. NVRAM:. EOBC Comm:.Line Card Status for Module 1 :PASSPort Status :Ports 1 2-----------. .Line Card Diag Status for Module 1 (. = Pass, F = Fail, N = N/A)Module 1Earl IV Status :NewLearnTest: .IndexLearnTest: .DontForwardTest: .DontLearnTest: .ConditionalLearnTest: .BadBpduTest: .TrapTest: .MatchTest: .SpanTest: .CaptureTest: .Loopback Status [Reported by Module 1] :Ports 1 2-----------. .Channel Status :Ports 1 2-----------. .
Table 2-41 describes the possible fields in the show test command output. The fields shown depend on the module type queried.
| Field | Description |
|---|---|
Environmental Status | Test results that apply to the general system environment. |
PS (3.3V) | Test results for the 3.3V power supply. |
PS (12V) | Test results for the 12V power supply. |
PS (24V) | Test results for the 24V power supply. |
PS1 | Test results for power supply 1. |
PS2 | Test results for power supply 2. |
Temperature | Test results for temperature. |
Fan | Test results for the fan. |
Module # | Test results that apply to module #. The module type is indicated as well. |
Network Management Processor (NMP) Status | Test results that apply to the NMP on the supervisor engine module. |
ROM | Test results for ROM. |
Flash-EEPROM | Test results for the Flash EEPROM. |
Ser-EEPROM | Test results for serial EEPROM. |
NVRAM | Test results for the NVRAM. |
EARL Status | Fields that display the EARL status information. |
NewLearnTest | Test results for NewLearn test (EARL). |
IndexLearnTest | Test results for IndexLearn test (EARL). |
DontForwardTest | Test results for DontForward test (EARL). |
MonitorTest | Test results for Monitor test (EARL). |
DontLearn | Test results for DontLearn test (EARL). |
FlushPacket | Test results for FlushPacket test (EARL). |
ConditionalLearn | Test results for ConditionalLearn test (EARL). |
EarlLearnDiscard | Test results for EarlLearnDiscard test (EARL). |
EarlTrapTest | Test results for EarlTrap test (EARL). |
LCP Diag Status for Module 1 | Test results for the specified module. |
CPU | Test results for the CPU. |
Sprom | Test results for serial PROM. |
Bootcsum | Test results for Boot ROM checksum. |
Archsum | Test results for archive Flash checksum. |
RAM | Test results for the RAM. |
LTL | Test results for local-target logic. |
CBL | Test results for color-blocking logic. |
DPRAM | Test results for dual-port RAM. |
SAMBA | Test results for SAMBA chip. |
Saints | Test results for SAINT chips. |
Pkt Bufs | Test results for the packet buffers. |
Repeater | Test results for the repeater module. |
FLASH | Test results for the Flash. |
EOBC | Channel through which a module exchanges control messages with the other modules in the system. |
Local Power | Status of the DC converter on a module that supplies power to the entire module except the power management block on the module. |
Phoenix | Test results for the Phoenix. |
TrafficMeter | Test results for the TrafficMeter. |
UplinkSprom | Test results for the UplinkSprom. |
PhoenixSprom | Test results for the Phoenix SPROM. |
MII Status | Test results for MII ports. |
SAINT/SAGE Status | Test results for individual SAINT/SAGE chip. |
Phoenix Port Status | Test results for Phoenix ports. |
Packet Buffer Status | Test results for individual packet buffer. |
Phoenix Packet Buffer Status | Test results for Phoenix packet buffer. |
Loopback Status | Test results for the loopback test. |
Channel Status | Test results for the channel test. |
|
|