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

Table of Contents

show mac
show microcode
show mls
show mls debug
show mls entry
show mls include
show mls multicast entry
show mls multicast include
show mls multicast statistics rp
show mls nde
show mls rp
show mls statistics
show module
show moduleinit
show multicast group
show multicast group count
show multicast router
show netstat
show ntp

show mac

Use the show mac command to display MAC counters.

show mac [mod_num[/port_num]]

Syntax Description

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.

Default

This command has no default setting.

Supported Platforms

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

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

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.

Example

This example shows how to display MAC information for port 3 on module 4:

Console> show mac 3/4
MAC      Rcv-Frms   Xmit-Frms  Rcv-Multi  Xmit-Multi Rcv-Broad  Xmit-Broad
-------- ---------- ---------- ---------- ---------- ---------- ----------
3/4               0          0          0          0          0          0
 
MAC      Dely-Exced MTU-Exced  In-Discard Lrn-Discrd In-Lost    Out-Lost
-------- ---------- ---------- ---------- ---------- ---------- ----------
 3/4              0          0          0          0          0          0
 
MAC     SMT-Address       Curr-Path  TReq     TNeg     TMax     TVX
------- ----------------- ---------- -------- -------- -------- --------
3/4     00:06:7c:b3:bc:98 primary      165000   165000   165004     2509
        00-60-3e-cd-3d-19
 
MAC     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:00
        00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00
 
MAC     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-29 describes possible fields displayed in the show mac command output.


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

show microcode

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 microcode

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Normal.

Examples

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-30 describes possible fields in the show microcode command output.


Table 2-30: show microcode Command Output Fields (Supervisor Engine I or II)
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-31 describes possible fields in the show microcode command output.


Table 2-31: show microcode Command Output Fields (Supervisor Engine III)
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.

show mls

Use the show mls command to display IP and IPX MLS configuration and status information.

show mls [ip | ipx]

Syntax Description

ip

(Optional) Keyword to display IP MLS information.

ipx

(Optional) Keyword to display IPX MLS information.

Default

The default displays both IP and IPX MLS information.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

The ipx keyword is not supported on the Catalyst 2926G series switches.

If you enter the show mls commands with no arguments, general IP and IPX MLS information and all IP and IPX MLS-RP information are displayed.

Examples

This example shows how to display IP MLS information:

Console> (enable) show mls ip
Total packets switched = 101892
Total Active MLS entries = 2153
IP Multilayer switching enabled
IP Multilayer switching aging time = 256 seconds
IP Multilayer switching fast aging time = 0 seconds, packet threshold =0
IP Current flow mask is Destination flow
Configured flow mask is Destination flow
Active IP MLS entries = 0
Netflow Data Export enabled
Netflow Data Export configured for port 8010 on host 10.0.2.15.
Total packets exported = 20
 
IP MLS-RP IP     MLS-RP ID    XTAG MLS-RP MAC-Vlans
---------------- ------------ ---- ---------------------------------
172.20.25.2      0000808cece0 20   00-80-8c-ec-e0-20  2-15
                                   00-80-8c-ec-e1-30  66
                                   00-80-8c-ec-e2-40  67
                                   00-80-8c-ec-e3-50  88
                                   00-80-8c-ec-e4-60  99
172.20.27.1      0000808c1214 30   00-80-8c-12-14-20  31-40
                                   00-80-8c-12-15-30  12 
Console> (enable) 
 

This example shows how to display IPX MLS information:

Console> (enable) show mls ipx
IPX Multilayer switching disabled
IPX Multilayer switching aging time = 256 seconds
IPX flow mask is Destination flow
IPX max hop is 16
Active IPX MLS entries = 0
 
IPX 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-21
Console> (enable)
Related Commands

set mls nde
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde
clear mls statistics
show mls statistics

show mls debug

Use the show mls debug command to generate a list of all MLS-related debugging information.

show mls debug

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

This list should be sent to technical support representatives for analysis.

Example

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

Note The output from the show mls debug command is extensive and is only useful to your technical support representatives. For this reason, the output is not displayed in this publication.

