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

Table of Contents

show mls
show mls debug
show mls statistics
show module
show mpoa client
show mpoa client cache
show mpoa client statistics
show mpoa default-atm-addresses
show multicast group
show multicast group count
show multicast router
show netstat
show ntp

show mls

Use the show mls command set to display MLS Layer 3 packet information in the MLS-based Catalyst  5000 series switch.

show mls
show mls rp {ip_addr} [noalias]
show mls
entry {[destination {ip_addr_spec}] [source {ip_addr_spec}] | [flow  {protocol} {src_port [port_num]} {dst_port}]} [rp {ip_addr}]
show mls
include
show mls
nde
Syntax Description

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, rather than their names.

entry

Keyword to specify the MLS packet entry.

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_subnet_addr, ip_addr/subnet_mask, ip_addr/#subnet_mask_bits.

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; 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.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

If you are entering any of the show mls commands on a Catalyst  5000 series switch without MLS, the following warning message is displayed: MLS not supported on feature card.

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

If DNS is disabled, no name can be specified or shown. If noalias is specified, all route-processors are presented in IP format, if DNS is enabled.

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.

Examples

These examples show how to use the show mls command set:

Console> (enable) show mls
Multilayer switching enabled
Multilayer switching aging time = 1800 seconds
Multilayer switching fast aging time = 0 seconds, packet threshold = 1
Current flow mask is Full flow
Configured flow mask is destination-source flow
Total packets switched = 101892
Active entries = 2153
Netflow data export enabled
Netflow data export configured for port 8010 on host 10.0.2.15
Total packets exported = 20
MLS-RP IP         MLS-RP ID       Xtag    MLS-RP              MAC-Vlans
----------------  --------------  ------  ------------------  -----------
172.20.25.2       0000808cece0     2      00-00-80-8c-ec-e0   1-20
                                          00-00-80-8c-ec-e1   21-30
                                          00-00-80-8c-ec-e2   31-40
                                          00-00-80-8c-ec-e3   41-50
                                          00-00-80-8c-ec-e4   51-60
172.20.27.1       0000808c1214     3      00-00-80-8c-12-14   1-20,31-40
                                          00-00-80-8c-12-15   21-30
Console> (enable) 
Console> (enable) show mls entry rp 172.20.27.1
  Destination IP   Source IP     Pr    DstPt    SrcPt   Destination Mac         Vlan  Port
  --------------   ------------  ----  -------  ------  ----------------------  ----  ----
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) 
 
CConsole> (enable) show mls entry
Destination IP   Source IP     Pr    DstPt    SrcPt   Destination Mac         Vlan  Port
--------------   ------------  ----  -------  ------  ----------------------  ----  ----
MLS-RP 172.20.25.1:
172.20.22.14     172.20.25.10  UDP   80       50648   00-60-70-6c-fc-22       4     2/1
MLS-RP 172.20.26.1:
172.20.20.15     172.20.25.148 UDP   50650    80      00-60-70-6c-fc-23       2     2/2
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) 
Console> (enable) show mls entry destination 172.20.22.14/24 Destination IP Source IP Pr DstPt SrcPt Destination Mac Vlan Port -------------- ------------ ---- ------- ------ ---------------------- ---- ---- MLS-RP 172.20.25.1: 172.20.22.14 172.20.25.10 UDP 80 50648 00-60-70-6c-fc-22 4 2/1 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 Console> (enable) Console> (enable) show mls entry rp 172.20.27.1 Destination IP Source IP Pr DstPt SrcPt Destination Mac Vlan Port -------------- ------------ ---- ------- ------ ---------------------- ---- ---- MLS-RP 172.20.27.1: 172.20.22.16 172.20.27.139 TCP DNS NS 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) Console> (enable) show mls include Included MLS-RP --------------------------------------- 170.67.2.13 170.67.2.12 Console> (enable) 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

set mls nde
clear mls
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.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

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.

show mls statistics

Use the show mls statistics command set to display MLS statistics information in the MLS-based Catalyst  5000 series switch.

show mls statistics protocol
show mls statistics
rp [ip_addr] [noalias]
show mls statistics
entry [destination {ip_addr_spec}] [source {ip_addr_spec}] | [flow  {protocol} {src_port} {dst_port}]}
Syntax Description

protocol

Keyword to display the statistics based on protocol category, such as TELNET, FCP, or WWW.

rp

Keyword to specify a route processor.

ip_addr

(Optional) Route-processor IP address or route-processor name if DNS is enabled.

noalias

(Optional) Keyword to specify that all route processors are presented in IP format.

