|
|
Use the show mac command to display MAC counters.
show mac [mod_num[/port_num]]
mod_num | (Optional) Number of the module. If you do not specify a number, all modules are shown. |
/port_num | (Optional) Number of the port on the module. If you do not specify a number, all ports are shown. |
This command has no default setting.
Switch command.
Normal.
If you are using a Catalyst 2948G series switch, the Catalyst 2948G is a fixed configuration switch. All ports are located on "module 2;" for this reason, if you enter mod_num 1/N, an error message will be displayed.
This example shows how to display MAC information for port 3 on module 4:
Console> show mac 3/4MAC Rcv-Frms Xmit-Frms Rcv-Multi Xmit-Multi Rcv-Broad Xmit-Broad-------- ---------- ---------- ---------- ---------- ---------- ----------3/4 0 0 0 0 0 0MAC Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost-------- ---------- ---------- ---------- ---------- ---------- ----------3/4 0 0 0 0 0 0MAC SMT-Address Curr-Path TReq TNeg TMax TVX------- ----------------- ---------- -------- -------- -------- --------3/4 00:06:7c:b3:bc:98 primary 165000 165000 165004 250900-60-3e-cd-3d-19MAC Upstream-Nbr Downstream-Nbr Old-Upstrm-Nbr Old-Downstrm-Nbr------- ----------------- ----------------- ----------------- -----------------3/4 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:0000-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00MAC Rcv-Smt Xmit-Smt Rcv-llc Xmit-llc Tvx-Exp-Ct RingOp-Ct------- ---------- ---------- ---------- ---------- ---------- ---------- 3/4 0 0 1 61 0 1 Port Rcv-Unicast Rcv-Multicast Rcv-Broadcast -------- -------------------- -------------------- -------------------- 3/4 0 0 0 Port Xmit-Unicast Xmit-Multicast Xmit-Broadcast -------- -------------------- -------------------- -------------------- 3/4 0 0 0 Port Rcv-Octet Xmit-Octet -------- -------------------- -------------------- 3/4 0 0 Last-Time-Cleared -------------------------- Tue Apr 13 1999, 08:31:20 Console>
Table 2-35 describes possible fields displayed in the show mac command output.
| Field | Description |
|---|---|
MAC | Module and port. |
Rcv-Frms | Frames received on the port. |
Xmit-Frms | Frames transmitted on the port. |
Rcv-Multi | Multicast frames received on the port. |
Xmit-Multi | Multicast frames transmitted on the port. |
Rcv-Broad | Broadcast frames received on the port. |
Xmit-Broad | Broadcast frames transmitted on the port. |
Dely-Exced | Total transmit frames aborted due to excessive deferral. |
MTU-Exced | Frames for which the MTU size was exceeded. |
In-Discard | Incoming frames that were discarded because the frame did not need to be switched. |
Lrn-Discard | CAM entries discarded due to page full in EARL. |
In-Lost | Incoming frames that were lost before being forwarded (due to insufficient buffer space). |
On-Lost | Outgoing frames that were lost before being forwarded (due to insufficient buffer space). |
SMT-Address | SMT address of the FDDI port. |
Curr-Path | Current path used (primary or secondary). |
TReq | T-req (token rotation time request) value. |
TNeg | T-neg (negotiated token rotation time) value. |
TMax | T-max (maximum token rotation time) value. |
TVX | Value of the valid transmission timer. |
Upstream-Nbr | MAC address of the current upstream neighbor. |
Downstream-Nbr | MAC address of the current downstream neighbor. |
Old-Upstrm-Nbr | MAC address of the previous upstream neighbor. |
Old-Downstrm-Nbr | MAC address of the previous downstream neighbor. |
Rcv-Smt | Number of SMT frames received by the port. |
Xmit-Smt | Number of NSMT frames transmitted by the port. |
Rcv-llc | Number of NLLC frames received by the port. |
Xmit-llc | Number of LLC frames transmitted by the port. |
Rcv-Octet | Number of octet frames received on the port. |
Xmit-Octet | Number of octet frames transmitted on the port. |
Rcv-Unicast | Number of unicast frames received on the port. |
Rcv-Multicast | Number of multicast frames received on the port. |
Rcv-Broadcast | Number of broadcast frames received on the port. |
Xmit-Unicast | Number of unicast frames transmitted on the port. |
Xmit-Multicast | Number of multicast frames transmitted on the port. |
Xmit-Broadcast | Number of broadcast frames transmitted on the port. |
Tvx-Exp-Ct | Number of times the TVX timer expired. |
RingOp-Ct | Number of times the ring became operational. |
Last-Time-Cleared | Date and time of the last clear counters command. |
Use the show microcode command to display the version of the microcode. When you run this command on a Supervisor Engine III, this command also displays module version information.
show microcodeThis command has no arguments.
This command has no default setting.
Switch command.
Normal.
This command is not supported on the Catalyst 4000 and 2948G series switches.
This example shows the show microcode output for a Supervisor Engine I or II:
Console> show microcode EARL EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_7K 8.0 - EPLD_10K 0.0 3.0 Console>
Table 2-36 describes possible fields in the show microcode command output.
| Field | Description |
|---|---|
EARL EPLDs | Version of EARL EPLDs. |
FLASH/BOOT | Version of FLASH/BOOT. |
SRAM | Version of SRAM. |
This example shows the show microcode output for a Supervisor Engine III:
Console> show microcode NMP EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_4kctl 0.0 - EPLD_trfc 1.0 - EPLD_m36d1 5.0 - EPLD_m36in 1.0 - EPLD_ppi 0.0 - EPLD_p_msk 1.0 - EPLD_bsctl 0.0 - EPLD_p_ltl 1.0 - EARL EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_7K 4.0 - EPLD_10K 2.0 - EPLD_dec 0.0 - EPLD_parse 0.0 - EPLD_rslt1 0.0 - EPLD_rslt2 0.0 - EPLD_rslt3 0.0 - UPLINK EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_upl_ctl 0.0 - Bundled Images Version Size Built --------------- -------------------- ------- ----------------- LCP51-32 4.4(0.10) 26233 10/27/98 13:05:44 LCP51-64 4.4(0.10) 54342 10/27/98 13:09:04 MCP360 4.4(0.10) 220944 10/27/98 13:15:57 LCP360 4.4(0.10) 129196 10/27/98 13:15:50 TOKEN-RING 4.4(0.10) 31132 10/27/98 13:07:26 ATM/FDDI LCP 4.4(0.10) 25279 10/27/98 13:05:46 C5IP 4.4(0.10) 24663 10/27/98 13:09:06 TREMBLANT 181.33(0.0) 9216 BANFF 85.7(0.0) 9216 LCPXA1 4.4(0.10) 85384 10/27/98 13:15:52 LCPXA2 4.4(0.10) 57128 10/27/98 13:15:54 TATM LCP 4.4(0.10) 25340 10/27/98 13:06:37 TREMBLANT2 7.1(1.0) 9216 Console>
Table 2-37 describes possible fields in the show microcode command output.
| Field | Description |
|---|---|
EARL EPLDs | Version of EARL EPLDs. |
FLASH/BOOT | Version of FLASH/BOOT. |
SRAM | Version of SRAM. |
Bundled Images | Name of the bundled image. |
Version | Version of the image. |
Size | Size of the image. |
Built | Date image was built. |
Use the show mls command set to display MLS Layer 3 packet information in the MLS-based Catalyst 5000 and 2926G series switches.
show mls [ip | ipx]
ip | (Optional) Keyword to specify IP MLS. |
ipx | (Optional) Keyword to specify IPX MLS. |
rp | Keyword to specify a route processor. |
ip_addr | Route-processor IP address or route-processor name if DNS is used. |
noalias | (Optional) Keyword to specify all route processors are present in IP format, instead of their names. |
entry | Keyword to specify the MLS packet entry. |
qos | (Optional) Keyword to specify QoS entries. |
rp | (Optional) Keyword to specify a route processor. |
destination | (Optional) Keyword to specify the destination IP address. |
ip_addr_spec | (Optional) Full IP address or a subnet address. |
source | (Optional) Keyword to specify the source IP address. |
flow | (Optional) Keyword to specify additional flow information (protocol family and protocol port pair) to be matched. |
ipx_addr_spec | (Optional) Full IPX address or a subnet address. |
protocol | Protocol family; valid values include tcp, udp, icmp, or a decimal number for other protocol families. |
src_port | (Optional) Source port IP address; used with port_num to specify the port pair if protocol is tcp or udp. |
port_num | (Optional) TCP/UDP port number (decimal); used with src_num to specify the port pair if protocol is tcp or udp. |
dst_port | (Optional) Destination port IP address. |
include | Keyword to display all route processors currently included to run MLS. |
nde | Keyword to display NDE information. |
The default displays both IP and IPX MLS information.
Switch command.
Normal.
This command is not supported on the Catalyst 4000 and 2948G series switches.
When specifying the ip | ipx keyword, if you specify ip or do not enter a keyword, this means that the command is for IP MLS. If you specify ipx, this means the command is for IPX only.
When entering the IPX address syntax, use the following format:
When entering the ipx_addr_spec, use the full IP address or a subnet address in the following formats: src_net/[mask] or dest_net.dest_node or dest_net/mask.
When entering the ip_addr_spec, use the full IP address or a subnet address in the following formats: ip_addr or ip_addr/netmask or ip_addr/maskbit..
If you are entering any of the show mls commands on Catalyst 5000 and 2926G series switches without IP MLS, the following warning message is displayed:Multilayer switching not supported on feature card.
If you are entering any of the show mls commands on Catalyst 5000 and 2926G series switches without IPX MLS, the following warning message is displayed: IPX Multilayer switching not supported on feature card.
If you enter the show mls commands with no arguments, general IP MLS information and all IP MLS-RP information are displayed.
If DNS is disabled, no name can be specified or shown. If noalias is specified and DNS is enabled, all route-processors are presented in IP format.
A value 0 for src_port and dst_port means "don't care."
Use the following syntax to specify an IP subnet address:
When you enter the show mls entry command, the keyword destination option specifies the entries matching this destination IP address specification. The keyword source option specifies the entries matching this source IP address specification. An ip_addr_spec can be 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.
This example shows how to display IP MLS information:
Console> (enable)show mls ipTotal packets switched = 101892Total Active MLS entries = 2153IP Multilayer switching enabledIP Multilayer switching aging time = 256 secondsIP Multilayer switching fast aging time = 0 seconds, packet threshold =0IP Current flow mask is Destination flowConfigured flow mask is Destination flowActive IP MLS entries = 0Netflow Data Export enabledNetflow Data Export configured for port 8010 on host 10.0.2.15.Total packets exported = 20IP MLS-RP IP MLS-RP ID XTAG MLS-RP MAC-Vlans---------------- ------------ ---- ---------------------------------172.20.25.2 0000808cece0 20 00-80-8c-ec-e0-20 2-1500-80-8c-ec-e1-30 6600-80-8c-ec-e2-40 6700-80-8c-ec-e3-50 8800-80-8c-ec-e4-60 99172.20.27.1 0000808c1214 30 00-80-8c-12-14-20 31-4000-80-8c-12-15-30 12Console> (enable)
This example shows how to display IPX MLS information:
Console> (enable)show mls ipxIPX Multilayer switching disabledIPX Multilayer switching aging time = 256 secondsIPX flow mask is Destination flowIPX max hop is 16Active IPX MLS entries = 0IPX MLS-RP IP MLS-RP ID XTAG MLS-RP MAC-Vlans---------------- ------------ ---- ---------------------------------22.1.0.55 00906dfc5800 5 00-10-07-38-29-17 2-15,66,77,88,99 00-90-6d-fc-58-00 20-21Console> (enable)
This example shows how to display IPX MLS information for an MLS-RP:
Console> (enable) show mls rp ipx 72.0.72.199 MLS-RP IPX MLS-RP ID XTAG MLS-RP MAC-Vlans ----------------------------------------------------- 72.0.72.199 0010298a0c09 200-10-29-8a-0c-00 1,10-11,51,53,71
This example shows how to display IP MLS packet entry information:
Console> (enable) show mls entry ipLast Used Last UsedDestination IP Source IP Prot DstPrt SrcPrt Destination MacVlan Port--------------- --------------- ---- ------ ------ --------------------- -----IP MLS-RP 172.20.25.1:172.20.22.14 172.20.25.10 UDP 8050 648 00-60-70-6c-fc-224 2/1IP MLS-RP 172.20.26.1:172.20.20.15 172.20.25.148 UDP 506 5080 00-60-70-6c-fc-232 2/2IP MLS-RP 172.20.27.1:172.20.22.16 172.20.27.139 TCP DNS DNS 00-60-70-6c-fc-244 2/3172.20.21.17 172.20.27.138 TCP 7001 7003 00-60-70-6c-fc-253 2/4Console> (enable)
This example shows the display when no MLS-RPs are active:
Console> (enable) show mls entry
Last Used Last Used
Destination IP Source IP Prot DstPrt SrcPrt Destination Mac Vlan Port
--------------- --------------- ---- ------ ------ ----------------- ---- -----
No active MLS-RP.
Console> (enable)
This example shows how to display IPX MLS packet entry information:
Console> (enable)show mls entry ipxDestination IPX Source IPX net Destination Mac Vlan Port--------------- -------------------- --------------------------- ---- -----MLS-RP 72.0.72.199:1.0002.00e0.fefc.60001.000308-00-20-7a-07-7510 11/121.0003.00e0.a3a8.f7ff1.000200-10-0d-82-10-ff1 1/9Console> (enable)
This example shows how to display router IP MLS packet entry information:
Console> (enable) show mls entry ip rp 172.20.27.1
Last Used Last Used
Destination IP Source IP Prot DstPrt SrcPrt Destination Mac Vlan Port
--------------- --------------- ---- ------ ------ ----------------- ---- -----
IP MLS-RP 172.20.27.1:
172.20.22.16172.20.27.139 TCPDNSDNS00-60-70-6c-fc-2442/3
172.20.21.17 172.20.27.138 TCP7001700300-60-70-6c-fc-2532/4
Console> (enable)
This example shows how to display router IPX MLS packet entry information:
Console>show mls entry ipx rp 72.0.72.199Destination IPX Source IPX net Destination Mac Vlan Port--------------- -------------------- --------------------------- ---- -----MLS-RP 72.0.72.199:1.0002.00e0.fefc.60001.000308-00-20-7a-07-7510 11/121.0003.00e0.a3a8.f7ff1.000200-10-0d-82-10-ff1 1/9Console> (enable)
This example shows how to display QoS packet entry information:
Console> (enable) show mls entry qos Destination IP Source IP Prot DstPrt SrcPrt QoS --------------- --------------- ---- ------ ------ --- 172.20.22.14172.20.25.10 UDP8050648 0 172.20.20.15172.20.25.148 UDP5065080 0 172.20.21.17172.20.27.138 TCP70017003 0 Console> (enable)
This example shows how to display IP MLS packet entry information for a destination IP address:
Console> (enable) show mls entry destination 172.20.22.14/24
Last Used Last Used
Destination IP Source IP Prot DstPrt SrcPrt Destination Mac Vlan Port
--------------- --------------- ---- ------ ------ ----------------- ---- -----
IP MLS-RP 172.20.25.1:
172.20.22.14172.20.25.10 UDP80 5064800-60-70-6c-fc-2242/1
IP MLS-RP 172.20.27.1:
172.20.22.16172.20.27.139 TCP DNSDNS00-60-70-6c-fc-2442/3
Console> (enable)
This example shows how to display all route processors currently included to run IP MLS:
Console> (enable) show mls include ip Included IP MLS-RP --------------------------------------- 170.67.2.13 170.67.2.12 Console> (enable)
This example shows how to display all route processors currently included to run IPX MLS:
Console> (enable) show mls include ipx Included IPX MLS-RP --------------------------------------- 170.67.2.13 170.67.2.12 Console> (enable)
This example shows how to display NDE information:
Console> (enable) show mls nde Netflow data export enabled. Netflow data export configured for UDP port 1098 on host 172.20.15.1 Source filter is 171.69.194.140/255.255.255.0 Destination port filter is 23 Total Netflow Data Export packets = 26784 Console>(enable)
set mls nde
clear mls
show mls statistics
Use the show mls debug command to generate a list of all MLS-related debugging information.
show mls debugThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Privileged.
This command is not supported on the Catalyst 4000 and 2948G series switches.
This list should be sent to technical support representatives for analysis.
This example shows how to generate a list of all MLS-related debugging information. The display contains detailed system statistics useful for troubleshooting:
Console>(enable) show mls debug
Use the show mls multicast command set to display IP multicast MLS information in the EARL3-based Catalyst 5000 series switches.
show mls multicast entry {[rp ip_addr] [vlan vlan_id] [group ip_addr]} [source ip_addr]
entry | Keyword to specify the IP multicast MLS packet entry. |
rp | (Optional) Keyword to specify a route processor. |
ip_addr | Route-processor IP address or route-processor name if DNS is used. |
vlan | (Optional) Keyword to specify a VLAN. |
vlan_id | VLAN ID. |
group | (Optional) Keyword to specify a multicast group address. |
source | (Optional) Keyword to specify a multicast traffic source. |
all | (Optional) Keyword to specify all IP multicast MLS entries on the switch. |
short | (Optional) Keyword to specify an output appropriate for terminals that support output that is less than 80-characters wide. |
long | (Optional) Keyword to specify an output appropriate for terminals that support output that is 80-characters wide. |
ip_addr | Group IP address or route-processor name if DNS is used. |
include | Keyword to display all route processors currently included to run MLS. |
statistics rp | Keyword to display statistics for a route processor. |
Switch command.
Normal.
This command is not supported on the Catalyst 4000, 2948G, and 2926G series switches.
If you are entering any of the show mls multicast commands on Catalyst 5000 series switches without MLS, the following warning message is displayed:
This feature is not supported on this device.
If you enter the show mls multicast entry commands with no arguments, all the MLS entries for multicast will be displayed.
If DNS is disabled, no name can be specified or shown.
If you enter the show mls multicast include command, and there are no MLS entries downloaded from a router, only the router's ip and DNS names (if any) are displayed.
When you enter the show mls multicast entry command, the keyword rp specifies the route processor entries matching this IP address specification. The keyword vlan specifies the VLANentries matching this address specification. An ip_addr can be a full IP address or a subnet address. The keyword group specifies the group entries matching this IP address specification. If you do not specify a keyword, it is treated as a wildcard, and all entries are displayed.
This example shows how to display IP multicast MLS entries for a specific MMLS-RP and a specific multicast source address:
Console> (enable)show mls multicast entry rp 1.1.5.252 source 1.1.11.1Router IP Dest IP Source IP Pkts Bytes InVlan OutVlans---------------- ------------- ------------ ---------- ---------- -------------------------------1.1.5.252 224.1.1.1 1.1.11.1 16080 2797920 20Total Entries: 1Console> (enable)
This example shows how to display IP multicast MLS entries for a specific multicast group address:
Console> (enable)show mls multicast entry group 226.0.1.3Router IP Dest IP Source IP InVlan Pkts Bytes OutVlans-------------------------------------------------------------------------171.69.2.1 226.0.1.3 172.2.3.8 20 171 23512 10,201,22,45171.69.2.1 226.0.1.3 172.3.4.9 12 25 3120 8,20Total Entries: 2Console> (enable)
This example displays the output if you have a terminal that supports output that is 80-characters wide, and you use the long keyword to improve the appearance of the show mls multicast entry command output.
Console> (enable) show mls multicast entry long Router IP Dest IP Source IP Pkts Bytes InVlan OutVlans --------------- --------------- --------------- ---------- -------------------- ---------------------------- 1.1.5.252 224.1.1.1 1.1.11.1 61557 10710918 20 1.1.9.254 224.1.1.1 1.1.12.3 44040 7662960 12 20 1.1.5.252 224.1.1.1 1.1.12.3 60840 10586160 20 Total Entries: 3 Console> (enable)
This example shows how to display all route processors currently included to run MLS
Console> (enable) show mls multicast includeRouter IP Router Name---------------------------------------------------------------------170.67.2.13gorgonzola170.67.2.12mothraConsole> (enable)
This example shows how to display statistics for a specific route processor
Console> (enable)show mls multicast statistics rp 170.67.2.12Router IP Router Name Router MAC------------------------------------------------170.67.2.12 mothra 00-10-0d-38-a4-00Transmit:Delete Notifications 10Acknowledgements: 100Flow Statistics: 500ReceiveOpen Connection Requests: 2Keep Alive Messages: 75Shortcut Messages:Shortcut Install TLV: 8Selective Delete TLV: 0Update TLV: 0Input VLAN Delete TLV: 2Output VLAN Delete TLV: 2Global Delete TLV: 1MFD Install TLV: 8MFD Delete TLV: 0Console> (enable)
set mls multicast
clear mls multicast
Use the show mls statistics command set to display MLS statistics information in the MLS-based Catalyst 5000 and 2926G series switches.
show mls statistics protocol
protocol | Keyword to display the statistics based on protocol category, such as Telnet, FCP, or WWW. |
ip | (Optional) Keyword to specify IP MLS. |
ipx | (Optional) Keyword to specify IPX MLS. |
rp | Keyword to specify a route processor. |
ip_addr | (Optional) Route-processor IP address or route-processor name if DNS is enabled. |
entry | Keyword to display statistics based on the specified option. |
destination | (Optional) Keyword to specify the destination IP address. |
ip_addr_spec | (Optional) Full IP address or a subnet address in the following formats: ip_addr or ip_addr/netmask or ip_addr/maskbit. |
source | (Optional) Keyword to specify the source IP address. |
flow | (Optional) Keyword to specify additional flow information (protocol family and protocol port pair) to be matched. |
protocol | (Optional) Keyword to specify flow information; valid values include tcp, udp, icmp, or a decimal number for other protocol families. |
src_port | (Optional) Source port IP address. |
dst_port | (Optional) Destination port IP address. |
ipx_addr_spec | (Optional) Full IPX address or a subnet address in the following formats: src_net/[mask] or dest_net.dest_node or dest_net/mask. |
Switch command.
Normal.
This command is not supported on the Catalyst 4000 and 2948G series switches.
When specifying the ip | ipx keyword, if you specify ip or do not enter a keyword, this means that the command is for IP MLS. If you specify ipx, this means the command is for IPX only.
When entering the IPX address syntax, use the following format:
If you are entering any of the show mls statistics commands on Catalyst 5000 and 2926G series switches without MLS, the following warning message is displayed:
MLS not supported on feature card.If you enter the show mls statistics protocol command, the statistics in the protocol category, such as Telnet, FTP, or WWW are displayed. Note that this applies for "full flowmask" only.
A value 0 for src_port and dst_port means "don't care." Note that this applies for "full flowmask" only.
Use the following syntax to specify an IP subnet address:
This example shows how to display the statistics for all protocol categories:
console>(enable) show mls statistics protocol Protocol TotalFlows TotalPackets Total Bytes ------- ---------- -------------- ------------ Telnet 900 630 4298 FTP 688 2190 3105 WWW 389 42679 623686 SMTP 802 4966 92873 X 142 2487 36870 DNS 1580 52 1046 Others 82 1 73 Total 6583 53005 801951 Console> (enable)
This example shows how to display the statistics for all protocol categories for all MLS-RPs:
Console>(enable) show mls statistics rpTotal packets switched = 3152Active IP MLS entries = 0Total packets exported= 0Total switchedMLS-RP IP MLS-RP ID packets bytes--------------- ------------ ---------- ------------172.20.25.2 0000808cece0 3152 347854 172.20.27.1 000080a36c32 4332 532456 Console>
This example shows how to display IPX MLS statistics for all MLS-RPs:
Console> (enable) show mls statistics ipx rp
Total packets switched = 212540292
Active IPX MLS entries = 16
Total switched
MLS-RP IP MLS-RP ID packets bytes
--------------- ------------ ---------- ------------
10.20.26.64 00e0fefc6000 877192 803473584
Console> (enable)
This example shows how to display the statistics for a specific destination IP address:
Console> show mls statistics entry destination 172.20.22.14Last Used Last UsedDestination IP Source IP Prot DstPrt SrcPrt Stat-Pkts Stat-Bytes--------------- --------------- ---- ------ ------ ---------- ---------------172.20.22.14 172.20.25.10 6 50648 80 3152 347854 Console>
This example shows how to display the statistics for a specific destination IPX address:
Console>show mls statistics entry ipx destination 1.0002.00e0.fefc.6000Destination IPX Source IPX net Stat-Pkts Stat-Bytes------------------------- -------------- ---------- ----------MLS-RP 10.20.26.64:1.0002.00e0.fefc.6000 1.0003 11 521Console>
This example shows the display when no MLS-RPs are active:
Console>show mls statistics entry ipx destination 52.0.0.3Destination IPX Source IPX net Stat-Pkts Stat-Bytes------------------------- -------------- ---------- ----------No active MLS-RP.Console>
Use the show module command to display module status and information.
show module [mod_num]
mod_num | (Optional) Number of the module. If a number is not specified, all modules are shown. |
This command has no default setting.
Switch command.
Normal.
If you remove a module and replace it with a different type module, a message appears in the show module display that states that the module configuration is inconsistent with the current module type. To clear the message, you can either enter the clear config mod_num command for the module or set different parameters for the new module.
For Supervisor Engine III modules, the show module command displays the supervisor engine's module number but appends the uplink daughtercard's module type and information.
For Catalyst 4000 series switches, the show module command displays the supervisor engine as having "1" slot.
For Catalyst 4000 series switches, in the show module command display, the combination of the 32-port module (WS-X4502) and 4-port 100FX daughtercard results in an entry that reads 36 ports. If the uplink daughtercard is not installed, only ports 1 through 32 are listed.
Although me1 resides on the supervisor engine module for the Catalyst 4000 and 2948G series switches, me1 port information is not displayed by the show module or show port CLI commands.
For Catalyst 2948G series switches, the show module command displays two modules, a Switching Supervisor and an Ethernet module. Both modules are internal to the box and are not removable. The show module command also displays both modules as having "1" slot.
This example shows how to display status and information for all modules on the switch (Catalyst 5000 and 2926G series switches):
Console>show moduleMod Module-Name Ports Module-Type Model Serial-Num Status--- ------------------- ----- --------------------- --------- --------- -------1 2 100BaseTX Supervisor WS-X5509 007404361 ok2 12 100BaseTX Ethernet WS-X5113 003152544 ok3 16 Token Ring WS-X5030 007381080 ok4 2 MM MIC FDDI WS-X5101 003492532 okMod MAC-Address(es) Hw Fw Sw------------------------------------------ ----- -------- -----1 00-10-14-0f-f4-00 to 00-10-14-0f-f7-ff 2.3 3.1(2) 5.1(0.59)2 00-60-3e-d1-ab-38 to 00-60-3e-d1-ab-43 1.6 1.2 4.3(0.16)3 00:05:77:05:d4:e2 to 00:05:77:05:d4:f2 1.1 1.0(117) 3.2(2)4 00-e0-1e-a9-21-19 1.1 1.1 3.1(1)Mod Sub-Type Sub-Model Sub-Serial Sub-Hw--- -------- --------- ---------- ------1 EARL 1+ WS-F5520 0007418874 1.01 uplink WS-U5531 0007464204 1.1Mod SMT User-Data T-Notify CF-St ECM-St Bypass--- -------------------------- -------- -------- --------- -------4 WorkGroup Stack 30 thru in absentConsole>
This example shows how to display status and information for module 3:
Console> show module 3Mod Slot Ports Module-Type Model Status--- ---- ----- ------------------------- ------------------- --------3 3 12 100BaseFX MM Ethernet WS-X5201R okMod Module-Name Serial-Num--- ------------------- --------------------3 00007285650Mod MAC-Address(es) Hw Fw Sw--- -------------------------------------- ------ ---------- -----------------3 00-e0-1e-38-48-cc to 00-e0-1e-38-48-d7 0.2 4.1(0.53-E 5.1(0.59))Console>
This example shows how to display status and information for the Catalyst 4000 series switch:
Console>show moduleMod Slot Ports Module-Type Model Status--- ---- ----- ------------------------- ------------------- --------1 1 0 Switching Supervisor WS-X4012 ok2 2 6 1000BaseX Ethernet WS-X4306 ok3 3 6 1000BaseX Ethernet WS-X4306 okMod Module-Name Serial-Num--- ------------------- --------------------1 JAB023806JR2 JAB0240004D3 JAB024000YYMod MAC-Address(es) Hw Fw Sw--- -------------------------------------- ------ ---------- -----------------1 00-10-7b-f8-03-00 to 00-10-7b-f8-06-ff 0.1 4.4(0.14) 5.1(0.57)2 00-10-7b-f6-b1-a8 to 00-10-7b-f6-b1-ad 0.23 00-10-7b-f6-b2-1a to 00-10-7b-f6-b2-1f 0.2Console>
This example shows how to display status and information for Catalyst 2948G series switch:
Console>show moduleMod Slot Ports Module-Type Model Status--- ---- ----- ------------------------- ------------------- --------1 1 0 Switching Supervisor WS-X2948 ok2 1 50 10/100/1000 Ethernet WS-X2948G okMod Module-Name Serial-Num--- ------------------- --------------------1 JAB023806JR2 JAB0240004DMod MAC-Address(es) Hw Fw Sw--- -------------------------------------- ------ ---------- -----------------1 00-10-7b-f4-e6-00 to 00-10-7b-f4-e9-ff 0.1 4.4(0.14) 5.1(0.57)2 00-10-7b-f4-e9-9e to 00-10-7b-f4-e9-fd 0.1Console>
Table 2-38 describes the possible fields in the show module command output.
| Field | Description |
|---|---|
Mod | Module number. |
Slot | Slot number. |
Module-Name | Name, if configured, of the module. |
Ports | Number of ports on the module. |
Module-Type | Module type (such as 10BaseT Ethernet or Token Ring). |
Model | Model number of the module. |
Serial-Num | Serial number of the module. |
Status | Status of the module. Possible status strings are ok, disable, faulty, other, standby, error. |
MAC-Address(es) | MAC address or MAC address range for the module. Token Ring module MAC addresses appear in noncanonical format. |
Hw | Hardware version of the module1. |
Fw | Firmware version of the module2. |
Sw | Software version on the module. |
SMT User-Data | User-data string defined for the FDDI module. |
T-Notify | T-Notify timer value configured for the FDDI module. |
CF-St | Configuration management state of the FDDI module. |
ECM-St | Entity Coordination Management state of the FDDI module. |
Bypass | Status of whether an optical bypass switch is present. |
Sub-Type3 | Submodule type. |
Sub-Model3 | Model number of the submodule. |
Sub-Serial3 | Serial number of the submodule. |
Sub-Hw3 | Hardware version of the submodule. |
Use the show moduleinit command to display contents of the information stored in the system module bringup log.
show moduleinit [mod_num] [log lognum | -logcount]
mod_num | (Optional) Number of the module. If you do not specify a number, all modules are shown. |
log | (Optional) Keyword to specify a specific log. |
lognum | Number of log to display. |
-logcount | Number of previous logs to display. |
This command has no default setting.
Switch command.
Normal.
This example shows how to show the last 2 logs for module 1:
Console>show moduleinit 1 log -2Module 1: Number of Logs: 3Log #2:State 1: Entry/Exit/Elapse Time: 14721/14721/0Success_ExitState 2: Entry/Exit/Elapse Time: 14721/14721/0SuccessState 3: Entry/Exit/Elapse Time: 14721/32223/17502Success_ExitLog #3:State 1: Entry/Exit/Elapse Time: 38302/38302/0P_PortConfigTokenRingFeatures()ConfigModule()State 2: Entry/Exit/Elapse Time: 38302/38302/0SuccessState 3: Entry/Exit/Elapse Time: 38302/38310/8Success_ExitConsole>
This example shows how to display the contents of a specific log for module 1:
Console>show moduleinit 1 log 2Module 1: Number of Logs: 3Log #2:State 1: Entry/Exit/Elapse Time: 14721/14721/0Success_ExitState 2: Entry/Exit/Elapse Time: 14721/14721/0SuccessState 3: Entry/Exit/Elapse Time: 14721/32223/17502Console>
Table 2-39 describes the possible fields in the show moduleinit command output.
| Field | Description |
|---|---|
Log # | Number of the log. |
State # | Number of the module bringup states. Output includes the entry time into and exit time from all the module bringup states, along with the elapsed time, in milliseconds. |
Use the show mpoa client command to display a summary of information regarding one or all MPCs.
show mpoa client [name mpc-name] [brief]
name mpc-name | (Optional) Keyword to specify the name of the MPC. |
brief | (Optional) Keyword to specify the output limit of the command. |
The default is that all MPC information is displayed.
Cisco IOS ATM command.
EXEC.
This command is not supported on the Catalyst 4000 and 2948G series switches.
If you omit the name keyword, the command displays information for all MPCs.
This example shows output from the show mpoa client command:
ATM#show mpoa client name ip_mpc brief MPC Name: ip_mpc, Interface: ATM1/0, State: Up MPC actual operating address: 47.00918100000000613E5A2F01.0010A6943825.00 Shortcut-Setup Count: 1, Shortcut-Setup Time: 1 Lane clients bound to MPC ip_mpc: ATM1/0.1 Discovered MPS neighbours kp-alv vcd rxPkts txPkts 47.00918100000000613E5A2F01.006070174824.00 59 30 28 2 Remote Devices known vcd rxPkts txPkts 47.00918100000000613E5A2F01.00000C5A0C5D.00 35 0 10 ATM#
Table 2-40 describes the fields in the show mpoa client output.
| Field | Description |
|---|---|
MPC Name | Name specified for the MPC. |
Interface | Interface to which the MPC is attached. |
State | Current state of the MPC. |
MPC actual operating address | ATM address of the MPC. |
Shortcut-Setup Count | Current number specified by the shortcut-frame-count command. |
Shortcut-Setup Time | Current value specified by the shortcut-frame-time command. |
Lane clients bound to MPC ip_mpc | List of LANE clients currently bound to the MPC ip_mpc. |
Discovered MPS neighbours | List of learned MPS addresses. |
kp-alv | Number of seconds until the next keepalive message should be received. |
vcd | Number that identifies the virtual connection. |
rxPkts | Number of packets received from the learned MPS. |
txPkts | Number of packets transmitted to the learned MPS. |
Remote Devices known | List of other devices (typically other MPCs) not in this ELAN. |
vcd | Number that identifies the virtual connection to that MPC. |
rxPkts | Number of packets received from the learned remote device. |
txPkts | Number of packets transmitted to the learned remote device. |
Use the show mpoa client cache command to display the ingress or egress cache entries matching the IP addresses for the MPCs.
show mpoa client [name mpc-name] cache [ingress | egress] [ip-address ip-address]
name mpc-name | (Optional) Keyword to specify the name of the MPC. |
ingress | (Optional) Keyword to display ingress cache entries associated with an MPC. |
egress | (Optional) Keyword to display egress cache entries associated with an MPC. |
ip-address ip-address | (Optional) Keyword to display cache entries that match the specified IP address. |
The system defaults are:
Cisco IOS ATM command.
EXEC.
This command is not supported on the Catalyst 4000 and 2948G series switches.
The more optional parameters specified, the more filtering is applied to the show command.
This example shows output from the show mpoa client cache command for a specific MPC:
ATM#show mpoa client ip_mpc cache MPC Name: ip-mpc, Interface: ATM1/0, State: Up MPC actual operating address: 47.00918100000000613E5A2F01.0010A6943825.00 Shortcut-Setup Count: 1, Shortcut-Setup Time: 1 Number of Ingress cache entries: 1 MPC Ingress Cache Information: Dst IP addr State vcd Expires Egress MPC Atm address 20.20.20.1 RSVLD 35 11:38 47.00918100000000613E5A2F01.00000C5A0C5D.00 Number of Egress cache entries: 1 MPC Egress Cache Information: Dst IP addr Dst MAC Src MAC MPSid Elan Expires CacheId Tag 10.10.10.1 0000.0c5a.0c58 0060.7017.4820 9 2 11:55 1 1 ATM#
Table 2-41 describes the fields in the show mpoa client cache output.
| Field | Description |
|---|---|
MPC Name | Name specified for the MPC. |
Interface | Interface to which the MPC is attached. |
State | Current state of the MPC (up or down). |
MPC actual operating address | ATM address of the MPC. |
Shortcut-Setup Count | Current number specified by the shortcut-frame-count command. |
Number of Ingress cache entries | Number of entries in the ingress cache. |
MPC Ingress Cache Information: | |
Dst IP addr | IP address of the destination. |
State | State of the ingress cache entry1. |
vcd | Number that identifies the virtual connection. |
Expires | Time in minutes/seconds until the ingress cache entry expires. |
Egress MPC Atm address | ATM address of the egress MPC. |
Number of Egress cache entries | Number of entries in the egress cache. |
MPC Egress Cache Information: | |
Dst IP addr | IP address of the destination. |
Dst MAC | MAC address of the destination. |
Src MAC | MAC address of the source. |
MPSid | Unique number representing the egress MPS. |
Elan | ELAN identifier of the ELAN serving this destination IP address. |
Expires | Time in minutes/seconds until the egress cache entry expires. |
CacheID | Cache identifier. |
Tag | Tag identifier. |
| 1Valid states are initialized, trigger, refresh, hold_down, resolved, and suspended. |
Use the show mpoa client statistics command to display all the statistics collected by an MPC.
show mpoa client [name mpc-name] statistics
name mpc-name | (Optional) Keyword to specify the name of the MPC. |
The defaults are that all the statistics collected by an MPC are displayed.
Cisco IOS ATM command.
EXEC.
This command is not supported on the Catalyst 4000 and 2948G series switches.
This command displays all the statistics collected by an MPC.
This example shows output from the show mpoa client statistics command for the MPC ip_mpc:
ATM#show mpoa client name ip_mpc statistics MPC Name: ip_mpc, Interface: ATM1/0, State: Up MPC actual operating address: 47.00918100000000613E5A2F01.0010A6943825.00 Shortcut-Setup Count: 1, Shortcut-Setup Time: 1 Transmitted Received MPOA Resolution Requests 2 0 MPOA Resolution Replies 0 2 MPOA Cache Imposition Requests 0 0 MPOA Cache Imposition Replies 0 0 MPOA Cache Purge Requests 0 0 MPOA Cache Purge Replies 0 0 MPOA Trigger Request 0 0 NHRP Purge Requests 0 0 Invalid MPOA Data Packets Received: 0 ATM#
Use the show mpoa default-atm-addresses command to display the default ATM addresses for the MPC.
show mpoa default-atm-addressesThis command has no keywords or arguments.
This command has no default setting.
Cisco IOS ATM command.
EXEC.
This command is not supported on the Catalyst 4000 and 2948G series switches.
This example shows output from the show mpoa default-atm-addresses command when the switch prefix is NOT available:
ATM#show mpoa default-atm-addresses interface ATM1/0: MPOA Server: ...006070174824.** MPOA Client: ...006070174825.** note: ** is the MPS/MPC instance number in hex interface ATM2/0: MPOA Server: ...006070174844.** MPOA Client: ...006070174845.** note: ** is the MPS/MPC instance number in hex ATM#
This example shows output from the show mpoa default-atm-addresses command when the switch prefix is available:
ATM#show mpoa default-atm-addresses interface ATM1/0: MPOA Server: 47.00918100000000613E5A2F01.006070174824.** MPOA Client: 47.00918100000000613E5A2F01.006070174825.** note: ** is the MPS/MPC instance number in hex interface ATM2/0: MPOA Server: 47.100000000000000000000000.006070174844.** MPOA Client: 47.100000000000000000000000.006070174845.** note: ** is the MPS/MPC instance number in hex ATM#
Use the show multicast group command to display the multicast group configuration.
show multicast group [mac_addr] [vlan_id]
mac_addr | (Optional) Destination MAC address. |
vlan_id | (Optional) Number of the VLAN. |
There is no default setting for this command.
Switch command.
Normal.
This example shows how to display the multicast group configuration for VLAN 1:
Console> show multicast group 1 CGMP disabled IGMP disabled GMRP disabled VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] ---- ----------------- ----- ---------------------------------- 1 01-00-5e-00-01-28* 3/1,12/9 1 01-00-5e-63-7f-6f* 3/1,12/5,12/9 Total Number of Entries = 2 Console>
This example shows how to display the multicast group configuration for a specific MAC address on VLAN 5:
Console> show multicast group 01-00-5E-00-00-5C 5 CGMP disabled IGMP disabled GMRP disabled VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] ---- ----------------- ----- ---------------------------------- 5 01-00-5E-00-00-5C 3/1, 3/9 Total Number of Entries = 1 Console>
Table 2-42 describes the fields in the show multicast group command output.
| Field | Description |
|---|---|
CGMP enabled/disabled | Status of whether CGMP is enabled or disabled. |
IGMP enabled/disabled | Status of whether IGMP is enabled or disabled. |
GMRP enabled/disabled | Status of whether GMRP is enabled or disabled. |
VLAN | VLAN number. |
Dest MAC/Route Des | Group destination MAC address. |
* | Status of whether the port was configured manually as a multicast router port. |
CoS | CoS value. |
Destination Ports or VCs | List of all the ports that belong to this multicast group. Traffic destined to this group address will be forwarded on all these ports. |
Total Number of Entries | Total number of entries in the multicast group table that match the criteria specified by the command. |
clear multicast router
set cgmp
set igmp
set multicast router
show multicast router
Use the show multicast group count command to show the total count of multicast addresses (groups) in a VLAN.
show multicast group count [vlan_id]
vlan_id | (Optional) Number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the total count of multicast groups in VLAN 5:
Console> show multicast group 5 CGMP enabled IGMP disabled Total Number of Entries = 2 Console>
clear multicast router
set cgmp
set igmp
set multicast router
show multicast router
Use the show multicast router command to display which ports have CGMP-capable routers assigned to them.
show multicast router [cgmp | igmp] [mod_num/port_num] [vlan_id]
cgmp | (Optional) Keyword to display only the configuration information learned through CGMP. |
igmp | (Optional) Keyword to display only the configuration information learned through IGMP. |
mod_num | (Optional) Number of the module. |
port_num | (Optional) Number of the port on the module. |
vlan_id | (Optional) Number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
The igmp keyword is not supported by the Catalyst 4000 and 2948G series switches.
The Catalyst 2948G is a fixed configuration switch. All ports are located on "module 2;" for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.
This example show how to display the multicast router configuration:
Console> show multicast router CGMP enabled IGMP disabled Port Vlan --------- ---------------- 2/1 99 2/2 255 3/1 * 1 7/9 2,99 11/199 12/91 Total Number of Entries = 6 '*' - Configured Console>
This example show how to display the multicast router configuration for VLAN 99:
Console>show multicast router 99 CGMP enabledPort Vlan--------- ----------------2/1 997/9 2,9911/1 99Total Number of Entries = 3'*' - Configured Console>
This example shows how to display only the configuration information learned through CGMP:
Console> show multicast router cgmp
CGMP enabled
IGMP disabled
Port Vlan
--------- ----------------
2/1 99
2/2 255
7/9 2,99
11/1 99
12/9 1
Total Number of Entries = 6
'*' - Configured
Console>
Table 2-43 describes the fields in the show multicast router command output.
| Field | Description |
|---|---|
CGMP enabled | Status of whether CGMP is enabled or disabled. |
IGMP enabled | Status of whether IGMP is enabled or disabled. |
Port | Port through which a multicast router can be reached. |
* | Status of whether the port was manually configured as a multicast router port. |
Vlan | VLAN associated with the port. |
Total Number of Entries | Total number of entries in the table that match the criteria specified by the command. |
clear multicast router
set cgmp
set igmp
set multicast router
show multicast group count
Use the show netstat command to display the currently active network connections and to list statistics for the various protocols in the TCP/IP.
show netstat [tcp | udp | ip | icmp | routes | stats | interfaces]
tcp | (Optional) Keyword to show TCP statistics. |
udp | (Optional) Keyword to show UDP statistics. |
ip | (Optional) Keyword to show IP statistics. |
icmp | (Optional) Keyword to show ICMP statistics. |
routes | (Optional) Keyword to show the IP routing table. |
stats | (Optional) Keyword to show all statistics for TCP, UDP, IP, and ICMP. |
interfaces | (Optional) Keyword to show interface statistics. |
This command has no default setting.
Switch command.
Normal.
Counter information for me1 is viewed by entering the show netstat interfaces command.
This example shows how to display the current active network connections:
Console> show netstat Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 128 172.20.25.142.23 171.68.10.75.44720 ESTABLISHED tcp 0 0 *.7161 *.* LISTEN tcp 0 0 *.23 *.* LISTEN udp 0 0 *.* *.* udp 0 0 *.161 *.* udp 0 0 *.123 *.* Console>
This example shows how to display TCP statistics:
Console> show netstat tcp
tcp:
5122 packets sent
4642 data packets (102292 bytes)
28 data packets (6148 bytes) retransmitted
434 ack-only packets (412 delayed)
0 URG only packets
0 window probe packets
1 window update packet
17 control packets
7621 packets received
4639 acks (for 103883 bytes)
69 duplicate acks
0 acks for unsent data
3468 packets (15367 bytes) received in-sequence
12 completely duplicate packets (20 bytes)
0 packets with some dup. data (0 bytes duped)
4 out-of-order packets (0 bytes)
0 packets (0 bytes) of data after window
0 window probes
0 window update packets
0 packets received after close
0 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
6 connection requests
6 connection accepts
10 connections established (including accepts)
11 connections closed (including 1 drop)
2 embryonic connections dropped
4581 segments updated rtt (of 4600 attempts)
28 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts
66 keepalive timeouts
63 keepalive probes sent
3 connections dropped by keepalive
Console>
Table 2-44 describes the fields in the show netstat tcp command output.
| Field | Description |
|---|---|
packets sent | Total number of TCP packets sent. |
data packets (bytes) | Number of TCP data packets sent and the size of those packets in bytes. |
data packets (bytes) retranzmitted | Number of TCP data packets retransmitted and the size of those packets in bytes. |
ack-only packets (delayed) | Number of TCP acknowledgment-only packets sent and the number of those packets delayed. |
packets received | Total number of TCP packets received. |
acks (for x bytes) | Number of TCP acknowledgments received and the total bytes acknowledged. |
duplicate acks | Number of duplicate TCP acknowledgments received. |
acks for unsent data | Number of TCP acknowledgments received for data that was not sent. |
packets (bytes) received in-sequence | Number of TCP packets (and the size in bytes) received in sequence. |
completely duplicate packets (bytes) | Number of duplicate TCP packets (and the size in bytes) received. |
packets with some dup. data (bytes duped) | Number of TCP packets received with duplicate data (and the number of bytes of duplicated data). |
out-of-order packets (bytes) | Number of out-of-order TCP packets (and the size in bytes) received. |
packets (bytes) of data after window | Number of TCP packets (and the size in bytes) received outside of the specified data window. |
discarded for bad checksums | Number of TCP packets received and discarded that failed the checksum. |
discarded because packet too short | Number of TCP packets received and discarded that were truncated. |
connection requests | Total number of TCP connection requests sent. |
connection accepts | Total number of TCP connection accepts sent. |
connections established (including accepts) | Total number of TCP connections established, including those for which a connection accept was sent. |
connections closed (including x drops) | Total number of TCP connections closed, including dropped connections. |
retransmit timeouts | Number of timeouts that occurred when a retransmission was attempted. |
connections dropped by rexmit timeout | Number of connections dropped due to retransmission timeouts. |
keepalive timeouts | Number of keepalive timeouts that occurred. |
keepalive probes sent | Number of TCP keepalive probes sent. |
connections dropped by keepalive | Number of connections dropped. |
This example shows how to display UDP statistics:
Console> show netstat udp
udp:
0 incomplete headers
0 bad data length fields
0 bad checksums
0 socket overflows
1116 no such ports
Console>
Table 2-45 describes the fields in the show netstat udp command output.
| Field | Description |
|---|---|
incomplete headers | Number of UDP packets received with incomplete packet headers. |
bad data length fields | Number of UDP packets received with a data length field that did not match the actual length of the packet payload. |
bad checksums | Number of UDP packets received that failed the checksum. |
socket overflows | Number of socket overflows. |
no such ports | Number of UDP packets received destined for nonexistent ports. |
This example shows how to display IP statistics:
Console> show netstat ip
ip:
76894 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with header length < data size
0 with data length < header length
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 packets forwarded
0 packets not forwardable
0 redirects sent
Console>
Table 2-46 describes the fields in the show netstat ip command output.
| Field | Description |
|---|---|
total packets received | Total number of IP packets received. |
bad header checksums | Number of received IP packets that failed the checksum. |
with size smaller than minimum | Number of received IP packets that were smaller than the minimum IP packet size. |
fragments received | Number of IP packet fragments received. |
fragments dropped (dup or out of space) | Number of received IP packet fragments that were dropped because of duplicate data or buffer overflow. |
fragments dropped after timeout | Number of received IP packet fragments that were dropped. |
packets forwarded | Number of forwarded IP packets. |
packets not forwardable | Number of IP packets that the switch did not forward. |
This example shows how to display ICMP statistics:
Console> show netstat icmp
icmp:
Redirect enabled
0 calls to icmp_error
0 errors not generated 'cuz old message was icmp
Output histogram:
echo reply: 1001
1 message with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
Input histogram:
echo reply: 12
destination unreachable: 3961
echo: 1001
1001 message responses generated
Console>
Table 2-47 describes the fields in the show netstat icmp command output.
| Field | Description |
|---|---|
Redirect enabled | Status of whether ICMP redirection is enabled or disabled. |
Output histogram | Frequency distribution statistics for output ICMP packets. |
echo reply | Number of output echo reply ICMP packets. |
messages with bad code fields | Number of ICMP packets with an invalid code field. |
messages < minimum length | Number of ICMP packets with less than the minimum packet length. |
bad checksums | Number of ICMP packets that failed the checksum. |
messages with bad length | Number of ICMP packets with an invalid length. |
Input histogram | Frequency distribution statistics for input ICMP packets. |
echo reply | Number of input echo reply ICMP packets. |
destination unreachable | Number of input destination unreachable ICMP packets. |
echo | Number of input echo ICMP packets. |
message responses generated | Number of ICMP message responses the system generated. |
This example shows how to display the IP routing table:
Console> show netstat routes DESTINATION GATEWAY FLAGS USE INTERFACE default 172.16.1.201 UG 6186 sc0 172.16.0.0 172.16.25.142 U 6383 sc0 default default UH 0 sl0 Console>
Table 2-48 describes the fields in the show netstat routes command output.
| Field | Description |
|---|---|
DESTINATION | Destination IP address or network. |
GATEWAY | Next hop to the destination. |
INTERFACE | Interface out of which packets to the destination should be forwarded. |
This example shows how to display interface statistics:
Console> show netstat interface Interface InPackets InErrors OutPackets OutErrors sl0 0 0 0 0 sc0 33 0 117192 0 me1 2 0 57075 0 Interface Rcv-Octet Xmit-Octet --------- -------------------- -------------------- sc0 2389 0 me1 1172 0 sl0 0 0 Interface Rcv-Unicast Xmit-Unicast --------- -------------------- -------------------- sc0 28 0 me1 28 0 sl0 0 0 Console>
Table 2-49 describes the fields in the show netstat interface command output.
| Field | Description |
|---|---|
Interface | Interface number (sl0 is the SLIP interface; sc0 is the in-band interface; me1 is the out-of-band interface). |
InPackets | Number of input packets on the interface. |
InErrors | Number of input errors on the interface. |
OutPackets | Number of output packets on the interface. |
OutErrors | Number of output errors on the interface. |
Rcv-Octet | Number of octet frames received on the port. |
Xmit-Octet | Number of octet frames transmitted on the port. |
Rcv-Unicast | Number of unicast frames received on the port. |
Xmit-Unicast | Number of unicast frames transmitted on the port. |
Use the show ntp command to display the current NTP status.
show ntpThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current NTP status:
Console> show ntp Current time: Thu Jan 15 1999, 11:19:03 pst Timezone: 'pst', offset from UTC is -8 hours Summertime: 'pst', enabled Last NTP update: Broadcast client mode: enabled Broadcast delay: 3000 microseconds Client mode: disabled Authentication: enabledNTP-Server Server Key---------------------------------------- ----------172.20.33.140 1722033140172.20.33.114 1722033114Console>
The following information appears in the show ntp command output only if you enter the command in privileged mode:
Key Number Mode Key String---------- --------- --------------------------------1234 trusted 32423423423123123 untrusted have a smurfy day1722033114 trusted termserv-m1722033140 untrusted termserv-am
Table 2-50 describes the fields in the show ntp command output.
| Field | Description |
|---|---|
Current time | Current system time. |
Timezone | Time zone and the offset in hours from UTC. |
Summertime | Time zone for daylight saving time and whether the daylight saving time adjustment is enabled or disabled. |
Last NTP update | Time of the last NTP update. |
Broadcast client mode | Status of whether NTP broadcast-client mode is enabled or disabled. |
Broadcast delay | Configured NTP broadcast delay. |
Client mode | Status of whether NTP client mode is enabled or disabled. |
NTP-Server | List of configured NTP servers. |
clear ntp key
clear ntp server
set ntp broadcastclient
set ntp broadcastdelay
set ntp client
set ntp key
set ntp server
Use the show port command to display port status and counters.
show port [mod_num[/port_num]]
mod_num | (Optional) Number of the module. If you do not specify a number, the ports on all modules are shown. |
/port_num | (Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
In the status field for the Catalyst 5000, 4000, 2948G, and 2926G series switch ports, the following applies:
For Catalyst 4000 series switches, in the show port command display, the combination of the 32-port module (WS-X4502) and 4-port 100FX daughtercard results in a entry that reads 36 ports. If the uplink daughtercard is not installed, only ports 1 through 32 are listed.
Although me1 resides on the supervisor engine module for the Catalyst 4000 and 2948G series switches, me1 port information is not displayed by the show module or show port CLI commands.
The Catalyst 2948G is a fixed configuration switch. All ports are located on "module 2;" for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.
This example shows how to display the status and counters for port 1 on module 3 (Catalyst 5000 and 2926G series switches):
Console> (enable) show port 3/1Port Name Status Vlan Level Duplex Speed Type----- ------------------ ---------- ---------- ------ ------ ----- ------------3/1 connected 1 normal half 100 100BaseFX MMPort Security Secure-Src-Addr Last-Src-Addr Shutdown Trap IfIndex----- -------- ----------------- ----------------- -------- -------- -------3/1 disabled No disabled 58Port Broadcast-Limit Broadcast-Drop-------- --------------- --------------3/1 - 0Port Send FlowControl Receive FlowControl RxPause TxPause Unsupportedadmin oper admin oper opcodes----- -------- -------- -------- -------- ------- ------- -----------3/1 off off on on 0 0 0Port Status Channel Channel Neighbor Neighbormode status device port----- ---------- --------- ----------- ------------------------- ----------3/1 connected off not channelPort Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize----- ---------- ---------- ---------- ---------- ---------3/1 3384 16 0 0 0Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants----- ---------- ---------- ---------- ---------- --------- --------- ---------3/1 0 0 0 0 0 521 0Last-Time-Cleared--------------------------Fri Apr 16 1999, 10:00:46Console>
This example shows how to display the status and counters for port 2 on a Catalyst 4000 or 2948G series switch:
Console> show port 2Port Name Status Vlan Level Duplex Speed Type----- ------------------ ---------- ---------- ------ ------ ----- ------------2/1 connected 1 normal full 1000 1000BaseSX2/2 connected 1 normal full 1000 1000BaseSX2/3 notconnect 1 normal full 1000 No GBIC2/4 notconnect 1 normal full 1000 No GBIC2/5 notconnect 1 normal full 1000 No GBIC2/6 notconnect 1 normal full 1000 No GBICPort Security Secure-Src-Addr Last-Src-Addr Shutdown Trap IfIndex----- -------- ----------------- ----------------- -------- -------- -------2/1 disabled No disabled 902/2 disabled No disabled 912/3 disabled No disabled 922/4 disabled No disabled 932/5 disabled No disabled 942/6 disabled No disabled 95Port Send FlowControl Receive FlowControl RxPause TxPause Unsupportedadmin oper admin oper opcodes----- -------- -------- -------- -------- ------- ------- -----------2/1 desired off off off 0 0 02/2 desired off off off 0 0 02/3 desired off off off 0 0 02/4 desired off off off 0 0 02/5 desired off off off 0 0 02/6 desired off off off 0 0 0Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize----- ---------- ---------- ---------- ---------- ---------2/1 - 0 1 0 02/2 - 8 2 8 02/3 - 0 0 0 02/4 - 0 0 0 02/5 - 0 0 0 02/6 - 0 0 0 0Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants----- ---------- ---------- ---------- ---------- --------- --------- ---------2/1 0 0 0 0 1 0 02/2 0 0 0 0 1 0 02/3 0 0 0 0 0 0 02/4 0 0 0 0 0 0 02/5 0 0 0 0 0 0 02/6 0 0 0 0 0 0 0Last-Time-Cleared--------------------------Fri Apr 9 1999, 18:54:17Console>
Table 2-51 describes the possible fields (depending on the port type queried) in the show port command output.
| Field | Description |
|---|---|
Port | Module and port number. |
Name | Name (if configured) of the port. |
Status | Status of the port. For the Catalyst 5000 and 2926G series switches, possible displays are connected, notconnect, connecting, standby, faulty, inactive, shutdown, disabled, or monitor; for the Catalyst 4000 and 2948G series switches, possible displays are connected, notconnected, faulty, remfault, disable, remdisable, configerr, remcfgerr, and disagree. |
Vlan | VLANs to which the port belongs. |
Duplex | Duplex setting for the port (auto, full, fdx, half, hdx, a-half, a-hdx, a-full, or a-fdx). |
Speed | Speed setting for the port (auto, 10, 100, 155, a-10, a-100, 4, 16, a-14,or a-16). |
Type1 | Port type, for example, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, or RSM. |
Security | Status of whether port security is enabled or disabled. |
Secure-Src-Addr | Secure MAC address for the security enabled port. |
Last-Src-Addr | Source MAC address of the last packet received by the port. |
Shutdown | Status of whether the port was shut down because of security. |
Trap | Status of whether port trap is enabled or disabled. |
IfIndex | Number of the ifIndex. |
Broadcast-Limit | Broadcast threshold configured for the port. |
Broadcast-Drop | Number of broadcast/multicast packets dropped because the broadcast limit for the port was exceeded. |
Send admin | Flow-control administration. Possible settings: on indicates the local port sends flow control to the far end; off indicates the local port does not send flow control to the far end; desired indicates the local end sends flow control to the far end if the far end supports it. |
FlowControl oper | Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol. |
Receive admin | Flow-control administration. Possible settings: on indicates the local port requires the far end to send flow control; off indicates the local port does not allow the far end to send flow control; desired indicates the local end allows the far end to send flow control. |
FlowControl oper | Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol. |
RxPause | Number of Pause frames received. |
TxPause | Number of Pause frames transmitted. |
Unsupported Opcodes | Number of unsupported operating codes. |
Align-Err | Number of frames with alignment errors (frames that do not end with an even number of octets and have a bad CRC) received on the port. |
FCS-Err | The number of valid size frames with FCS error sbut no framing errors. |
Xmit-Err | Number of transmit errors that occurred on the port (indicating that the internal transmit buffer is full). |
Rcv-Err | Number of receive errors that occurred on the port (indicating that the internal receive buffer is full). |
UnderSize | Number of received frames less than 64 octets long (but are otherwise well-formed). |
Single-Coll | Number of times one collision occurred before the port transmitted a frame to the media successfully. |
Multi-Coll | Number of times multiple collisions occurred before the port transmitted a frame to the media successfully. |
Late-Coll | Number of late collisions (collisions outside the collision domain). |
Excess-Col | Number of excessive collisions that occurred on the port (indicating that a frame encountered 16 collisions and was discarded). |
Carri-Sen | Number of times the port sensed a carrier (to determine whether the cable is currently being used). |
Runts | Number of received runt frames (frames that are smaller than the minimum IEEE 802.3 frame size) on the port. |
Giants | Number of received giant frames (frames that exceed the maximum IEEE 802.3 frame size) on the port. |
Last-Time-Cleared | Last time the port counters were cleared. |
Auto-Part | The number of times the port entered the auto-partition state due to excessive consecutive collisions. |
Data-rate mismatch | The number of valid size frames experienced overrun or underrun. |
Src-addr change | The number of times the last source address changed. |
Good-bytes | The total number of octets in frames with no error. |
Short-event | The number of times activity with a duration less than the ShortEventMax Time (74-82 bit times) is dectected. |
| 1These fields will change according to the system configuration. |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Jul 19 13:22:02 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.