show mls entry

Use the show mls entry command to display IP and IPX MLS cache entries.

show mls entry [ip] [qos] [rp ip_addr] [destination ip_addr_spec] [source ip_addr_spec]      [flow protocol src_port dst_port]
show mls entry [ipx] [rp ip_addr] [destination ipx_addr_spec] [source ipx_addr_spec]

Syntax Description

ip

(Optional) Keyword to display IP MLS cache entries.

qos

(Optional) Keyword to specify QoS entries.

rp

(Optional) Keyword to specify the MLS-RP.

ip_addr

IP address or host name of the MLS-RP.

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.

protocol

Protocol family; valid values include tcp, udp, icmp, or a decimal number for other protocol families.

src_port

(Optional) Source protocol port.

dst_port

(Optional) Destination protocol port.

ipx

(Optional) Keyword to display IPX MLS cache entries.

ipx_addr_spec

(Optional) Full IPX address or a network address.

Default

The default displays all IP and IPX MLS cache entries.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

The ipx keyword and related syntax are not supported on the Catalyst 2926G series switches.

If you do not specify the source or destination addresses, all entries are displayed.

When entering the ip_addr_spec, use the full IP address or a subnet address in the following formats:

When entering the IPX address syntax, use the following format:

A value of 0 for src_port or dst_port means "don't care" (the port number information is not considered).

Examples

This example shows how to display all IP MLS cache entries:

Console> (enable) show mls entry ip
                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.14    172.20.25.10    UDP  8050   648    00-60-70-6c-fc-22   
4 2/1
IP MLS-RP 172.20.26.1:
172.20.20.15    172.20.25.148   UDP  506    5080   00-60-70-6c-fc-23   
2 2/2
IP MLS-RP 172.20.27.1:
172.20.22.16    172.20.27.139   TCP  DNS    DNS    00-60-70-6c-fc-24   
4 2/3
172.20.21.17    172.20.27.138   TCP  7001   7003   00-60-70-6c-fc-25   
3 2/4
Console> (enable) 
 

This example shows how to display all IPX MLS cache entries:

Console> (enable) show mls entry ipx
Destination 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/12
1.0003.00e0.a3a8.f7ff1.000200-10-0d-82-10-ff1    1/9
Console> (enable) 
 

This example shows how to display IP MLS cache entries for a specific MLS-RP:

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 IPX MLS cache entries for a specific MLS-RP:

Console> show mls entry ipx rp 172.0.72.199
Destination IPX                 Source IPX net   Destination Mac Vlan Port
--------------- -------------------- --------------------------- ---- -----
MLS-RP 172.0.72.199:
1.0002.00e0.fefc.60001.000308-00-20-7a-07-7510   11/12
1.0003.00e0.a3a8.f7ff1.000200-10-0d-82-10-ff1    1/9
Console> (enable) 
 
 

This example shows how to display QoS-related MLS cache entries:

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

This example shows how to display IP MLS cache entries 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)
Related Commands

clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls statistics
show mls statistics

show mls include

Use the show mls include command to display information about the routers in the IP MLS-RP include list and the IPX MLS-RP include list.

show mls include [ip | ipx] [noalias]

Syntax Description

ip

(Optional) Keyword to display the IP MLS-RP include list.

ipx

(Optional) Keyword to display the IPX MLS-RP include list.

noalias

(Optional) Keyword to display IP addresses instead of host names in the output.

Default

The default displays both IP and IPX MLS-RP include list information.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

The ipx keyword is not supported on the Catalyst 2926G series switches.

Examples

This example shows how to display the IP MLS-RP include list:

Console> (enable) show mls include ip
Included IP MLS-RP
---------------------------------------
172.16.2.13
172.16.2.12
Console> (enable) 
 
 

This example shows how to display the IPX MLS-RP include list:

Console> (enable) show mls include ipx
Included IPX MLS-RP
---------------------------------------
172.16.2.13
172.16.2.12
Console> (enable) 
Related Commands