entry

Keyword to display statistics based on the specified option.

destination

(Optional) Keyword to specify the destination IP address.

ip_addr_spec

(Optional) IP subnet address or a full IP 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

(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.

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

If you are entering any of the show mls statistics commands on a Catalyst  5000 series switch 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:

Examples

These examples show how to use the show mls statistics command set:

console>(enable) show mls statistics protocol
Protocol  TotalFlows  TotalPackets     Total Bytes
-------   ---------   --------------   ------------
Telnet    900         630              4298
FTP       688         2190             43105	
WWW       389         42679            623686
SMTP      802         4966             2873
X         142         2487             6870
DNS       580         52               1046
Others    82          1                73
Total     6583        53005            801951
Console> 
 
Console>(enable) show mls statistics rp
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> 
Console> show mls statistics entry destination 172.20.22.14
                Last Used             Last Used             Total Switched
Destination IP  Source IP       Pr     SrcPt    DstPt    Packets           Bytes
--------------  --------------  -----  -------  -------  ----------------  --------------------
172.20.22.14    172.20.25.10    6      50648    80       3152              347854
Console> 
Related Commands

show mls
set mls nde
clear mls

show module

Use the show module command to display module status and information. 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.

show module [mod_num]
Syntax Description

mod_num

(Optional) Number of the module. If you do not specify a number, all modules are shown.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display status and information for all modules:

Console> show module
Mod Module-Name         Ports Module-Type           Model    Serial-Num Status
--- ------------------- ----- --------------------- --------- --------- -------
1                       2     100BaseTX Supervisor  WS-X5509  007486003 ok
3                       16    Token Ring            WS-X5030  007381080 ok
4                       2     MM MIC FDDI           WS-X5101  003492532 ok
5                       1     MM OC-3 ATM           WS-X5155  003414463 ok
 
Mod MAC-Address(es)                        Hw     Fw         Sw
--- -------------------------------------- ------ ---------- -----------------
1   00-10-0d-aa-cc-00 to 00-10-0d-aa-cf-ff 2.3    3.1(2)     4.2(0.42)
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)
5   00-e0-1e-a9-20-41                      1.2    1.3        3.2(7)
 
Mod Sub-Type Sub-Model Sub-Serial Sub-Hw
--- -------- --------- ---------- ------
1   EARL 1+  WS-F5511  0007467678 1.0
 
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 Module-Name         Ports Module-Type           Model    Serial-Num Status
--- ------------------- ----- --------------------- --------- --------- -------
3                       16    Token Ring            WS-X5030  007381080 ok
 
Mod MAC-Address(es)                        Hw     Fw         Sw
--- -------------------------------------- ------ ---------- -----------------
3   00:05:77:05:d4:e2 to 00:05:77:05:d4:f2 1.1    1.0(117)   3.2(2)
Console> 
 

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


Table 2-35: show module Command Output Fields
Field Description

Mod

Module 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 module.

Fw

Firmware version of the module.

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-Type1

Submodule type.

Sub-Model1

Model number of the submodule.

Sub-Serial1

Serial number of the submodule.

Sub-Hw1

Hardware version of the submodule.

1This field displays EARL information.

show mpoa client

Use the show mpoa client command to display a summary of information regarding one or all MPCs.

show mpoa client [name mpc-name] [brief]
Syntax Description

name mpc-name

(Optional) Keyword to specify the name of the MPC.

brief

(Optional) Keyword to specify the output limit of the command.

Default

The default is that all MPC information is displayed.

Command Type

Cisco IOS ATM command.

Command Mode

EXEC.

Usage Guideline

If you omit the name keyword, the command displays information for all MPCs.

Example

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-36 describes the fields shown in the example.


Table 2-36: show mpoa client Command Output Fields
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.

Related Command

mpoa client name


show mpoa client cache

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]
Syntax Description

name mpc-name

(Optional) Keyword to specify the name of the MPC.

ingress

(Optional) Keyword that displays ingress cache entries associated with an MPC.

egress

(Optional) Keyword that displays egress cache entries associated with an MPC.

ip-address ip-address

(Optional) Keyword that displays cache entries that match the specified IP address.

Defaults

The system defaults are:

Command Type

Cisco IOS ATM command.

Command Mode

EXEC.

Usage Guideline

The more optional parameters specified, the more filtering is applied to the show command.

Example

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-37 describes the fields shown in the example.


Table 2-37: show mpoa client cache Command Output Fields
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 entry.1

           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

MAC2 address of the destination.

           Src MAC

MAC address of the source.

           MPSid

Unique number representing the egress MPS.

           Elan