set mls nde
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde
clear mls statistics
show mls statistics

show mls multicast entry

Use the show mls multicast entry command to display IP multicast MLS cache entries.

show mls multicast entry [rp rp_ip_addr] [vlan vlan_id] [group group_ip_addr] [source      source_ip_addr] [all] [short | long]

Syntax Description

rp

(Optional) Keyword to specify a MMLS-RP.

rp_ip_addr

IP address or host name of the MMLS-RP for which to display entries.

vlan

(Optional) Keyword to specify a VLAN.

vlan_id

VLAN ID for which to display entries.

group

(Optional) Keyword to specify a multicast group address.

group_ip_addr

IP multicast group address for which to display entries.

source

(Optional) Keyword to specify a multicast traffic source.

source_ip_addr

IP address or host name of the multicast source for which to display entries.

all

(Optional) Keyword to display all IP multicast MLS entries on the switch.

short

(Optional) Keyword to specify command output for terminals that support output that is less than 80 characters wide.

long

(Optional) Keyword to specify command output for terminals that support output that is 80 characters wide.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

This command is supported on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.

If you enter the show mls multicast entry command with no arguments or keywords, all the IP multicast MLS entries are displayed.

Examples

This example shows how to display IP multicast MLS cache entries for a specific MMLS-RP and a specific multicast source address:

Console> (enable) show mls multicast entry rp 10.1.5.252 source 10.1.11.1
Router IP         Dest IP        Source IP     Pkts         Bytes       InVlan OutVlans
----------------  -------------  ------------  ----------   ----------  -----------
10.1.5.252        224.1.1.1      10.1.11.1     16080        2797920     20     
Total Entries: 1
Console> (enable)
 

This example shows how to display IP multicast MLS cache entries for a specific multicast group address:

Console> (enable)show mls multicast entry group 226.0.1.3
Router IP      Dest IP     Source IP    InVlan  Pkts   Bytes     OutVlans
----------     --------    -----------  ------- -----  -------   ----------
172.16.2.1   226.0.1.3 172.2.3.8 20 171   23512  10,201,22,45 
172.16.2.1     226.0.1.3   172.3.4.9 12     25        3120    8,20 
Total Entries: 2
Console> (enable)
Related Commands

set mls multicast
clear mls multicast include
clear mls multicast statistics

show mls multicast include

Use the show mls multicast include command to display information about the routers in the IP multicast MLS-RP include list.

show mls multicast include

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

This command is supported on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.

Examples

This example shows how to display the IP multicast MLS-RP route processors currently included to run MLS:

Console> (enable) show mls multicast include
Router IP          Router Name
---------------------------------------------------------------------
172.16.2.13gorgonzola
172.16.2.12mothra
Console> (enable)
Related Commands

set mls multicast
clear mls multicast include
clear mls multicast statistics

show mls multicast statistics rp

Use the show mls multicast statistics rp command to display IP multicast MLS statistics for MMLS-RPs.

show mls multicast statistics rp [ip_addr]

Syntax Description

ip_addr

(Optional) IP address or host name of the MMLS-RP for which to display statistics.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

This command is supported on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.

If you do not specify the IP address or host name of the MMLS-RP, statistics for all MMLS-RPs are displayed.

Example

This example shows how to display IP multicast MLS statistics for a specific MMLS-RP:

Console> (enable) show mls multicast statistics rp 172.16.2.12
Router IP     Router Name     Router MAC
------------------------------------------------
172.16.2.12   mothra          00-10-0d-38-a4-00
 
Transmit:
   Delete Notifications         10
   Acknowledgements:            100
   Flow Statistics:             500
Receive
   Open Connection Requests:    2
   Keep Alive Messages:         75
   Shortcut Messages:
   Shortcut Install TLV:        8
   Selective Delete TLV:        0
   Update TLV:                  0
   Input VLAN Delete TLV:       2
   Output VLAN Delete TLV:      2
   Global Delete TLV:           1
   MFD Install TLV:             8
   MFD Delete TLV:              0
Console> (enable) 
Related Commands

set mls multicast
clear mls multicast include
clear mls multicast statistics

show mls nde

Use the show mls nde command to display NDE configuration and status information.

show mls nde

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Normal.

Examples

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

clear mls nde
set mls nde

show mls rp

Use the show mls rp command to display information about a specific MLS-RP.

show mls rp {ip | ipx} ip_addr [noalias]

Syntax Description

ip

Keyword to display information about an MLS-RP for IP MLS.

ipx

Keyword to display information about an MLS-RP for IPX MLS.

ip_addr

IP address or host name of the MLS-RP.

noalias

(Optional) Keyword to display IP addresses instead of host names in the output.

Default

The default displays MLS-RP information for IP MLS.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

The ipx keyword is not supported on the Catalyst 2926G series switches.

Examples

This example shows how to display information about a specific IPX MLS-RP:

Console> (enable) show mls rp ipx 172.16.72.199
MLS-RP IPX        MLS-RP ID    XTAG  MLS-RP MAC-Vlans
-----------------------------------------------------
172.16.72.199    0010298a0c09    200-10-29-8a-0c-00  1,10-11,51,53,71
Console> (enable)
Related Commands

set mls nde
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde
clear mls statistics
show mls statistics

show mls statistics

Use the show mls statistics command to display IP and IPX MLS statistics information.

show mls statistics [ip | ipx] [rp ip_addr]
show mls statistics
entry [ip] [destination ip_addr_spec] [source ip_addr_spec] [flow protocol      src_port dst_port]
show mls statistics entry [ipx] [destination ipx_addr_spec] [source ipx_addr_spec]
show mls statistics
protocol

Syntax Description

ip

(Optional) Keyword to specify IP MLS.

ipx

(Optional) Keyword to specify IPX MLS.

rp

(Optional) Keyword to specify an MLS-RP.

ip_addr

IP address or host name of the MLS-RP.

entry

Keyword to display statistics for IP or IPX MLS cache entries.

destination

(Optional) Keyword to display statistics for the destination IP address.

ip_addr_spec

Full IP address or a subnet address.

source

(Optional) Keyword to display statistics for the source IP address.

flow

(Optional) Keyword to display statistics for a flow (based on protocol family and protocol port pair).

protocol

The protocol for which to display statistics; valid values include tcp, udp, icmp, or a decimal number for other protocol families.

src_port

Source protocol port for which to display statistics.

dst_port

Destination protocol port for which to display statistics.

ipx_addr_spec

(Optional) Full IPX address or a network address.

protocol

Keyword to display the statistics based on protocol (such as Telnet, FTP, or WWW).

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

The ipx keyword and related syntax are not supported on the Catalyst 2926G series switches.

If you do not specify the ip or ipx keywords, IP is assumed. If you do not specify the source or destination addresses or the flow information, all entries are displayed.

When entering the ip_addr_spec, use the full IP address or a subnet address in the following formats:

When entering the IPX address syntax, use the following format:

Th show mls statistics protocol command and the flow protocol src_port dest_port options are supported only when the flow mode is "ip-flow." A value of 0 for src_port or dst_port means "don't care" (the port number information is not considered).

Examples

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 rp
Total packets switched = 3152
Active IP MLS entries = 0
Total packets exported= 0
 
                             Total switched
MLS-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.14
                Last Used         Last    Used
Destination IP  Source IP       Prot DstPrt SrcPrt Stat-Pkts  Stat-Bytes
--------------- --------------- ---- ------ ------ ---------- ---------------
172.20.22.14    172.20.25.10    6    50648  80     3152       347854
Console> 
 

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.6000
Destination IPX           Source IPX net Stat-Pkts  Stat-Bytes
------------------------- -------------- ---------- ----------
MLS-RP 10.20.26.64:
1.0002.00e0.fefc.6000     1.0003         11         521
Console> 
Related Commands

show mls rp
set mls nde
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls nde
clear mls statistics

show module

Use the show module command to display module status and information.

show module [mod_num]