ELAN3 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.
2MAC=Media Access Control
3ELAN=Emulated LAN

Related Command

clear mpoa client cache

show mpoa client statistics

Use the show mpoa client statistics command to display all the statistics collected by an MPC.

show mpoa client [name mpc-name] statistics
Syntax Description

name mpc-name

(Optional) Keyword to specify the name of the MPC.

Default

The defaults are that all the statistics collected by an MPC are displayed.

Command Type

Cisco IOS ATM command.

Command Mode

EXEC.

Usage Guideline

This command displays all the statistics collected by an MPC.

Example

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#
Related Command

show mpoa client

show mpoa default-atm-addresses

Use the show mpoa default-atm-addresses command to display the default ATM addresses for the MPC.

show mpoa default-atm-addresses
Syntax Description

This command has no keywords or arguments.

Default

This command has no default setting.

Command Type

Cisco IOS ATM command.

Command Mode

EXEC.

Examples

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#
Related Command

atm-address

show multicast group

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

show multicast group [cgmp | igmp] [mac_addr] [vlan_id]
Syntax Description

cgmp

(Optional) Keyword to display only the information learned via CGMP.

igmp

(Optional) Keyword to display only the information learned via IGMP.

mac_addr

(Optional) Destination MAC address.

vlan_id

(Optional) Number of the VLAN.

Default

There is no default setting for this command.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

If you specify the cgmp or igmp keyword, an error message displays if CGMP or IGMP is not enabled.

Examples

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

Console> show multicast group cgmp 1
CGMP enabled
 
VLAN  Dest MAC/Route Des  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 enabled
 
VLAN  Dest MAC/Route Des  Destination Ports or VCs / [Protocol Type]
----  ------------------  ----------------------------------------------------
5     01-00-5E-00-00-5C   3/1, 3/9
Total Number of Entries = 1
Console> 
 

This example shows the error message displayed if the cgmp keyword is entered and CGMP is not enabled:

Console> sh multicast group cgmp
CGMP feature is disabled.
 

This example shows the error message displayed if the igmp keyword is entered and IGMP is not enabled:

Console> sh multicast group igmp
IGMP Snooping feature is disabled.
 

Table 2-38 describes the fields in the show multicast group command output.


Table 2-38: show multicast group Command Output Fields
Field Description

CGMP enabled

Status of whether CGMP (or IGMP) 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.

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 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 [cgmp | igmp] [vlan_id]
Syntax Description

cgmp

(Optional) Keyword to display only the information learned via CGMP.

igmp

(Optional) Keyword to display only the information learned via IGMP.

vlan_id

(Optional) Number of the VLAN.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

If you specify the cgmp or igmp keyword, an error message displays if CGMP or IGMP is not enabled.

Examples

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> 
 

This example shows the error message displayed if the cgmp keyword is entered and CGMP is not enabled:

Console> sh multicast group count cgmp
CGMP feature is disabled
Console> 
 

This example shows the error message displayed if the igmp keyword is entered and IGMP is not enabled:

Console> sh multicast group count igmp
IGMP Snooping feature is disabled
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.

Command Type

Switch command.

Command Mode

Normal.

Examples

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/1       99
12/9       1
 
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-39 describes the fields in the show multicast router command output.


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

Command Type

Switch command.

Command Mode

Normal.

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


Table 2-40: 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) 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-41 describes the fields in the show netstat udp command output.


Table 2-41: 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-42 describes the fields in the show netstat ip command output.


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


Table 2-43: 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-44 describes the fields in the show netstat routes command output.


Table 2-44: show netstat routes Command Output Fields
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                   368996        0      12624         0
Console> 
Interface Rcv-Octet            Xmit-Octet
--------- -------------------- --------------------
sc0       182786               0
sl0       0                    0
Interface Rcv-Unicast          Xmit-Unicast
--------- -------------------- --------------------
sc0       3002                 1314
sl0       0                    0
Console> 
 

Table 2-45 describes the fields in the show netstat interface command output.


Table 2-45: show netstat interface Command Output Fields
Field Description

Interface

Interface number (sl0 is the SLIP interface; sc0 is the in-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.

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.

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the current NTP status:

Console> show ntp
Current time: Tue Jun 23 1998, 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
 
NTP-Server
----------------------------------------
time_server.cisco.com
Console>
 

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


Table 2-46: 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 server
set ntp broadcastclient
set ntp broadcastdelay
set ntp client
set ntp server


hometocprevnextglossaryfeedbacksearchhelp

Copyright 1989-1999©Cisco Systems Inc.