Syntax Description

mod_num

(Optional) Number of the module. If a number is not specified, all modules are shown.

Default

This command has no default setting.

Supported Platforms

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

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

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 family switches, the show module command displays the supervisor engine as having "1" slot.

For Catalyst 4000 family 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 family and 2948G switches, me1 port information is not displayed by the show module or show port CLI commands.

For Catalyst 2948G switch, 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.

Examples

This example shows how to display status and information for all modules on the switch (Catalyst 5000 family and 2926G series switches):

Console> show module
Mod Module-Name         Ports Module-Type           Model    Serial-Num Status
--- ------------------- ----- --------------------- --------- --------- -------
1                       2     100BaseTX Supervisor  WS-X5509  007404361 ok
2                       12    100BaseTX Ethernet    WS-X5113  003152544 ok
3                       16    Token Ring            WS-X5030  007381080 ok
4                       2     MM MIC FDDI           WS-X5101  003492532 ok
 
Mod 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.0
1   uplink   WS-U5531  0007464204 1.1
 
Mod SMT User-Data              T-Notify CF-St    ECM-St    Bypass
--- -------------------------- -------- -------- --------- -------
4   WorkGroup Stack            30       thru     in        absent
 
Console> 
 

This example shows how to display status and information for module 3:

Console> show module 3
Mod Slot Ports Module-Type               Model               Status
--- ---- ----- ------------------------- ------------------- --------
3   3    12    100BaseFX MM Ethernet     WS-X5201R           ok
 
Mod Module-Name         Serial-Num
--- ------------------- --------------------
3                       00007285650
 
Mod 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 family switch:

Console> show module
Mod Slot Ports Module-Type               Model               Status
--- ---- ----- ------------------------- ------------------- --------
1   1    0     Switching Supervisor      WS-X4012            ok
2   2    6     1000BaseX Ethernet        WS-X4306            ok
3   3    6     1000BaseX Ethernet        WS-X4306            ok
 
Mod Module-Name         Serial-Num
--- ------------------- --------------------
1                       JAB023806JR         
2                       JAB0240004D         
3                       JAB024000YY         
 
Mod 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.2   
3   00-10-7b-f6-b2-1a to 00-10-7b-f6-b2-1f 0.2   
Console> 
 

This example shows how to display status and information for the Catalyst2948G switch:

Console> show module
Mod Slot Ports Module-Type               Model               Status
--- ---- ----- ------------------------- ------------------- --------
1   1    0     Switching Supervisor      WS-X2948            ok
2   1 50    10/100/1000 Ethernet      WS-X2948G           ok
 
Mod Module-Name         Serial-Num
--- ------------------- --------------------
1                       JAB023806JR 
2                       JAB0240004D 
 
Mod 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.1
Console> 
 

Table 2-32 describes the possible fields in the show module command output.


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

1Hw for the supervisor engine module displays the supervisor engine module's EARL hardware version.
2Fw for the supervisor engine module displays the supervisor engine module's boot version.
3This field displays EARL information; this field is dd on the Catalyst 4000 family and 2948G switches.

show moduleinit

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]

Syntax Description

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.

Default

This command has no default setting.

Supported Platforms

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

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to show the last 2 logs for module 1:

Console> show moduleinit 1 log -2
Module 1:   Number of Logs: 3
Log #2:
State 1: Entry/Exit/Elapse Time: 14721/14721/0
  Success_Exit
State 2: Entry/Exit/Elapse Time: 14721/14721/0
  Success
State 3: Entry/Exit/Elapse Time: 14721/32223/17502
  Success_Exit
 
Log #3:
State 1: Entry/Exit/Elapse Time: 38302/38302/0
  P_PortConfigTokenRingFeatures()
  ConfigModule()
State 2: Entry/Exit/Elapse Time: 38302/38302/0
  Success
State 3: Entry/Exit/Elapse Time: 38302/38310/8
  Success_Exit
        
Console> 
 

This example shows how to display the contents of a specific log for module 1:

Console> show moduleinit 1 log 2
Module 1:   Number of Logs: 3
Log #2:
State 1: Entry/Exit/Elapse Time: 14721/14721/0
  Success_Exit
State 2: Entry/Exit/Elapse Time: 14721/14721/0
  Success
State 3: Entry/Exit/Elapse Time: 14721/32223/17502
 
Console> 

Table 2-33 describes the possible fields in the show moduleinit command output.


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

show multicast group

Use the show multicast group command to display the multicast group configuration.

show multicast group [mac_addr] [vlan_id]

Syntax Description

mac_addr

(Optional) Destination MAC address.

vlan_id

(Optional) Number of the VLAN.

Default

There is no default setting for this command.

Supported Platforms

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

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display the multicast group configuration for VLAN 1:

Console> show multicast group 1
CGMP disabled
IGMP disabled
IGMP fastleave enabled
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-34 describes the fields in the show multicast group command output.


Table 2-34: show multicast group Command Output Fields
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.

Related Commands

clear multicast router
set cgmp
set igmp
set igmp fastleave
set multicast router
show multicast router

show multicast group count

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]

Syntax Description

vlan_id

(Optional) Number of the VLAN.

Default

This command has no default setting.

Supported Platforms

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

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the total count of multicast groups in VLAN 5:

Console> show multicast group 5
CGMP enabled
IGMP disabled
 
Total Number of Entries = 2
Console> 
Related Commands

clear multicast router
set cgmp
set igmp
set multicast router
show 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]

Syntax Description

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.

Default

This command has no default setting.

Supported Platforms

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

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

The igmp keyword is not supported by the Catalyst 4000 family and 2948G switches.

The Catalyst 2948G switch 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.

Examples

This example show how to display the multicast router configuration:

Console> show multicast router
CGMP enabled
IGMP disabled
IGMP fastleave enabled
 
Port       Vlan
---------  ----------------
2/1       99
2/2       255
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 enabled
 
Port       Vlan
---------  ----------------
2/1      99
7/9      2,99
11/1  99
 
Total 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-35 describes the fields in the show multicast router command output.


Table 2-35: show multicast router Command Output Fields
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.

Related Commands

clear multicast router
set cgmp
set igmp
set igmp fastleave
set multicast router
show multicast group count

show netstat

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]

Syntax Description

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.

Default

This command has no default setting.

Supported Platforms

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

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

Counter information for me1 is viewed by entering the show netstat interfaces command.

Examples

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-36 describes the fields in the show netstat tcp command output.


Table 2-36: show netstat tcp Command Output Fields
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) retransmitted

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-37 describes the fields in the show netstat udp command output.


Table 2-37: show netstat udp Command Output Fields
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-38 describes the fields in the show netstat ip command output.


Table 2-38:
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.

show netstat ip Command Output Fields

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-39 describes the fields in the show netstat icmp command output.


Table 2-39: show netstat icmp Command Output Fields
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-40 describes the fields in the show netstat routes command output.


Table 2-40:
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.

show netstat routes Command Output Fields

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-41 describes the fields in the show netstat interface command output.


Table 2-41:
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.

show netstat interface Command Output Fields
Related Commands

set interface
set ip route

show ntp

Use the show ntp command to display the current NTP status.

show ntp

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

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

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the 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: enabled
 
NTP-Server                                Server Key
----------------------------------------  ----------
172.20.33.140                             1722033140
172.20.33.114                             1722033114
 
Console>
 

The following output appears in the show ntp command output when entered from privileged mode:

Key Number   Mode        Key String
----------   ---------   --------------------------------
1234         trusted     32423423423
123123       untrusted   have a smurfy day
1722033114   trusted     termserv-m
1722033140   untrusted   termserv-am

Table 2-42 describes the fields in the show ntp command output.


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

Related Commands

clear ntp key
clear ntp server
set ntp broadcastclient
set ntp broadcastdelay
set ntp client
set ntp key
set ntp server


hometocprevnextglossaryfeedbacksearchhelp
Posted: Tue Oct 5 10:52:17 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.