Catalyst 4500 Series Switch Cisco IOS Command Reference, 12.1(13)EW
show adjacency through show vtp

Table Of Contents

show adjacency

show bootflash:

show bootvar

show class-map

show diagnostics

show dot1x

show environment

show errdisable detect

show errdisable recovery

show etherchannel

show flowcontrol

show idprom

show interfaces

show interfaces counters

show interfaces description

show interfaces mtu

show interfaces private-vlan mapping

show interfaces status

show interfaces switchport

show interfaces trunk

show ip cache flow

show ip cef vlan

show ip dhcp snooping

show ip dhcp snooping binding

show ip flow export

show ip igmp interface

show ip igmp profile

show ip igmp snooping mrouter

show ip igmp snooping vlan

show ip mfib

show ip mfib fastdrop

show ip mroute

show ipc

show lacp

show mac-address-table address

show mac-address-table aging-time

show mac-address-table count

show mac-address-table dynamic

show mac-address-table interface

show mac-address-table multicast

show mac-address-table protocol

show mac-address-table static

show mac-address-table vlan

show module

show monitor

show pagp

show policy-map

show policy-map interface

show port-security

show power

show qos

show qos aggregate policer

show qos dbl

show qos interface

show qos maps

show redundancy

show running-config

show slavebootflash:

show slaveslot0:

show slot0:

show spanning-tree

show spanning-tree mst

show system mtu

show tech-support

show udld

show vlan

show vlan access-map

show vlan counters

show vlan mtu

show vlan private-vlan

show vmps

show vtp


22

show adjacency

To display adjacency table information, use the show adjacency command.

show adjacency [{FastEthernet slot/port} | {GigabitEthernet slot/port} | {null interface-number} | {port-channel number} | {vlan vlan_id} | detail | internal | summary]

Syntax Description

FastEthernet

(Optional) Specifies the FastEthernet interface.

slot/port

(Optional) Number of the slot and port.

GigabitEthernet

(Optional) Specifies the GigabitEthernet interface; valid values are from 1 to 9.

null interface-number

(Optional) Specifies the null interface; the only valid value is 0.

port-channel number

(Optional) Specifies the channel interface; valid values are from 1 to 64.

vlan vlan_id

(Optional) Specifies the VLAN; valid values are from 1 to 4094.

detail

(Optional) Displays protocol detail and timer information.

internal

(Optional) Displays internal data structure information.

summary

(Optional) Displays a summary of CEF adjacency information.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Usage Guidelines

Adjacency statistics are updated every 10 seconds.

The information contained in the show adjacency command includes the following:

Protocol interface.

Type of routing protocol configured on the interface.

Interface address.

Method adjacency was learned.

MAC address of the adjacent switch.

Time left before the adjacency rolls out of the adjacency table; after it rolls out, a packet must use the same next hop to the destination.

Examples

This example shows how to display adjacency information:

Switch# show adjacency
Protocol Interface                 Address
IP       FastEthernet2/3           172.20.52.1(3045)
IP       FastEthernet2/3           172.20.52.22(11)
Switch# 

This example shows how to display a summary of adjacency information:

Switch# show adjacency summary
Adjacency Table has 2 adjacencies
  Interface                 Adjacency Count
  FastEthernet2/3           2
Switch# 

This example shows how to display protocol detail and timer information:

Switch# show adjacency detail
Protocol Interface                 Address
IP       FastEthernet2/3           172.20.52.1(3045)
                                   0 packets, 0 bytes
                                   000000000FF920000380000000000000
                                   00000000000000000000000000000000
                                   00605C865B2800D0BB0F980B0800
                                   ARP        03:58:12
IP       FastEthernet2/3           172.20.52.22(11)
                                   0 packets, 0 bytes
                                   000000000FF920000380000000000000
                                   00000000000000000000000000000000
                                   00801C93804000D0BB0F980B0800
                                   ARP        03:58:06
Switch# 

This example shows how to display adjacency information for a specific interface:

Switch# show adjacency fastethernet 2/3
Protocol Interface                 Address
IP       FastEthernet2/3           172.20.52.1(3045)
IP       FastEthernet2/3           172.20.52.22(11)
Switch# 

show bootflash:

To display information about the bootflash: file system, use the show bootflash: command.

show bootflash: [all | chips | filesys]

Syntax Description

all

(Optional) Displays all possible Flash information.

chips

(Optional) Displays Flash chip information.

filesys

(Optional) Displays file system information.


Defaults

This command has no default settings.

Command Modes

EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display file system status information:

Switch> show bootflash: filesys

-------- F I L E   S Y S T E M   S T A T U S --------
  Device Number = 0
DEVICE INFO BLOCK: bootflash
  Magic Number          = 6887635   File System Vers = 10000    (1.0)
  Length                = 1000000   Sector Size      = 40000
  Programming Algorithm = 39        Erased State     = FFFFFFFF
  File System Offset    = 40000     Length = F40000
  MONLIB Offset         = 100       Length = C628
  Bad Sector Map Offset = 3FFF8     Length = 8
  Squeeze Log Offset    = F80000    Length = 40000
  Squeeze Buffer Offset = FC0000    Length = 40000
  Num Spare Sectors     = 0
    Spares:
STATUS INFO:
  Writable
  NO File Open for Write
  Complete Stats
  No Unrecovered Errors
  No Squeeze in progress
USAGE INFO:
  Bytes Used     = 917CE8  Bytes Available = 628318
  Bad Sectors    = 0       Spared Sectors  = 0
  OK Files       = 2       Bytes = 917BE8
  Deleted Files  = 0       Bytes = 0
  Files w/Errors = 0       Bytes = 0
Switch>    

This example shows how to display system image information:

Switch> show bootflash:
-# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1   .. image    8C5A393A  237E3C   14  2063804 Aug 23 1999 16:18:45 c4-boot-mz
2   .. image    D86EE0AD  957CE8    9  7470636 Sep 20 1999 13:48:49 rp.halley  
Switch> 

This example shows how to display all bootflash information:

Switch> show bootflash: all
-# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1   .. image    8C5A393A  237E3C   14  2063804 Aug 23 1999 16:18:45 c4-boot-
mz
2   .. image    D86EE0AD  957CE8    9  7470636 Sep 20 1999 13:48:49 rp.halley

6456088 bytes available (9534696 bytes used)

-------- F I L E   S Y S T E M   S T A T U S --------
  Device Number = 0
DEVICE INFO BLOCK: bootflash
  Magic Number          = 6887635   File System Vers = 10000    (1.0)
  Length                = 1000000   Sector Size      = 40000
  Programming Algorithm = 39        Erased State     = FFFFFFFF
  File System Offset    = 40000     Length = F40000
  MONLIB Offset         = 100       Length = C628
  Bad Sector Map Offset = 3FFF8     Length = 8
  Squeeze Log Offset    = F80000    Length = 40000
  Squeeze Buffer Offset = FC0000    Length = 40000
  Num Spare Sectors     = 0
    Spares:
STATUS INFO:
  Writable
  NO File Open for Write
  Complete Stats
  No Unrecovered Errors
  No Squeeze in progress
USAGE INFO:
  Bytes Used     = 917CE8  Bytes Available = 628318
  Bad Sectors    = 0       Spared Sectors  = 0
  OK Files       = 2       Bytes = 917BE8
  Deleted Files  = 0       Bytes = 0
  Files w/Errors = 0       Bytes = 0
Switch>       

show bootvar

To display BOOT environment variable information, use the show bootvar command.

show bootvar

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display BOOT environment variable information:

Switch# show bootvar
BOOT variable = sup:1;
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x0
Switch#          

show class-map

To display class map information, use the show class-map command.

show class-map

show class-map class_name

Syntax Description

class_name

Name of the class map.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display class map information for all class maps:

Switch# show class-map 
 Class Map match-any class-default (id 0)
   Match any
 Class Map match-any class-simple (id 2)
   Match any
 Class Map match-all ipp5 (id 1)
   Match ip precedence 5
 Class Map match-all agg-2 (id 3)
Switch# 

This example shows how to display class map information for a specific class map:

Switch# show class-map ipp5
 Class Map match-all ipp5 (id 1)
   Match ip precedence 5
Switch#   

Related Commands

class-map
show policy-map
show policy-map interface

show diagnostics

To display power-on self test (POST) results and online diagnostics for a supervisor module, use the show diagnostics command.

show diagnostics [power-on | online module slot_no]

Syntax Description

power-on

(Optional) Display POST results.

online module

(Optional) Display online diagnostic results.

slot_no

Slot number for which diagnostics are displayed.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display POST results:

Switch# show diagnostics power-on

Power-On-Self-Test Results


Power-on-self-test for Module 1: WS-X4515
Status: (. = Pass, F = Fail)

Traffic using serdes loopback (L2; one port at a time)...
switch port 0: .       switch port 1: .       switch port 2: .
switch port 3: .       switch port 4: .       switch port 5: .
switch port 6: .       switch port 7: .       switch port 8: .
switch port 9: .       switch port 10: .      switch port 11: .
switch port 12: .      switch port 13: .      switch port 14: .
switch port 15: .      switch port 16: .      switch port 17: .
switch port 18: .      switch port 19: .      switch port 20: .
switch port 21: .      switch port 22: .      switch port 23: .
switch port 24: .      switch port 25: .      switch port 26: .
switch port 27: .      switch port 28: .      switch port 29: .
switch port 30: .      switch port 31: .

Traffic using asic loopback (L2; all ports at once)...
switch port 0: .       switch port 1: .       switch port 2: .
switch port 3: .       switch port 4: .       switch port 5: .
switch port 6: .       switch port 7: .       switch port 8: .
switch port 9: .       switch port 10: .      switch port 11: .
switch port 12: .      switch port 13: .      switch port 14: .
switch port 15: .      switch port 16: .      switch port 17: .
switch port 18: .      switch port 19: .      switch port 20: .
switch port 21: .      switch port 22: .      switch port 23: .
switch port 24: .      switch port 25: .      switch port 26: .
switch port 27: .      switch port 28: .      switch port 29: .
switch port 30: .      switch port 31: .

Traffic using asic loopback (L3; all ports at once)...
switch port 0: .       switch port 1: .       switch port 2: .
switch port 3: .       switch port 4: .       switch port 5: .
switch port 6: .       switch port 7: .       switch port 8: .
switch port 9: .       switch port 10: .      switch port 11: .
switch port 12: .      switch port 13: .      switch port 14: .
switch port 15: .      switch port 16: .      switch port 17: .
switch port 18: .      switch port 19: .      switch port 20: .
switch port 21: .      switch port 22: .      switch port 23: .
switch port 24: .      switch port 25: .      switch port 26: .
switch port 27: .      switch port 28: .      switch port 29: .
switch port 30: .      switch port 31: .
Module 1 Passed
Switch# 


This example shows how to display online diagnostics for module 5:

Switch# show diagnostics online module 5

Slot Ports Card Type                              Diag Status      Diag Details

---- ----- -------------------------------------- ---------------- ------------

 5    48   10/100BaseTX (RJ45)                    Passed           None

Detailed Status
---------------
. = Pass              U = Unknown
L = Loopback failure  S = Stub failure
I = Ilc failure       P = Port failure
E = SEEPROM failure   G = GBIC integrity check failure


Ports  1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16
       .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .

Ports 17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32
       .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .

Ports 33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48
       .   .   .   .   .   .   .   .   .   .   .   .   .   .   .   .
Switch# 

show dot1x

To display 802.1X statistics, administrative status, and operational status for the switch or for the specified interface, use the show dot1x command.

show dot1x [interface interface-id] | [statistics [interface interface-id]] | [all]

Syntax Description

interface interface-id

(Optional) Displays the 802.1X status for the specified port.

statistics

(Optional) Displays 802.1X statistics for the switch or the specified interface.

all

(Optional) Displays per-interface 802.1X configuration information for all interfaces with a non-default 802.1X configuration.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(12c)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

If you do not specify an interface, global parameters and a summary are displayed. If you specify an interface, details for that interface are displayed.

If you specify the statistics keyword without the interface interface-id option, statistics are displayed for all interfaces. If you specify the statistics keyword with the interface interface-id option, statistics are displayed for the specified interface.

Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.

Examples

This is an example of output from the show dot1x privileged EXEC command:

Switch# show dot1x
Sysauthcontrol						= Disabled
Dot1x Protocol Version				= 1
Dot1x Oper Controlled Directions		= Both
Dot1x Admin Controlled Directions	= Both
Switch# 

This is an example of output from the show dot1x interface gigabitethernet1/1 privileged EXEC command. Table 2-12 describes the fields in the display.

Switch# show dot1x interface g1/1

Default Dot1x Configuration Exists for this interface GigabitEthernet1/1
AuthSM State      = FORCE AUTHORIZED
BendSM State      = IDLE
PortStatus        = AUTHORIZED
MaxReq            = 2 
MultiHosts        = Disabled 
PortControl       = Force Authorized
QuietPeriod       = 60 Seconds 
Re-authentication = Disabled 
ReAuthPeriod      = 3600 Seconds
ServerTimeout     = 30 Seconds 
SuppTimeout       = 30 Seconds 
TxPeriod          = 30 Seconds 
Switch# 

The "Default Dot1x Configuration Exists" line goes away if the config on the 
interface is non-default.  "Show dot1x all" output is repeated "show dot1x 
interface" output for all interfaces with non-default dot1x config.

Table 2-12 show dot1x interface Field Description 

Field
Description

802.1X is enabled on GigabitEthernet0/2

 

Status

Status of the port (authorized or unauthorized). The status of a port is displayed as authorized if the dot1x port-control interface configuration command is set to auto and has successfully completed authentication.

Port-control

Setting of the dot1x port-control interface configuration command.

Supplicant

Ethernet MAC address of the client, if one exists. If the switch has not discovered the client, this field displays Not set.

Multiple Hosts

Setting of the dot1x multiple-hosts interface configuration command (allowed or disallowed).

Current Identifier1

Each exchange between the switch and the client includes an identifier, which matches requests with responses. This number is incremented with each exchange and can be reset by the authentication server.

1 This field and the remaining fields in the display show internal state information. For a detailed description of these state machines and their settings, refer to the IEEE 802.1X specification.


This is an example of output from the show dot1x statistics interface gigabitethernet1/1 command. Table 2-13 describes the fields in the display.

Switch# show dot1x statistics int g1/1

PortStatistics Parameters for Dot1x 
--------------------------------------------
TxReqId = 0 	TxReq = 0 	TxTotal = 0 
RxStart = 0 	RxLogoff = 0 	RxRespId = 0 	RxResp = 0
RxInvalid = 0 	RxLenErr = 0 	RxTotal= 0
RxVersion = 0 	LastRxSrcMac 0000.0000.0000 
Switch# 

Table 2-13 show dot1x statistics Field Descriptions 

Field
Description

RX EAPOL Start

Number of valid EAPOL-start frames that have been received.

RX EAPOL Logoff

Number of EAPOL-logoff frames that have been received.

RX EAPOL Invalid

Number of EAPOL frames that have been received and have an unrecognized frame type.

RX EAPOL Total

Number of valid EAPOL frames of any type that have been received.

RX EAP Resp/ID

Number of EAP-response/identity frames that have been received.

RX EAP Resp/Oth

Number of valid EAP-response frames (other than response/identity frames) that have been received.

RX EAP LenError

Number of EAPOL frames that have been received in which the packet body length field is invalid.

Last EAPOLVer

Protocol version number carried in the most recently received EAPOL frame.

LAST EAPOLSrc

Source MAC address carried in the most recently received EAPOL frame.

TX EAPOL Total

Number of EAPOL frames of any type that have been sent.

TX EAP Req/Id

Number of EAP-request/identity frames that have been sent.

TX EAP Req/Oth

Number of EAP-request frames (other than request/identity frames) that have been sent.


show environment

To display environment alarm, operational status, and the current reading for the chassis, use the show environment command.

show environment [alarm] | [status [chassis | fantray | powersupply | supervisor]] | [temperature]

Syntax Description

alarm

(Optional) Specifies alarm status of the chassis.

status

(Optional) Specifies operational status information.

chassis

(Optional) Specifies operational status of the chassis.

fantray

(Optional) Specifies status of the fan tray, and shows fan tray power consumption.

powersupply

(Optional) Specifies status of the power supply.

supervisor

(Optional) Specifies status of the supervisor engine.

temperature

(Optional) Specifies current chassis temperature readings.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Support for the ability to display generic environment information with the show environment command was added.


Examples

This example shows how to display information about environment alarms, operational status, and the current temperature readings for the chassis:

Switch# show environment
no alarm

Chassis Temperature                    = 32 degrees Celsius
Chassis Over Temperature Threshold     = 75 degrees Celsius
Chassis Critical Temperature Threshold = 95 degrees Celsius

Power                               Fan
Supply  Model No         Type       Status       Sensor
------  ---------------  ---------  -----------  ------
PS1     PWR-C45-1400AC   AC 1400W   good         good
PS2     none             --         --           --

Power Supply    Max     Min     Max     Min     Absolute
(Nos in Watts)  Inline  Inline  System  System  Maximum
--------------  ------  ------  ------  ------  --------
PS1                0       0    1360    1360    1400
PS2               --      --      --      --     --

Power supplies needed by system : 1

Chassis Type : WS-C4507R

Supervisor Led Color : Green

Fantray : good

Power consumed by Fantray : 50 Watts

This example shows how to display information about environment alarms:

Switch# show environment alarm
no alarm
Switch# 

This example shows how to display information about power supplies, chassis type, and fan trays:

Switch# show environment status
Power                                            Fan
Supply  Model No         Type       Status       Sensor
------  ---------------  ---------  -----------  ------
PS1     PWR-C45-1400AC   AC 1400W   good         good
PS2     none             --         --           --

Power Supply    Max     Min     Max     Min     Absolute
(Nos in Watts)  Inline  Inline  System  System  Maximum
--------------  ------  ------  ------  ------  --------
PS1                0       0    1360    1360    1400
PS2               --      --      --      --     --

Power supplies needed by system : 1

Chassis Type : WS-C4507R

Supervisor Led Color : Green

Fantray : good

Power consumed by Fantray : 50 Watts

Switch# 

This example shows how to display information about the chassis:

Switch# show environment status chassis
Chassis Type :WS-C4006
Switch# 

This example shows how to display information about the fantray:

Switch# show environment status fantray
Fantray : good
Power consumed by Fantray : 50 Watts
Switch# 

This example shows how to display information about the power supply:

Switch# show environment status powersupply
Power                                        Fan
Supply  Model No         Type       Status   Sensor
------  ---------------  ---------  -------  ------
PS1     WS-X4008         AC 400W    good     good
PS2     WS-X4008         AC 400W    good     good
PS3     none             --         --       --
Switch# 

This example shows how to display information about the supervisor:

Switch# show environment status supervisor
Supervisor Led Color :Green
Switch# 

This example shows how to display information about the temperature of the chassis:

Switch# show environment temperature 
Chassis Temperature                    = 32 degrees Celsius
Chassis Over Temperature Threshold     = 75 degrees Celsius
Chassis Critical Temperature Threshold = 95 degrees Celsius
Switch# 

show errdisable detect

To display error disable detection status, use the show errdisable detect command.

show errdisable detect

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display error-disable-detection status:

Switch# show errdisable detect
ErrDisable Reason    Detection status
-----------------    ----------------
pagp-flap            Enabled
dtp-flap             Enabled
link-flap            Enabled
Switch# 

Related Commands

errdisable detect

show errdisable recovery

To display error disable recovery timer information, use the show errdisable recovery command.

show errdisable recovery

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display recovery timer information for error disable:

Switch# show errdisable recovery
ErrDisable Reason    Timer Status
-----------------    --------------
udld                 Disabled

bpduguard            Disabled
channel-misconfig    Disabled
pagp-flap            Disabled
dtp-flap             Disabled
link-flap            Disabled
security-violation   Disabled

Timer interval:300 seconds

Interfaces that will be enabled at the next timeout:

Interface    Errdisable reason    Time left(sec)
---------    -----------------    --------------
Fa6/1           link-flap              279
Switch# 

Related Commands

errdisable recovery
show interfaces status

show etherchannel

To display EtherChannel information for a channel, use the show etherchannel command.

show etherchannel [channel-group] {port-channel | brief | detail | summary | port | load-balance | protocol}

Syntax Description

channel-group

(Optional) Number of the channel group; valid values are from 1 to 64.

port-channel

Displays port channel information.

brief

Displays a summary of EtherChannel information.

detail

Displays detailed EtherChannel information.

summary

Displays a one-line summary per channel group.

port

Displays EtherChannel port information.

load-balance

Displays load-balance information.

protocol

Displays the enabled protocol.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(13)EW

Support for LACP was added to this command.


Usage Guidelines

If you do not specify a channel-group, all channel groups are displayed.

In the output below, the Passive port list field is displayed for Layer 3 port channels only. This field means that the physical interface, which is still not up, is configured to be in the channel group (and indirectly is in the only port channel in the channel group).

Examples

This example shows how to display port channel information for a specific group:

Switch# show etherchannel 1 port-channel
                Port-channels in the group:
                ----------------------
Port-channel: Po1
------------
Age of the Port-channel   = 02h:35m:26s
Logical slot/port   = 10/1           Number of ports in agport = 0
GC                  = 0x00000000      HotStandBy port = null
Passive port list   = Fa5/4 Fa5/5
Port state          = Port-channel L3-Ag Ag-Not-Inuse

Ports in the Port-channel:
Index   Load   Port
-------------------
Switch# 

This example shows how to display load-balancing information:

Switch# show etherchannel load-balance 
Source XOR Destination mac address
Switch#     

This example shows how to display a summary of information for a specific group:

Switch# show etherchannel 1 brief
Group state = L3
Ports: 2   Maxports = 8
port-channels: 1 Max port-channels = 1
Switch# 

This example shows how to display detailed information for a specific group:

Switch# show etherchannel 1 detail
Group state = L3
Ports: 2   Maxports = 8
Port-channels: 1 Max Port-channels = 1
                Ports in the group:
                -------------------
Port: Fa5/4
------------

Port state    = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1           Mode = Desirable     Gcchange = 0
Port-channel  = null        GC   = 0x00000000    Psudo-agport = Po1
Port indx     = 0           Load = 0x00

Flags:  S - Device is sending Slow hello.  C - Device is in Consistent state.
        A - Device is in Auto mode.        P - Device learns on physical port.
Timers: H - Hello timer is running.        Q - Quit timer is running.
        S - Switching timer is running.    I - Interface timer is running.

Local information:
                                Hello    Partner  PAgP     Learning  Group
Port      Flags State   Timers  Interval Count   Priority   Method  Ifindex
Fa5/4     d     U1/S1           1s       0        128        Any      0

Age of the port in the current state: 02h:33m:14s
Port: Fa5/5
------------

Port state    = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1           Mode = Desirable     Gcchange = 0
Port-channel  = null        GC   = 0x00000000    Psudo-agport = Po1
Port indx     = 0           Load = 0x00

Flags:  S - Device is sending Slow hello.  C - Device is in Consistent state.
        A - Device is in Auto mode.        P - Device learns on physical port.
Timers: H - Hello timer is running.        Q - Quit timer is running.
        S - Switching timer is running.    I - Interface timer is running.

Local information:
                                Hello    Partner  PAgP     Learning  Group
Port      Flags State   Timers  Interval Count   Priority   Method  Ifindex
Fa5/5     d     U1/S1           1s       0        128        Any      0

Age of the port in the current state: 02h:33m:17s
                Port-channels in the group:
                ----------------------

Port-channel: Po1
------------
Age of the Port-channel   = 02h:33m:52s
Logical slot/port   = 10/1           Number of ports in agport = 0
GC                  = 0x00000000      HotStandBy port = null
Passive port list   = Fa5/4 Fa5/5
Port state          = Port-channel L3-Ag Ag-Not-Inuse

Ports in the Port-channel:

Index   Load   Port
-------------------
Switch#                                                             

This example shows how to display a one-line summary per channel group:

Switch# show etherchannel summary
U-in use  I-in port-channel   S-suspended   D-down  i-stand-alone  d-default

Group Port-channel  Ports
----- ------------  ----------------------------------------------------------
1     Po1(U)        Fa5/4(I)  Fa5/5(I)
2     Po2(U)        Fa5/6(I)  Fa5/7(I)
Switch#                                                             

This example shows how to display EtherChannel port information for all ports and all groups:

Switch# show etherchannel port
                Channel-group listing:
                -----------------------

Group: 1
----------
                Ports in the group:
                -------------------
Port: Fa5/4
------------
Port state    = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1           Mode = Desirable     Gcchange = 0
Port-channel  = null        GC   = 0x00000000    Psudo-agport = Po1
Port indx     = 0           Load = 0x00

Flags:  S - Device is sending Slow hello.  C - Device is in Consistent state.
        A - Device is in Auto mode.        P - Device learns on physical port.
Timers: H - Hello timer is running.        Q - Quit timer is running.
        S - Switching timer is running.    I - Interface timer is running.

Local information:
                                Hello    Partner  PAgP     Learning  Group
Port      Flags State   Timers  Interval Count   Priority   Method  Ifindex
Fa5/4     d     U1/S1           1s       0        128        Any      0

Age of the port in the current state: 02h:40m:35s
Port: Fa5/5
------------

Port state    = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1           Mode = Desirable     Gcchange = 0
Port-channel  = null        GC   = 0x00000000    Psudo-agport = Po1
Port indx     = 0           Load = 0x00

Flags:  S - Device is sending Slow hello.  C - Device is in Consistent state.
        A - Device is in Auto mode.        P - Device learns on physical port.
Timers: H - Hello timer is running.        Q - Quit timer is running.
        S - Switching timer is running.    I - Interface timer is running.

<...output truncated...> 

Switch# 

This example shows how to display the protocol enabled:

Switch# show etherchannel protocol
                Channel-group listing:
                -----------------------

Group: 12
----------
Protocol:  PAgP

Group: 24
----------
Protocol:   -  (Mode ON)
Switch# 

Related Commands

channel-group
interface port-channel

show flowcontrol

To display the per-interface status and statistics related to flow control, use the show flowcontrol command.

show flowcontrol [module slot | interface interface]

Syntax Description

module slot

(Optional) Limits the display to interfaces on a specific module.

interface interface

(Optional) Displays the status on a specific interface.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

Table 2-14 describes the fields in the show flowcontrol command output.

Table 2-14 show flowcontrol Command Output 

Field
Description

Port

Module and port number.

Send-Flowcontrol-Admin

Flow-control administration. Possible settings: on indicates the local port sends flow control to the far end; off indicates the local port does not send flow control to the far end; desired indicates the local end sends flow control to the far end if the far end supports it.

Send-Flowcontrol-Oper

Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol.

Receive-Flowcontrol-Admin

Flow-control administration. Possible settings: on indicates the local port requires the far end to send flow control; off indicates the local port does not allow the far end to send flow control; desired indicates the local end allows the far end to send flow control.

Receive-Flowcontrol-Oper

Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol.

RxPause

Number of pause frames received.

TxPause

Number of pause frames transmitted.


Examples

This example shows how to display flow control status on all the gigabit interfaces:

Switch# show flowcontrol
Port    Send FlowControl  Receive FlowControl  RxPause TxPause
        admin    oper     admin    oper                       
-----   -------- -------- -------- --------    ------- -------
Gi1/1   desired  off      off      off         0       0      
Gi1/2   on       disagree on       on          0       0      
Gi3/1   on       on       on       on          0       0      
Gi3/2   desired  off      off      off         0       0      
Gi3/3   desired  off      off      off         0       0      
Gi3/4   off      off      on       on          0       0      
Gi3/5   desired  off      off      off         0       0      
Gi3/6   desired  off      off      off         0       0      
Switch# 

This example shows how to display the flow control status on module 1:

Switch# show flowcontrol module 1
Port    Send FlowControl  Receive FlowControl  RxPause TxPause
        admin    oper     admin    oper                       
-----   -------- -------- -------- --------    ------- -------
Gi1/1   desired  off      off      off         0       0      
Gi1/2   on       disagree on       on          0       0      
Switch# 

This example shows how to display the flow control status on interface 3/4:

Switch# show flowcontrol interface gigabitethernet 3/4
Port    Send FlowControl  Receive FlowControl  RxPause TxPause
        admin    oper     admin    oper                       
-----   -------- -------- -------- --------    ------- -------
Gi3/4   off      off      on       on          0       0      
Switch# 

Related Commands

flowcontrol
show interfaces status

show idprom

To display Serial Electrically Erasable Programmable Read Only Memory (SEEPROMs) for the chassis, supervisor engine, module, power supplies, fan trays, clock module, and mux buffer, use the show idprom command.

show idprom {all | chassis | module [mod_num] | supervisor | power-supply number | fan-tray}

Syntax Description

all

Displays information for all IDPROMs.

chassis

Displays information for chassis IDPROMs.

module mod_num

Displays information for module IDPROMs.

supervisor

Displays information for supervisor engine IDPROMs.

power-supply number

Displays information for power supply IDPROMs

fan-tray

Displays information for the fan tray IDPROM


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Support for the power-supply, fan-tray, clock-module, and mux-buffer keywords was added.


Examples

This example shows how to display IDPROM information for module 4:

Switch# show idprom module 4
Module 4 Idprom:
 Common Block Signature = 0xABAB
 Common Block Version = 1
 Common Block Length = 144
 Common Block Checksum = 4199
 Idprom Size = 256
 Block Count = 2
 FRU Major Type = 0x4201
 FRU Minor Type = 303
 OEM String = Cisco Systems, Inc.
 Product Number = WS-X4306
 Serial Number = 00000135
 Part Number = <tbd> 
 Hardware Revision = 0.2
 Manufacturing Bits = 0x0000
 Engineering Bits = 0x0000
 Snmp OID = 0.0.0.0.0.0.0.0
 Power Consumption = 0
 RMA Failure Code = 0 0 0 0
 Linecard Block Signature = 0x4201
 Linecard Block Version = 1
 Linecard Block Length = 24
 Linecard Block Checksum = 658
 Feature Bits = 0x0000000000000000
 Card Feature Index = 50
 MAC Base = 0010.7bab.9830
 MAC Count = 6
Switch# 

This example shows how to display IDPROM information for the supervisor engine:

Switch# show idprom supervisor
Supervisor Idprom:
 Common Block Signature = 0xABAB
 Common Block Version = 1
 Common Block Length = 144
 Common Block Checksum = 4153
 Idprom Size = 256
 Block Count = 2
 FRU Major Type = 0x4101
 FRU Minor Type = 333
 OEM String = Cisco Systems, Inc.
 Product Number = WS-X4014
 Serial Number = JAB05320CCE
 Part Number = 73-6854-04
 Part Revision = 05
 Manufacturing Deviation String = 0
 Hardware Revision = 0.4
 Manufacturing Bits = 0x0000
 Engineering Bits = 0x0000
 Snmp OID = 0.0.0.0.0.0.0.0
 Power Consumption = 0
 RMA Failure Code = 0 0 0 0
 Supervisor Block Signature = 0x4101
 Supervisor Block Version = 1
 Supervisor Block Length = 24
 Supervisor Block Checksum = 548
 Feature Bits = 0x0000000000000000
 Card Feature Index = 95
 MAC Base = 0007.0ee5.2a44
 MAC Count = 2
Switch# 

This example shows how to display IDPROM information for the chassis:

Switch# show idprom chassis
Chassis Idprom:
 Common Block Signature = 0xABAB
 Common Block Version = 1
 Common Block Length = 144
 Common Block Checksum = 4285
 Idprom Size = 256
 Block Count = 2
 FRU Major Type = 0x4001
 FRU Minor Type = 24
 OEM String = Cisco Systems, Inc.
 Product Number = WS-C4006
 Serial Number = FOX04473737
 Part Number = 73-4289-02
 Part Revision = 02
 Manufacturing Deviation String = 0x00
 Hardware Revision = 0.2
 Manufacturing Bits = 0x0000
 Engineering Bits = 0x0000
 Snmp OID = 0.0.0.0.0.0.0.0
 Chassis Block Signature = 0x4001
 Chassis Block Version = 1
 Chassis Block Length = 22
 Chassis Block Checksum = 421
 Feature Bits = 0x0000000000000000
 MAC Base = 0004.dd42.2600
 MAC Count = 1024
Switch# 

This example shows how to display IDPROM information for power supply 1:

Switch# show idprom power-supply 1
Power Supply 0 Idprom:
 Common Block Signature = 0xABAB
 Common Block Version = 1
 Common Block Length = 144
 Common Block Checksum = 10207
 Idprom Size = 256
 Block Count = 1
 FRU Major Type = 0xAB01
 FRU Minor Type = 8224
 OEM String = Cisco Systems, Inc. 
 Product Number = WS-CAC-1440W
 Serial Number = ACP05180002
 Part Number = 34-XXXX-01
 Part Revision = A0                      
 Manufacturing Deviation String =                     
 Hardware Revision = 1.1
 Manufacturing Bits = 0x0000
 Engineering Bits = 0x3031
 Snmp OID = 9.12.3.65535.65535.65535.65535.65535
 Power Consumption = -1
 RMA Failure Code = 255 255 255 255
 Power Supply Block Signature = 0xFFFF
 PowerSupply Block Version = 255
 PowerSupply Block Length = 255
 PowerSupply Block Checksum = 65535
 Feature Bits = 0x00000000FFFFFFFF
 Current @ 110V = -1
 Current @ 220V = -1
 StackMIB OID = 65535
Switch# 

This example shows how to display IDPROM information for the fan tray:

Switch# show idprom fan-tray
Fan Tray Idprom :
 Common Block Signature = 0xABAB
 Common Block Version = 1
 Common Block Length = 144
 Common Block Checksum = 19781
 Idprom Size = 256
 Block Count = 1
 FRU Major Type = 0x4002
 FRU Minor Type = 0
 OEM String = "Cisco Systems"
 Product Number = WS-X4502-fan
 Serial Number = 
 Part Number = 
 Part Revision = 
 Manufacturing Deviation String = 
 Hardware Revision = 0.1
 Manufacturing Bits = 0xFFFF
 Engineering Bits = 0xFFFF
 Snmp OID = 65535.65535.65535.65535.65535.65535.65535.65535
 Power Consumption = -1
 RMA Failure Code = 255 255 255 255
Switch# 

show interfaces

To display traffic on a specific interface, use the show interfaces command.

show interfaces [{{FastEthernet mod_num/interface-number} | {GigabitEthernet mod_num/interface-number} | {null interface-number} | vlan vlan_id} | status}]

Syntax Description

FastEthernet mod_num/interface-number

(Optional) Specifies the FastEthernet module and interface.

GigabitEthernet mod_num/interface-number

(Optional) Specifies the GigabitEthernet module and interface.

null interface-number

(Optional) Specifies the null interface; the valid value is 0.

vlan vlan_id

(Optional) Specifies the VLAN; valid values are from 1 to 4094.

status

(Optional) Displays status information.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Support for extended VLAN addresses was added.


Usage Guidelines

Statistics are collected on a per-VLAN basis for Layer 2-switched packets and Layer 3-switched packets. Statistics are available for both unicast and multicast. The Layer 3-switched packet counts are available for both ingress and egress directions. The per-VLAN statistics are updated every 5 seconds.

In some cases, you might see a difference in the duplex mode displayed between the show interfaces command and the show running-config commands. The duplex mode displayed in the show interfaces command is the actual duplex mode the interface is running. The show interfaces command shows the operating mode for an interface, while the show running-config command shows the configured mode for an interface.

If you do not enter any keywords, all counters for all modules are displayed.

Examples

This example shows how to display traffic for a specific interface:

Switch# show interfaces GigabitEthernet 2/5
GigabitEthernet9/5 is up, line protocol is up 
Hardware is C4k 1000Mb 802.3, address is 0001.64f8.3fa5 (bia 0001.64f8.3fa5)
Internet address is 172.20.20.20/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, 
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output never, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 1000 bits/sec, 2 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
L2 Switched: ucast: 8199 pkt, 1362060 bytes - mcast: 6980 pkt, 371952 bytes
L3 in Switched: ucast: 0 pkt, 0 bytes - mcast: 0 pkt, 0 bytes mcast
L3 out Switched: ucast: 0 pkt, 0 bytes - mcast: 0 pkt, 0 bytes 
300114 packets input, 27301436 bytes, 0 no buffer
Received 43458 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
15181 packets output, 1955836 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Switch# 

show interfaces counters

To display traffic on the physical interface, use the show interfaces counters command.

show interfaces counters [ all | detail | errors | trunk] [module mod_num]

Syntax Description

all

(Optional) Displays all interface counters including errors, trunk, and detail.

detail

(Optional) Displays detailed interface counters.

errors

(Optional) Displays interface error counters.

trunk

(Optional) Displays interface trunk counters.

module mod_num

(Optional) Limits the display to interfaces on a specific module.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

If you do not enter any keywords, all counters for all modules are displayed.

Examples

This example shows how to display error counters for a specific module:

Switch# show interfaces counters errors module 1

Port        Align-Err    FCS-Err   Xmit-Err    Rcv-Err UnderSize
Gi1/1               0          0          0          0         0
Gi1/2               0          0          0          0         0

Port      Single-Col Multi-Col  Late-Col Excess-Col Carri-Sen     Runts    Giants
Gi1/1              0         0         0          0         0         0       0
Gi1/2              0         0         0          0         0         0       0
Switch# 

This example shows how to display traffic seen by a specific module:

Switch# show interfaces counters module 1

Port            InOctets   InUcastPkts   InMcastPkts   InBcastPkts
Gi1/1                  0             0             0             0
Gi1/2                  0             0             0             0

Port           OutOctets  OutUcastPkts  OutMcastPkts  OutBcastPkts
Gi1/1                  0             0             0             0
Gi1/2                  0             0             0             0
Switch# 

This example shows how to display trunk counters for a specific module:

Switch# show interfaces counters trunk module 1

Port        TrunkFramesTx  TrunkFramesRx  WrongEncap
Gi1/1                   0              0           0
Gi1/2                   0              0           0
Switch#                                                            

show interfaces description

To display a description and status of an interface, use the show interfaces description command.

show interfaces [interface] description

Syntax Description

interface

(Optional) Type of interface.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display information for all interfaces:

Switch# show interfaces description
 Interface Status         Protocol Description
 PO0/0     admin down     down     First interface
 PO0/1     admin down     down     
 Gi1/1     up             up       GigE to server farm
Switch# 

Related Commands

description (refer to Cisco IOS documentation)

show interfaces mtu

To display the maximum transmission unit (MTU) size of all the physical interfaces and SVIs on the switch, use the show interfaces mtu command.

show interfaces mtu [module mod_num]

Syntax Description

module mod_num

(Optional) Limits the display to interfaces on a specific module.


Defaults

This command has no default settings.

Command Modes

EXEC

Command History

Release
Modification

12.1(13)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display the MTU size for all interfaces on module 1:

Switch> show interfaces mtu module 1

Port    Name               MTU
Gi1/1                      1500
Gi1/2                      1500
Switch> 

Related Commands

mtu

show interfaces private-vlan mapping

To display PVLAN mapping information for VLAN SVIs, use the show interface private-vlan mapping command.

show interface private-vlan mapping [active]

Syntax Description

active

(Optional) Displays active interfaces only.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

This command displays SVI information only.

Examples

This example shows how to display PVLAN mapping information:

Switch# show interface private-vlan mapping
Interface Secondary VLAN Type
--------- -------------- -----------------
vlan2     301            isolated
vlan2     302            isolated
Switch# 

Related Commands

private-vlan
private-vlan mapping

show interfaces status

To display interface status or a list of interfaces in error-disabled state, use the show interfaces status command.

show interfaces status [err-disabled]

Syntax Description

err-disabled

(Optional) Displays interfaces in error-disabled state.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display the status of all interfaces:

Switch# show interfaces status

Port    Name               Status     Vlan       Duplex Speed Type
Gi1/1                      disabled   routed       full  1000 missing
Gi1/2                      notconnect 1            full  1000 unknown (4)
Fa5/1                      disabled   routed       auto  auto 10/100BaseTX
Fa5/2                      disabled   routed       auto  auto 10/100BaseTX
Fa5/3                      disabled   routed       auto  auto 10/100BaseTX
Fa5/4                      disabled   routed       auto  auto 10/100BaseTX
...
Fa5/15                     disabled   routed       auto  auto 10/100BaseTX
Fa5/16                     disabled   routed       auto  auto 10/100BaseTX
Fa5/17                     disabled   routed       auto  auto 10/100BaseTX
Switch# 

This example shows how to display the status of interfaces in error-disabled state:

Switch# show interfaces status err-disabled 

Port    Name               Status       Reason
Fa9/4                      notconnect   link-flap

informational error message when the timer expires on a cause
--------------------------------------------------------------

5d04h:%PM-SP-4-ERR_RECOVER:Attempting to recover from link-flap err-disable state on Fa9/4
Switch# 

Related Commands

errdisable detect
show errdisable recovery

show interfaces switchport

To display the administrative and operational status of a switching (non-routing) port, use the show interfaces switchport command.

show interfaces switchport [module mod_num]

Syntax Description

module mod_num

(Optional) Limits the display to interfaces on the specified module; valid values are from 1 to 6.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display switch-port information using the begin output modifier:

Switch# show interfaces switchport | include VLAN
Name: Fa5/6
Access Mode VLAN: 200 (VLAN0200)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: ALL
Switch#                                   

This example shows how to display switch-port information for module 1:

Switch# show interfaces switchport module 1
Name:Gi1/1
Switchport:Enabled
Administrative Mode:dynamic auto
Operational Mode:down
Administrative Trunking Encapsulation:negotiate
Negotiation of Trunking:On
Access Mode VLAN:1 (default)
Trunking Native Mode VLAN:1 (default)
Administrative private-vlan host-association:none
Administrative private-vlan mapping:none
Operational private-vlan:none
Trunking VLANs Enabled:ALL
Pruning VLANs Enabled:2-1001

Name:Gi1/2
Switchport:Enabled
Administrative Mode:dynamic auto
Operational Mode:down
Administrative Trunking Encapsulation:negotiate
Negotiation of Trunking:On
Access Mode VLAN:1 (default)
Trunking Native Mode VLAN:1 (default)
Administrative private-vlan host-association:none
Administrative private-vlan mapping:none
Operational private-vlan:none
Trunking VLANs Enabled:ALL
Pruning VLANs Enabled:2-1001
Switch# 

show interfaces trunk

To display port and module interface-trunk information, use the show interfaces trunk command.

show interfaces trunk [module mod_num]

Syntax Description

module mod_num

(Optional) Limits the display to interfaces on the specified module; valid values are from 1 to 6.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

If you do not specify a keyword, only information for trunking ports is displayed.

Examples

This example shows how to display interface-trunk information for module 5:

Switch# show interfaces trunk module 5

Port      Mode         Encapsulation  Status        Native vlan
Fa5/1     routed       negotiate      routed        1
Fa5/2     routed       negotiate      routed        1
Fa5/3     routed       negotiate      routed        1
Fa5/4     routed       negotiate      routed        1
Fa5/5     routed       negotiate      routed        1
Fa5/6     off          negotiate      not-trunking  10
Fa5/7     off          negotiate      not-trunking  10
Fa5/8     off          negotiate      not-trunking  1
Fa5/9     desirable    n-isl          trunking      1
Fa5/10    desirable    negotiate      not-trunking  1
Fa5/11    routed       negotiate      routed        1
Fa5/12    routed       negotiate      routed        1
...
Fa5/48    routed       negotiate      routed        1

Port      Vlans allowed on trunk
Fa5/1     none
Fa5/2     none
Fa5/3     none
Fa5/4     none
Fa5/5     none
Fa5/6     none
Fa5/7     none
Fa5/8     200
Fa5/9     1-1005
Fa5/10    none
Fa5/11    none
Fa5/12    none

Fa5/48    none

Port      Vlans allowed and active in management domain
Fa5/1     none
Fa5/2     none
Fa5/3     none
Fa5/4     none
Fa5/5     none
Fa5/6     none
Fa5/7     none
Fa5/8     200
Fa5/9     1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005
Fa5/10    none
Fa5/11    none
Fa5/12    none


Fa5/48    none

Port      Vlans in spanning tree forwarding state and not pruned
Fa5/1     none
Fa5/2     none
Fa5/3     none
Fa5/4     none
Fa5/5     none
Fa5/6     none
Fa5/7     none
Fa5/8     200
Fa5/9     1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005
Fa5/10    none
Fa5/11    none


Fa5/48    none
Switch#                       

This example shows how to display trunking information for active trunking ports:

Switch# show interfaces trunk

Port      Mode         Encapsulation  Status        Native vlan
Fa5/9     desirable    n-isl          trunking      1

Port      Vlans allowed on trunk
Fa5/9     1-1005

Port      Vlans allowed and active in management domain
Fa5/9     1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005

Port      Vlans in spanning tree forwarding state and not pruned
Fa5/9     1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005
Switch#                                                                        

show ip cache flow

To display a summary of the NetFlow cache flow entries, use the show ip cache flow command.

show ip cache flow

Syntax Description

This command has no keywords and arguments.

Defaults

This command has no default settings.

Command Modes

EXEC

Command History

Release
Modification

12.1(13)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

To use these commands, you need to install the Supervisor Engine IV and the NetFlow Service Card.

Examples

This example shows how to display a summary of the NetFlow statistics:

Switch# show ip cache flow
IP Flow Switching Cache, 0 bytes
  0 active, 262144 inactive, 0 added
  0 ager polls, 0 flow alloc failures
  Active flows timeout in 30 minutes
  Inactive flows timeout in 15 seconds
  last clearing of statistics never
Protocol         Total    Flows   Packets Bytes  Packets Active(Sec) Idle(Sec)
--------         Flows     /Sec     /Flow  /Pkt     /Sec     /Flow     /Flow

SrcIf         SrcIPaddress    DstIf         DstIPaddress    Pr SrcP DstP  Pkts
Switch# 

Table 2-15 describes the fields in the flow switching cache lines of the output.

Table 2-15 show ip cache flow Command Output Fields—Flow Switching Cache 

Field
Description

bytes

Number of bytes of memory the NetFlow cache uses.

active

Number of active flows in the NetFlow cache at the time this command was entered.

inactive

Number of flow buffers allocated in the NetFlow cache but are not currently assigned to a specific flow at the time this command was entered.

added

Number of flows created since the start of the summary period.

Ager polls

Number of times the NetFlow code looked at the cache to expire entries. (Used by Cisco for diagnostics only.)

Flow alloc failures

Number of times the NetFlow code tried to allocate a flow but could not.

Active flows timeout in

Timeout period for active flows in the NetFlow cache.

Last clearing of statistics

Standard time output (hh:mm:ss) since the clear ip flow stats command was executed. This time output changes to hours and days after the time exceeds 24 hours.


Table 2-16 describes the fields in the activity-by-protocol lines of the output.

Table 2-16 show ip cache flow Command Output Fields—NetFlow Activity by Protocol 

Field
Description

Protocol

IP protocol and the well-known port number as described in RFC 1340.

Total Flows

Number of flows for this protocol since the last time statistics were cleared.

Flows/Sec

Average number of flows for this protocol seen per second; equal to total flows/number of seconds for this summary period.

Packets/Flow

Average number of packets observed for the flows seen for this protocol. Equal to total packets for this protocol/number of flows for this protocol for this summary period.

Bytes/Pkt

Average number of bytes observed for the packets seen for this protocol. Equal to total bytes for this protocol/total number of packets for this protocol for this summary period.

Packets/Sec

Average number of packets for this protocol per second. Equal to total packets for this protocol/total number of seconds for this summary period.

Active(Sec)/Flow

Sum of all the seconds from the first packet to the last packet of an expired flow (for example, TCP FIN, time-out, and so forth) in seconds/total flows for this protocol for this summary period.

Idle(Sec)/Flow

Sum of all the seconds from the last packet seen in each nonexpired flow for this protocol until the time this command was entered in seconds/total flows for this protocol for this summary period.


Table 2-17 describes the fields in the current flow lines of the output.

Table 2-17 show ip cache flow Command Output Fields—Current Flow 

Field
Description

SrcIf

Internal port name for the source interface.

SrcIPaddress

Source IP address for this flow.

DstIf

Switch's internal port name for the destination interface.

DstIPaddress

Destination IP address for this flow.

Pr

IP protocol; for example, 6=TCP, 17=UDP, .... as defined in RFC 1340.

SrcP

Source port address, TCP/UDP "well known" port number, as defined in RFC 1340.

DstP

Destination port address, TCP/UDP "well known" port number, as defined in RFC 1340.

Pkts

Number of packets observed for this flow.

Bytes/Pkt

Average observed number of bytes per packet for this flow.

Active

Number of seconds between first and last packet of a flow.


Related Commands

clear ip flow stats

show ip cef vlan

To view IP CEF VLAN interface status and configuration information and display the prefixes for a specific interface, use the show ip cef vlan command.

show ip cef vlan vlan_num [detail]

Syntax Description

vlan_num

Number of the VLAN.

detail

(Optional) Displays detailed information.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display the prefixes for a specific VLAN:

Switch# show ip cef vlan 1003
Prefix              Next Hop             Interface
0.0.0.0/0           172.20.52.1          FastEthernet3/3
0.0.0.0/32          receive
10.7.0.0/16         172.20.52.1          FastEthernet3/3
10.16.18.0/23       172.20.52.1          FastEthernet3/3
Switch# 

This example shows how to display detailed IP CEF information for a specific VLAN:

Switch# show ip cef vlan 1003 detail
IP Distributed CEF with switching (Table Version 2364), flags=0x0
  1383 routes, 0 reresolve, 0 unresolved (0 old, 0 new)
  1383 leaves, 201 nodes, 380532 bytes, 2372 inserts, 989 invalidations
  0 load sharing elements, 0 bytes, 0 references
  universal per-destination load sharing algorithm, id 9B6C9823
  3 CEF resets, 0 revisions of existing leaves
  refcounts:  54276 leaf, 51712 node

Adjacency Table has 5 adjacencies
Switch# 

show ip dhcp snooping

To display the DHCP snooping configuration, use the show ip dhcp snooping command.

show ip dhcp snooping

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(12c)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display the DHCP snooping configuration:

Switch# sh ip dhcp snooping

sh ip dhcp snooping 
Switch DHCP snooping is enabled 
DHCP snooping is configured on following VLANs: 
5 10 
Insertion of option 82 is enabled 
Interface                Trusted     Rate limit (pps) 
--------------------     -------     ---------------- 
FastEthernet6/11         no          10 
FastEthernet6/36         yes         50 
Switch# 

Related Commands

ip dhcp snooping
ip dhcp snooping information option
ip dhcp snooping limit rate
ip dhcp snooping trust
ip dhcp snooping vlan

show ip dhcp snooping binding

To display DHCP snooping binding entries, use the show ip dhcp snooping binding command.

show ip dhcp snooping binding [ip-address] [mac-address] [dynamic | static] [vlan vlan_num]
[
interface interface_num]

Syntax Description

ip-address

(Optional) Specifies the binding entries IP address.

mac-address

(Optional) Specifies the binding entries MAC address.

dynamic

(Optional) Specifies dynamic binding entries.

static

(Optional) Specifies static binding entries.

vlan vlan_num

(Optional) Specifies a VLAN.

interface interface_num

(Optional) Specifies an interface.


Defaults

If no argument is specified the switch will display the entire DHCP snooping binding table.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(12c)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

DHCP snooping is enabled on a VLAN only if both the global snooping and the VLAN snooping are enabled.

To configure a range of VLANs, use the optional last_vlan variable to specify the end of the VLAN range.

Examples

This example shows how to display the DHCP snooping binding entries for a switch:

Switch# show ip dhcp snooping binding 

MacAddress      IP Address     Lease (seconds)     Type       VLAN     Interface 
-----------     -----------    ----------------    -----      -----    ------------ 
0000.0100.0201   10.0.0.1         1600                  dynamic     100       FastEthernet3/1
Switch# 

This example shows how to display a DHCP snooping binding entries IP address:

Switch# show ip dhcp snooping binding 172.100.101.102

MacAddress      IP Address       Lease (seconds)     Type       VLAN     Interface 
-----------     -----------      ----------------    -----      -----    ------------ 
0000.0100.0201    172.100.101.102   1600                  dynamic     100       FastEthernet3/1
Switch# 

This example shows how to display the DHCP snooping binding entries MAC address:

Switch# show ip dhcp snooping binding 55.5.5.2 0002.b33f.3d5f 

MacAddress          IpAddress        Lease(sec)  Type     VLAN  Interface 
------------------  ---------------  ----------  -------  ----  -------------------- 
00:02:B3:3F:3D:5F   55.5.5.2         492         dynamic  99    FastEthernet6/36 
Switch# 

This example shows how to display the DHCP snooping binding entries MAC address for a specific VLAN:

Switch# show ip dhcp snooping binding 55.5.5.2 0002.b33f.3d5f vlan 99 

MacAddress          IpAddress        Lease(sec)  Type     VLAN  Interface 
------------------  ---------------  ----------  -------  ----  -------------------- 
00:02:B3:3F:3D:5F   55.5.5.2         479         dynamic  99    FastEthernet6/36 
Switch# 

This example shows how to display dynamic DHCP snooping binding entries:

Switch# show ip dhcp snooping binding dynamic

MacAddress      IP Address     Lease (seconds)     Type       VLAN     Interface 
-----------     -----------    ----------------    -----      -----    ------------ 
0000.0100.0201   10.0.0.1         1600                  dynamic     100       FastEthernet3/1
Switch# 

This example shows how to display DHCP snooping binding entries on VLAN 100:

Switch# show ip dhcp snooping binding vlan 100'

MacAddress      IP Address     Lease (seconds)     Type       VLAN     Interface 
-----------     -----------    ----------------    -----      -----    ------------ 
0000.0100.0201   10.0.0.1         1600                  dynamic     100       FastEthernet3/1
Switch# 

This example shows how to display DHCP snooping binding entries on Ethernet interface 0/1:

Switch# show ip dhcp snooping binding interface FastEthernet3/1

MacAddress      IP Address     Lease (seconds)     Type       VLAN     Interface 
-----------     -----------    ----------------    -----      -----    ------------ 
0000.0100.0201   10.0.0.1         1600                  dynamic     100       FastEthernet3/1
Switch# 

Table 2-18 describes the fields in the show ip dhcp snooping command output.

Table 2-18 show ip dhcp snooping Command Output

Field
Description 

Mac Address

Client hardware MAC address

IP Address

Client IP address assigned from the DHCP server

Lease (seconds)

IP address lease time

Type

Binding type; statically configured from CLI or dynamically learned

VLAN

VLAN number of the client interface

Interface

Interface that connects to the DHCP client host


Related Commands

ip igmp snooping
ip dhcp snooping information option
ip dhcp snooping limit rate
ip dhcp snooping trust
ip igmp snooping vlan

show ip flow export

To display export statistics, use the show ip flow export command.

show ip flow export

Syntax Description

This command has no keywords and arguments.

Defaults

This command has no default settings.

Command Modes

EXEC

Command History

Release
Modification

12.1(13)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

To use these commands, you need to install the Supervisor Engine IV and the NetFlow Service Card. Table 2-19 describes the fields in the flow switching cache lines of the output.

Table 2-19 show ip cache flow Command Output Fields—Flow Switching Cache 

Field
Description

Exporting flows to

IP address and UDP port number of the workstation to which flows are exported.

Exporting using source interface

Interface type used as the source IP address.

Version 5 flow records

Exported packets use version 5 format and the export statistics. The number of records stored in the datagram is a variable between 1 and 30 for version 5.

flows exported in udp datagrams

Total number of flows exported and the total number of UDP datagrams used to export the flows to the workstation.

failed

Number of flows that could not be exported by the Switch because of output interface limitations.


Examples

This example shows how to use the show ip flow export command:

Switch# show ip flow export
Flow export is enabled
  Exporting flows to 40.0.0.2 (9991)
  Exporting using source IP address 30.0.0.1
  Version 5 flow records
  2 flows exported in 2 udp datagrams
  0 flows failed due to lack of export packet
  0 export packets were sent up to process level
  0 export packets were dropped due to no fib
  0 export packets were dropped due to adjacency issues
  0 export packets were dropped due to fragmentation failures
  0 export packets were dropped due to encapsulation fixup failures
Switch#                 

show ip igmp interface

To view IP IGMP interface status and configuration information, use the show ip igmp interface command.

show ip igmp interface [FastEthernet slot/port | GigabitEthernet slot/port |
null interface-number | vlan vlan_id]

Syntax Description

FastEthernet
slot/port

(Optional) Specifies the Fast Ethernet interface and the number of the slot and port.

GigabitEthernet
slot/port

(Optional) Specifies the Gigabit Ethernet interface and the number of the slot and port; valid values are from 1 to 9.

null interface-number

(Optional) Specifies the null interface and the number of the interface; the only valid value is 0.

vlan vlan_id

(Optional) Specifies the VLAN and the number of the VLAN; valid values are from 1 to 4094.


Defaults

If you do not specify a VLAN, information for VLAN 1 is shown.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Usage Guidelines

If you omit the optional arguments, the show ip igmp interface command displays information about all interfaces.

Examples

This example shows how to view IGMP information for VLAN 200:

Switch# show ip igmp interface vlan 200
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is disabled on this Vlan
IGMP snooping mrouter learn mode is pim-dvmrp on this Vlan
IGMP snooping is running in IGMP-ONLY mode on this VLAN
Switch# 

Related Commands

clear ip igmp group
show ip igmp snooping mrouter

show ip igmp profile

To view all configured IGMP profiles or a specified IGMP profile, use the show ip igmp profile privileged EXEC command.

show ip igmp profile [profile number]

Syntax Description

profile number

(Optional) IGMP profile number to be displayed; valid ranges are from 1 to 4294967295.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(11b)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

If no profile number is entered, all IGMP profiles are displayed.

Examples

This example shows how to display IGMP profile 40:

Switch# show ip igmp profile 40
IGMP Profile 40
    permit
    range 233.1.1.1 233.255.255.255

Switch#

This examples shows how to display all IGMP profiles:

Switch# show ip igmp profile
IGMP Profile 3
    range 230.9.9.0 230.9.9.0
IGMP Profile 4
    permit
    range 229.9.9.0 229.255.255.255
Switch# 

Related Commands

ip igmp profile

show ip igmp snooping mrouter

To display information on dynamically learned and manually configured multicast switch interfaces, use the show ip igmp snooping mrouter command.

show ip igmp snooping mrouter [{vlan vlan-id}]

Syntax Description

vlan vlan-id

(Optional) Specifies a VLAN; valid values are from 1 to 1001 and from 1006 to 4094.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Usage Guidelines

You can also use the show mac-address-table multicast command to display entries in the MAC address table for a VLAN that has IGMP snooping enabled.

You can display IGMP snooping information for VLAN interfaces by entering the show ip igmp interface vlan vlan-num command.

Examples

This example shows how to display snooping information for a specific VLAN:

Switch# show ip igmp snooping mrouter vlan 1
vlan            ports
-----+----------------------------------------
  1          Gi1/1,Gi2/1,Fa3/48,Switch
Switch# 

Related Commands

ip igmp snooping vlan mrouter
show ip igmp interface
show mac-address-table multicast

show ip igmp snooping vlan

To display information on dynamically learned and manually configured VLAN switch interfaces, use the show ip igmp snooping vlan command.

show ip igmp snooping vlan vlan_num

Syntax Description

vlan_num

Number of the VLAN; valid values are from 1 to 1001 and from 1006 to 4094.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Support for extended addressing was added.


Usage Guidelines

You can also use the show mac-address-table multicast command to display entries in the MAC address table for a VLAN that has IGMP snooping enabled.

Examples

This example shows how to display snooping information for a specific VLAN:

Switch# show ip igmp snooping vlan 2
vlan 2
----------
IGMP snooping is globally enabled
IGMP snooping TCN solicit query is globally enabled
IGMP snooping global TCN flood query count is 2
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is disabled on this Vlan
IGMP snooping mrouter learn mode is pim-dvmrp on this Vlan
IGMP snooping is running in IGMP_ONLY mode on this Vlan
Switch# 

Related Commands

ip igmp snooping
ip igmp snooping vlan immediate-leave
ip igmp snooping vlan mrouter
ip igmp snooping vlan static
show ip igmp interface
(refer to Cisco IOS documentation)
show ip igmp snooping mrouter
show mac-address-table multicast

show ip mfib

To display all active Multicast Forwarding Information Base (MFIB) routes, use the show ip mfib command.

show ip mfib [all | counters | log [n]]

Syntax Description

all

(Optional) Specifies all routes in the MFIB, including those routes that are used to accelerate fast switching but that are not necessarily in the upper-layer routing protocol table.

counters

(Optional) Specifies the counts of MFIB-related events. Only non-zero counters are shown.

log

(Optional) Specifies a log of the most recent number of MFIB-related events. The most recent event is first.

n

(Optional) Specifies the number of events.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

The MFIB table contains a set of IP multicast routes; each route in the MFIB table contains several flags that associate to the route.

The route flags indicate how a packet that matches a route is forwarded. For example, the IC flag on an MFIB route indicates that some process on the switch needs to receive a copy of the packet. The following flags are associated with MFIB routes:

Internal Copy (IC) flag—Set on a route when a process on the switch needs to receive a copy of all packets matching the specified route.

Signaling (S) flag—Set on a route when a switch process needs notification that a packet matching the route is received. In the expected behavior, the protocol code updates the MFIB state in response to having received a packet on a signaling interface.

Connected (C) flag—When set on a route, the C flag has the same meaning as the S flag, except that the C flag indicates that only packets sent by directly connected hosts to the route should be signaled to a protocol process.

A route can also have a set of flags associated with one or more interfaces. For an (S,G) route, the flags on interface 1 indicate how ingress packets should be treated and whether packets matching the route should be forwarded onto interface 1. The following per-interface flags are associated with MFIB routes:

Accepting (A)—Set on the RPF interface when a packet that arrives on the interface and that is marked as Accepting (A) is forwarded to all Forwarding (F) interfaces.

Forwarding (F)—Used in conjunction with the A flag as described above. The set of forwarding interfaces together form a multicast olist or output interface list.

Signaling (S)—Set on an interface when a multicast routing protocol process in Cisco IOS needs to be notified of ingress packets on that interface.

Not Platform (NP) fast-switched—Used in conjunction with the F flag. A forwarding interface is also marked as Not Platform fast-switched whenever that output interface cannot be fast-switched by the platform hardware and requires software forwarding.

For example, the Catalyst 4006 switch with Supervisor Engine III cannot switch tunnel interfaces in hardware so these interfaces are marked with the NP flag. When an NP interface is associated with a route, a copy of every ingress packet arriving on an Accepting interface is sent to the switch software forwarding path for software replication and then forwarded to the NP interface.

Examples

This example shows how to display all active MFIB routes:

Switch# show ip mfib
IP Multicast Forwarding Information Base
Entry Flags: C - Directly Connected, S - Signal,
             IC - Internal Copy
Interface Flags: A - Accept, F - Forward, NS - Signal,
             NP - Not platform switched
Packets: Fast/Partial/Slow Bytes: Fast/Partial/Slow:
(171.69.10.13, 224.0.1.40), flags (IC)
   Packets: 2292/2292/0, Bytes: 518803/0/518803
   Vlan7 (A)
   Vlan100 (F NS)
   Vlan105 (F NS)
(*, 224.0.1.60), flags ()
   Packets: 2292/0/0, Bytes: 518803/0/0
   Vlan7 (A NS)
(*, 224.0.1.75), flags ()
   Vlan7 (A NS)
(10.34.2.92, 239.192.128.80), flags ()
   Packets: 24579/100/0, 2113788/15000/0 bytes
   Vlan7 (F NS)
   Vlan100 (A)
(*, 239.193.100.70), flags ()
   Packets: 1/0/0, 1500/0/0 bytes
   Vlan7 (A) 
Switch# 

Related Commands

clear ip mfib counters

show ip mfib fastdrop

To show all currently-active fast drop entries and to show whether fast drop is enabled, use the show ip mfib fastdrop command.

show ip mfib fastdrop

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display all currently-active fast drop entries and whether fast drop is enabled.

Switch# show ip mfib fasttdrop 
MFIB fastdrop is enabled.
MFIB fast-dropped flows:
(10.0.0.1, 224.1.2.3, Vlan9 ) 00:01:32
(10.1.0.2, 224.1.2.3, Vlan9 ) 00:02:30
(1.2.3.4, 225.6.7.8, Vlan3) 00:01:50
Switch# 

Related Commands

clear ip mfib fastdrop

show ip mroute

To display IP multicast routing table information, use the show ip mroute command.

show ip mroute [interface_type slot/port | host_name | host_address [source] | active [kbps | interface_type num] | count | pruned | static | summary]

Syntax Description

interface_type
slot/port

(Optional) Interface type and number of the slot and port; valid values for interface type are FastEthernet, GigabitEthernet, null, and vlan.

host_name

(Optional) Name or IP address as defined in the DNS hosts table.

host_address
source

(Optional) IP address or name of a multicast source.

active

(Optional) Displays the rate that active sources are sending to multicast groups.

kbps
interface_type num

(Optional) Minimum rate at which active sources are sending to multicast groups; active sources sending at this rate or greater will be displayed. Valid values are from 1 to 4294967295 kbps.

count

(Optional) Displays route and packet count information.

pruned

(Optional) Displays pruned routes.

static

(Optional) Displays static multicast routes.

summary

(Optional) Displays a one-line, abbreviated summary of each entry in the IP multicast routing table.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

If you omit all optional arguments and keywords, the show ip mroute command displays all entries in the IP multicast routing table.

The show ip mroute active kbps command displays all sources sending at a rate greater than or equal to kbps.

The multicast routing table is populated by creating source, group (S,G) entries from star, group (*,G) entries. The star refers to all source addresses, the "S" refers to a single source address, and the "G" is the destination multicast group address. In creating (S,G) entries, the software uses the best path to that destination group found in the unicast routing table (that is, through Reverse Path Forwarding (RPF).

Examples

This example shows how to display all entries in the IP multicast routing table:

Switch# show ip mroute

IP Multicast Routing Table
Flags:D - Dense, S - Sparse, s - SSM Group, C - Connected, L - Local,
       P - Pruned, R - RP-bit set, F - Register flag, T - SPT-bit set,
       J - Join SPT, M - MSDP created entry, X - Proxy Join Timer Running
       A - Advertised via MSDP, U - URD, I - Received Source Specific Host
           Report 
Outgoing interface flags:H - Hardware switched
Timers:Uptime/Expires
Interface state:Interface, Next-Hop or VCD, State/Mode
(*, 230.13.13.1), 00:16:41/00:00:00, RP 10.15.1.20, flags:SJC
  Incoming interface:GigabitEthernet4/8, RPF nbr 10.15.1.20
  Outgoing interface list:
 GigabitEthernet4/9, Forward/Sparse-Dense, 00:16:41/00:00:00, H
(*, 230.13.13.2), 00:16:41/00:00:00, RP 10.15.1.20, flags:SJC
 Incoming interface:GigabitEthernet4/8, RPF nbr 10.15.1.20, RPF-MFD
  Outgoing interface list:
    GigabitEthernet4/9, Forward/Sparse-Dense, 00:16:41/00:00:00, H
(10.20.1.15, 230.13.13.1), 00:14:31/00:01:40, flags:CJT
 Incoming interface:GigabitEthernet4/8, RPF nbr 10.15.1.20, RPF-MFD
  Outgoing interface list:
    GigabitEthernet4/9, Forward/Sparse-Dense, 00:14:31/00:00:00, H
(132.206.72.28, 224.2.136.89), 00:14:31/00:01:40, flags:CJT
  Incoming interface:GigabitEthernet4/8, RPF nbr 10.15.1.20, RPF-MFD
 Outgoing interface list:Null
Switch# 

This example shows how to display the rate that active sources are sending to multicast groups and to display only active sources sending at greater than the default rate:

Switch# show ip mroute active

Active IP Multicast Sources - sending > = 4 kbps

Group: 224.2.127.254, (sdr.cisco.com)
   Source: 146.137.28.69 (mbone.ipd.anl.gov)
     Rate: 1 pps/4 kbps(1sec), 4 kbps(last 1 secs), 4 kbps(life avg)

Group: 224.2.201.241, ACM 97
   Source: 130.129.52.160 (webcast3-e1.acm97.interop.net)
     Rate: 9 pps/93 kbps(1sec), 145 kbps(last 20 secs), 85 kbps(life avg)

Group: 224.2.207.215, ACM 97
   Source: 130.129.52.160 (webcast3-e1.acm97.interop.net)
     Rate: 3 pps/31 kbps(1sec), 63 kbps(last 19 secs), 65 kbps(life avg)
Switch# 

This example shows how to display route and packet count information:

Switch# show ip mroute count
IP Multicast Statistics
56 routes using 28552 bytes of memory
13 groups, 3.30 average sources per group
Forwarding Counts:Pkt Count/Pkts per second/Avg Pkt Size/Kilobits per second
Other counts:Total/RPF failed/Other drops(OIF-null, rate-limit etc)
Group:224.2.136.89, Source count:1, Group pkt count:29051
  Source:132.206.72.28/32, Forwarding:29051/-278/1186/0, Other:85724/8/56665
Switch# 

This example shows how to display summary information:

Switch# show ip mroute summary
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, s - SSM Group, C - Connected, L - Local,
       P - Pruned, R - RP-bit set, F - Register flag, T - SPT-bit set,
       J - Join SPT, M - MSDP created entry, X - Proxy Join Timer Running
       A - Advertised via MSDP, U - URD, I - Received Source Specific Host
           Report
Outgoing interface flags: H - Hardware switched
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode

Switch# 

Table 2-20 describes the fields shown in the output.

Table 2-20 show ip mroute Field Descriptions 

Field
Description

Flags:

Information about the entry.

D - Dense

Entry is operating in dense mode.

S - Sparse

Entry is operating in sparse mode.

s - SSM Group

Entry is a member of an SSM group.

C - Connected

Member of the multicast group is present on the directly connected interface.

L - Local

Switch itself is a member of the multicast group.

P - Pruned

Route has been pruned. This information is retained in case a downstream member wants to join the source.

R - Rp-bit set

Status of the (S,G) entry; is the (S,G) entry pointing toward the RP. The R - Rp-bit set is typically a prune state along the shared tree for a particular source.

F - Register flag

Status of the software; is the software registered for a multicast source.

T - SPT-bit set

Status of the packets; have the packets been received on the shortest path source tree.

J - Join SPT

For (*, G) entries, indicates that the rate of traffic flowing down the shared tree is exceeding the SPT-Threshold set for the group. (The default SPT-Threshold setting is 0 kbps.) When the J - Join SPT flag is set, the next (S,G) packet received down the shared tree triggers an (S,G) join in the direction of the source causing the switch to join the source tree.

For (S, G) entries, indicates that the entry was created because the SPT-Threshold for the group was exceeded. When the J - Join SPT flag is set for (S,G) entries, the switch monitors the traffic rate on the source tree and attempts to switch back to the shared tree for this source if the traffic rate on the source tree falls below the group's SPT-Threshold for more than one minute.

The switch measures the traffic rate on the shared tree and compares the measured rate to the group's SPT-Threshold once every second. If the traffic rate exceeds the SPT-Threshold, the J- Join SPT flag is set on the (*, G) entry until the next measurement of the traffic rate. The flag is cleared when the next packet arrives on the shared tree and a new measurement interval is started.

If the default SPT-Threshold value of 0 Kbps is used for the group, the J- Join SPT flag is always set on (*, G) entries and is never cleared. When the default SPT-Threshold value is used, the switch immediately switches to the shortest-path tree when traffic from a new source is received.

Outgoing interface flag:

Information about the outgoing entry.

H - Hardware switched

Entry is hardware switched.

Timer:

Uptime/Expires.

Interface state:

Interface, Next-Hop or VCD, State/Mode.

(*, 224.0.255.1)
(198.92.37.100/32, 224.0.255.1)

Entry in the IP multicast routing table. The entry consists of the IP address of the source switch followed by the IP address of the multicast group. An asterisk (*) in place of the source switch indicates all sources.

Entries in the first format are referred to as (*,G) or "star comma G" entries. Entries in the second format are referred to as (S,G) or "S comma G" entries. (*,G) entries are used to build (S,G) entries.

uptime

How long (in hours, minutes, and seconds) the entry has been in the IP multicast routing table.

expires

How long (in hours, minutes, and seconds) until the entry is removed from the IP multicast routing table on the outgoing interface.

RP

Address of the RP switch. For switches and access servers operating in sparse mode, this address is always 0.0.0.0.

flags:

Information about the entry.

Incoming interface

Expected interface for a multicast packet from the source. If the packet is not received on this interface, it is discarded.

RPF neighbor

IP address of the upstream switch to the source. "Tunneling" indicates that this switch is sending data to the RP encapsulated in Register packets. The hexadecimal number in parentheses indicates to which RP it is registering. Each bit indicates a different RP if multiple RPs per group are used.

DVMRP or Mroute

Status of whether the RPF information is obtained from the DVMRP routing table or the static mroutes configuration.

Outgoing interface list

Interfaces through which packets are forwarded. When the ip pim nbma-mode command is enabled on the interface, the IP address of the PIM neighbor is also displayed.

Ethernet0

Name and number of the outgoing interface.

Next hop or VCD

Next hop specifies downstream neighbor's IP address. VCD specifies the virtual circuit descriptor number. VCD0 means the group is using the static-map virtual circuit.

Forward/Dense

Status of the packets; are they forwarded on the interface if there are no restrictions due to access lists or the TTL threshold. Following the slash (/), mode in which the interface is operating (dense or sparse).

Forward/Sparse

Sparse mode interface is in forward mode.

time/time
(uptime/expiration time)

Per interface, how long (in hours, minutes, and seconds) the entry has been in the IP multicast routing table. Following the slash (/), how long (in hours, minutes, and seconds) until the entry is removed from the IP multicast routing table.


Related Commands

ip multicast-routing (refer to Cisco IOS documentation)
ip pim (refer to Cisco IOS documentation)

show ipc

To display IPC information, use the show ipc command.

show ipc {nodes | ports | queue | status}

Syntax Description

nodes

Displays participating nodes.

ports

Displays local IPC ports.

queue

Displays the contents of the IPC retransmission queue.

status

Displays the status of the local IPC server.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(12c)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display participating nodes:

Switch# show ipc nodes
There are 3 nodes in this IPC realm.
   ID     Type                 Name                       Last  Last
                                                          Sent  Heard
   10000 Local      IPC Master                               0      0     
 2010000 Local      GALIOS IPC:Card 1                        0      0     
 2020000 Ethernet   GALIOS IPC:Card 2                        12     26 
Switch#  

This example shows how to display local IPC ports:

Switch# show ipc ports
There are 11 ports defined.

Port ID        Type       Name                 (current/peak/total)
   10000.1     unicast    IPC Master:Zone                      
   10000.2     unicast    IPC Master:Echo                      
   10000.3     unicast    IPC Master:Control                   
   10000.4     unicast    Remote TTY Server Port               
   10000.5     unicast    GALIOS RF :Active                    
     index = 0  seat_id = 0x2020000  last sent = 0     heard = 1635   0/1/1635

   10000.6     unicast    GALIOS RED:Active                    
     index = 0  seat_id = 0x2020000  last sent = 0     heard = 2      0/1/2

 2020000.3     unicast    GALIOS IPC:Card 2:Control            
 2020000.4     unicast    GALIOS RFS :Standby                  
 2020000.5     unicast    Slave: Remote TTY Client Port        
 2020000.6     unicast    GALIOS RF :Standby                   
 2020000.7     unicast    GALIOS RED:Standby                   

RPC packets: current/peak/total
                                                            0/1/17
Switch# 

This example shows how to display the contents of the IPC retransmission queue:

Switch# show ipc queue
There are 0 IPC messages waiting for acknowledgement in the transmit queue.
There are 0 IPC messages waiting for a response.
There are 0 IPC messages waiting for additional fragments.
There are 0 IPC messages currently on the IPC inboundQ.
There are 0 messages currently in use by the system.
Switch# 

This example shows how to display the status of the local IPC server:

Switch# show ipc status
IPC System Status:

This processor is the IPC master server.

6000 IPC message headers in cache
3363 messages in, 1680 out, 1660 delivered to local port,
1686 acknowledgements received, 1675 sent,
0 NACKS received, 0 sent,
0 messages dropped on input, 0 messages dropped on output
0 no local port, 0 destination unknown, 0 no transport
0 missing callback or queue, 0 duplicate ACKs, 0 retries,
0 message timeouts.
0 ipc_output failures, 0 mtu failures,
0 msg alloc failed, 0 emer msg alloc failed, 0 no origs for RPC replies
0 pak alloc failed, 0 memd alloc failed
0 no hwq, 1 failed opens, 0 hardware errors
No regular dropping of IPC output packets for test purposes
Switch# 

show lacp

To display LACP information, use the show lacp command.

show lacp [channel-group] {counters | internal | neighbors | sys-id}

Syntax Description

channel-group

(Optional) Number of the channel group; valid values are from 1 to 64.

counters

Displays the LACP statistical information.

internal

Displays the internal information.

neighbors

Displays the neighbor information.

sys-id

Displays the LACP system identification.


Defaults

This command has no default settings.

Command Modes

EXEC

Command History

Release
Modification

12.1(13)EW

Support for this command was introduced on the Catalyst 4000 Family.


Usage Guidelines

This command is not supported on systems configured with a Supervisor Engine 1.

If you do not specify a channel-group, all channel groups are displayed.

You can enter the optional channel-group to specify a channel group for all keywords, except the sys-id keyword.

Examples

This example shows how to display LACP statistical information for a specific channel group:

Switch# show lacp 1 counters
              LACPDUs         Marker       LACPDUs
Port       Sent   Recv     Sent   Recv     Pkts Err
---------------------------------------------------
Channel group: 1
  Fa4/1    8      15       0      0         3    0
  Fa4/2    14     18       0      0         3    0
  Fa4/3    14     18       0      0         0
  Fa4/4    13     18       0      0         0
Switch# 

The output displays the following information:

The LACPDUs Sent and Recv columns display the LACPDUs sent and received on each specific interface.

The LACPDUs Pkts and Err columns display the marker protocol packets.

This example shows how to display internal information for the interfaces belonging to a specific channel:

Switch# show lacp 1 internal
Flags:  S - Device sends PDUs at slow rate. F - Device sends PDUs at fast rate.
        A - Device is in Active mode.       P - Device is in Passive mode. 

Channel group 1
                            LACPDUs     LACP Port    Admin   Oper    Port     Port
Port      Flags    State    Interval    Priority     Key     Key     Number   State
Fa4/1     saC      bndl     30s         32768        100     100     0xc1     0x75
Fa4/2     saC      bndl     30s         32768        100     100     0xc2     0x75
Fa4/3     saC      bndl     30s         32768        100     100     0xc3     0x75
Fa4/4     saC      bndl     30s         32768        100     100     0xc4     0x75
Switch# 

Table 2-21 lists the output field definitions.

Table 2-21 show lacp internal Command Output Fields 

Field
Description

State

State of the specific port at the current moment is displayed; allowed values are as follows:

bndl—Port is attached to an aggregator and bundled with other ports.

susp—Port is in a suspended state; it is not attached to any aggregator.

indep—Port is in an independent state (not bundled but able to switch data traffic. In this case, LACP is not running on the partner port).

hot-sby—Port is in a Hot-standby state.

down—Port is down.

LACPDUs Interval

Interval setting.

LACP Port Priority

Port priority setting.

Admin Key

Administrative key.

Oper Key

Operator key.

Port Number

Port number.

Port State

State variables for the port encoded as individual bits within a single octet with the following meaning [1]:

bit0: LACP_Activity

bit1: LACP_Timeout

bit2: Aggregation

bit3: Synchronization

bit4: Collecting

bit5: Distributing

bit6: Defaulted

bit7: Expired


This example shows how to display LACP neighbors information for a specific port channel:

Switch# show lacp 1 neighbor
Flags:  S - Device sends PDUs at slow rate. F - Device sends PDUs at fast rate.
        A - Device is in Active mode.       P - Device is in Passive mode.

Channel group 1 neighbors
          Partner                 Partner 
Port      System ID               Port Number     Age     Flags
Fa4/1     8000,00b0.c23e.d84e     0x81            29s     P
Fa4/2     8000,00b0.c23e.d84e     0x82            0s      P
Fa4/3     8000,00b0.c23e.d84e     0x83            0s      P 
Fa4/4     8000,00b0.c23e.d84e     0x84            0s      P

          Port          Admin     Oper      Port
          Priority      Key       Key       State
Fa4/1     32768         200       200       0x81
Fa4/2     32768         200       200       0x81
Fa4/3     32768         200       200       0x81
Fa4/4     32768         200       200       0x81
Switch# 

In the case where no PDUs have been received, the default administrative information is displayed in braces.

This example shows how to display the LACP system identification:

Switch> show lacp sys-id
8000,AC-12-34-56-78-90
Switch> 

The system identification is made up of the system priority and the system MAC address. The first two bytes are the system priority, and the last six bytes are the globally administered individual MAC address associated to the system.

Related Commands

lacp port-priority
lacp system-priority

show mac-address-table address

To display MAC address table information for a specific MAC address, use the show mac-address-table address command.

show mac-address-table address mac_addr [interface type slot/port | protocol protocol | vlan vlan_id]

Syntax Description

mac_addr

48-bit MAC address; the valid format is H.H.H.

interface type slot/port

(Optional) Displays information for a specific interface; valid values for type are FastEthernet and GigabitEthernet.

protocol protocol

(Optional) Specifies a protocol. See "Usage Guidelines" for more information.

vlan vlan_id

(Optional) Displays entries for the specific VLAN only; valid values are from 1 to 4094.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Usage Guidelines

For MAC address table entries used by routed ports, the routed port name is displayed in the "vlan" column rather than the internal VLAN number.

The keyword definitions for the protocol variable are as follows:

ip specifies IP protocol.

ipx specifies IPX protocols.

assigned specifies assigned protocol entries.

other specifies other protocol entries.

Examples

This example shows how to display MAC address table information for a specific MAC address:

Switch# show mac-address-table address 0030.94fc.0dff
Unicast Entries
 vlan   mac address     type        protocols               port
-------+---------------+--------+---------------------+--------------------
   1    0030.94fc.0dff    static ip,ipx,assigned,other  Switch
Fa6/1   0030.94fc.0dff    static ip,ipx,assigned,other  Switch
Fa6/2   0030.94fc.0dff    static ip,ipx,assigned,other  Switch
Switch# 

Related Commands

show mac-address-table aging-time
show mac-address-table count
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan

show mac-address-table aging-time

To display the MAC address aging time, use the show mac-address-table aging-time command.

show mac-address-table aging-time [vlan vlan_id]

Syntax Description

vlan vlan_id

(Optional) Specifies a VLAN; valid values are from 1 to 4094.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Support for extended addressing was added.


Examples

This example shows how to display the currently configured aging time for all VLANs:

Switch# show mac-address-table aging-time 
Vlan    Aging Time
----    ----------
100     300
200     1000

Switch# 

This example shows how to display the currently configured aging time for a specific VLAN:

Switch# show mac-address-table aging-time vlan 100
Vlan    Aging Time
----    ----------
 100    300

Switch#                

Related Commands

show mac-address-table address
show mac-address-table count
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan

show mac-address-table count

To display the number of entries currently in the MAC address table, use the show mac-address-table count command.

show mac-address-table count [vlan vlan_id]

Syntax Description

vlan vlan_id

(Optional) Specifies a VLAN; valid values are from 1 to 4094.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Examples

This example shows how to display the entry count for a specific VLAN:

Switch# show mac-address-table count vlan 1
MAC Entries for Vlan 1:
Dynamic Unicast Address Count:                 0
Static Unicast Address (User-defined) Count:   0
Static Unicast Address (System-defined) Count: 1
Total Unicast MAC Addresses In Use:            1
Total Unicast MAC Addresses Available:         32768
Multicast MAC Address Count:                   1
Total Multicast MAC Addresses Available:       16384
Switch# 

Related Commands

show mac-address-table address
show mac-address-table aging-time
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan

show mac-address-table dynamic

To display dynamic MAC address table entries only, use the show mac-address-table dynamic command.

show mac-address-table dynamic [address mac_addr | interface type slot/port |
protocol protocol | vlan vlan_id]

Syntax Description

address mac_addr

(Optional) Specifies a 48-bit MAC address; the valid format is H.H.H.

interface type slot/port

(Optional) Specifies an interface to match; valid values for type are FastEthernet and GigabitEthernet.

protocol protocol

(Optional) Specifies a protocol. See "Usage Guidelines" for more information.

vlan vlan_id

(Optional) Displays entries for a specific VLAN; valid values are from 1 to 4094.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Usage Guidelines

The keyword definitions for the protocol argument are as follows:

assigned specifies assigned protocol entries.

ip specifies IP protocol.

ipx specifies IPX protocols.

other specifies other protocol entries.

The show mac-address-table dynamic command output for an EtherChannel interface changes the port number designation (for example, 5/7) to a port group number (for example, Po80).

For MAC address table entries used by routed ports, the routed port name is displayed in the "vlan" column rather than the internal VLAN number.

Examples

This example shows how to display all dynamic MAC address entries:

Switch# show mac-address-table dynamic
Unicast Entries
 vlan   mac address     type        protocols               port
-------+---------------+--------+---------------------+--------------------
   1    0000.0000.0201   dynamic ip                     FastEthernet6/15
   1    0000.0000.0202   dynamic ip                     FastEthernet6/15
   1    0000.0000.0203   dynamic ip,assigned            FastEthernet6/15
   1    0000.0000.0204   dynamic ip,assigned            FastEthernet6/15
   1    0000.0000.0205   dynamic ip,assigned            FastEthernet6/15
   2    0000.0000.0101   dynamic ip                     FastEthernet6/16
   2    0000.0000.0102   dynamic ip                     FastEthernet6/16
   2    0000.0000.0103   dynamic ip,assigned            FastEthernet6/16
   2    0000.0000.0104   dynamic ip,assigned            FastEthernet6/16
   2    0000.0000.0105   dynamic ip,assigned            FastEthernet6/16
Switch# 

This example shows how to display dynamic MAC address entries with a specific protocol type (in this case, assigned):

Switch# show mac-address-table dynamic protocol assigned
Unicast Entries
 vlan   mac address     type        protocols               port
-------+---------------+--------+---------------------+--------------------
   1    0000.0000.0203   dynamic ip,assigned            FastEthernet6/15
   1    0000.0000.0204   dynamic ip,assigned            FastEthernet6/15
   1    0000.0000.0205   dynamic ip,assigned            FastEthernet6/15
   2    0000.0000.0103   dynamic ip,assigned            FastEthernet6/16
   2    0000.0000.0104   dynamic ip,assigned            FastEthernet6/16
   2    0000.0000.0105   dynamic ip,assigned            FastEthernet6/16
Switch#                                                                 

Related Commands

show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan

show mac-address-table interface

To display the MAC address table information for a specific interface, use the show mac-address-table interface command.

show mac-address-table interface type slot/port

Syntax Description

type

Interface type; valid values are Ethernet, FastEthernet, and GigabitEthernet.

slot/port

Number of the slot and port.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

For MAC address table entries used by routed ports, the routed port name is displayed in the "vlan" column rather than the internal VLAN number.

Examples

This example shows how to display MAC address table information for a specific interface:

Switch# show mac-address-table interface fa6/16
Unicast Entries
 vlan   mac address     type        protocols               port
-------+---------------+--------+---------------------+--------------------
   2    0000.0000.0101   dynamic other                  FastEthernet6/16
   2    0000.0000.0102   dynamic other                  FastEthernet6/16
   2    0000.0000.0103   dynamic other                  FastEthernet6/16
   2    0000.0000.0104   dynamic other                  FastEthernet6/16
   2    0000.0000.0105   dynamic other                  FastEthernet6/16
   2    0000.0000.0106   dynamic other                  FastEthernet6/16

Multicast Entries
 vlan    mac address     type    ports
-------+---------------+-------+-------------------------------------------
   2    ffff.ffff.ffff   system Fa6/16
Switch# 

Related Commands

show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table dynamic
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan

show mac-address-table multicast

To display multicast MAC address table information, use the show mac-address-table multicast command.

show mac-address-table multicast [count | {igmp-snooping [count]} | {user [count]} |
{vlan vlan_num}]

Syntax Description

count

(Optional) Displays number of multicast entries.

igmp-snooping

(Optional) Displays only addresses learned by IGMP snooping.

user

(Optional) Displays only user entered static addresses.

vlan vlan_num

(Optional) Displays information for a specific VLAN only; valid values are from 1 to 4094.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Usage Guidelines

For MAC address table entries used by routed ports, the routed port name is displayed in the "vlan" column rather than the internal VLAN number.

Examples

This example shows how to display multicast MAC address table information for a specific VLAN:

Switch# show mac-address-table multicast vlan 1
Multicast Entries
 vlan    mac address     type    ports
-------+---------------+-------+-------------------------------------------
   1    ffff.ffff.ffff   system Switch,Fa6/15
Switch# 

This example shows how to display the number of multicast MAC entries for all VLANs:

Switch# show mac-address-table multicast count
MAC Entries for all vlans:
Multicast MAC Address Count:                   141
Total Multicast MAC Addresses Available:       16384
Switch#     

Related Commands

show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan

show mac-address-table protocol

To display MAC address table information based on the protocol, use the show mac-address-table protocol command.

show mac-address-table protocol {assigned | ip | ipx | other}

Syntax Description

assigned

Specifies assigned protocol entries.

ip

Specifies IP protocol entries.

ipx

Specifies IPX protocol entries.

other

Specifies other protocol entries.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

For MAC address table entries used by routed ports, the routed port name is displayed in the "vlan" column rather than the internal VLAN number.

Examples

This example shows how to display MAC address table entries that have a specific protocol type (in this case, assigned):

Switch# show mac-address-table protocol assigned
vlan   mac address     type    protocol  qos             ports
-----+---------------+--------+---------+---+--------------------------------
 200  0050.3e8d.6400  static   assigned  --  Switch
 100  0050.3e8d.6400  static   assigned  --  Switch
   5  0050.3e8d.6400  static   assigned  --  Switch
4092  0000.0000.0000  dynamic  assigned  --  Switch
   1  0050.3e8d.6400  static   assigned  --  Switch
   4  0050.3e8d.6400  static   assigned  --  Switch
4092  0050.f0ac.3058  static   assigned  --  Switch
4092  0050.f0ac.3059  dynamic  assigned  --  Switch
   1  0010.7b3b.0978  dynamic  assigned  --  Fa5/9
Switch# 

This example shows the other output for the previous example:

Switch# show mac-address-table protocol other
Unicast Entries
 vlan   mac address     type        protocols               port
-------+---------------+--------+---------------------+--------------------
   1    0000.0000.0201   dynamic other                  FastEthernet6/15
   1    0000.0000.0202   dynamic other                  FastEthernet6/15
   1    0000.0000.0203   dynamic other                  FastEthernet6/15
   1    0000.0000.0204   dynamic other                  FastEthernet6/15
   1    0030.94fc.0dff    static ip,ipx,assigned,other  Switch
   2    0000.0000.0101   dynamic other                  FastEthernet6/16
   2    0000.0000.0102   dynamic other                  FastEthernet6/16
   2    0000.0000.0103   dynamic other                  FastEthernet6/16
   2    0000.0000.0104   dynamic other                  FastEthernet6/16
Fa6/1   0030.94fc.0dff    static ip,ipx,assigned,other  Switch
Fa6/2   0030.94fc.0dff    static ip,ipx,assigned,other  Switch

Multicast Entries
 vlan    mac address     type    ports
-------+---------------+-------+-------------------------------------------
   1    ffff.ffff.ffff   system Switch,Fa6/15
   2    ffff.ffff.ffff   system Fa6/16
1002    ffff.ffff.ffff   system
1003    ffff.ffff.ffff   system
1004    ffff.ffff.ffff   system
1005    ffff.ffff.ffff   system
Fa6/1   ffff.ffff.ffff   system Switch,Fa6/1
Fa6/2   ffff.ffff.ffff   system Switch,Fa6/2
Switch#  

Related Commands

show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table static
show mac-address-table vlan

show mac-address-table static

To display static MAC address table entries only, use the show mac-address-table static command.

show mac-address-table static [address mac_addr | interface type number | protocol protocol | vlan vlan_id]

Syntax Description

address mac_addr

(Optional) Specifies a 48-bit MAC address to match; the valid format is H.H.H.

interface type slot/port

(Optional) Specifies an interface to match; valid values for type are FastEthernet and GigabitEthernet.

protocol protocol

(Optional) Specifies a protocol. See "Usage Guidelines" for more information.

vlan vlan_id

(Optional) Displays entries for a specific VLAN; valid values are from 1 to 4094.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Usage Guidelines

For MAC address table entries used by routed ports, the routed port name is displayed in the "vlan" column rather than the internal VLAN number.

The keyword definitions for the protocol argument are as follows:

assigned specifies assigned protocol entries.

ip specifies IP protocol.

ipx specifies IPX protocols.

other specifies other protocol entries.

Examples

This example shows how to display all static MAC address entries:

Switch# show mac-address-table static
Unicast Entries
 vlan   mac address     type        protocols               port
-------+---------------+--------+---------------------+--------------------
   1    0030.94fc.0dff    static ip,ipx,assigned,other  Switch
Fa6/1   0030.94fc.0dff    static ip,ipx,assigned,other  Switch
Fa6/2   0030.94fc.0dff    static ip,ipx,assigned,other  Switch

Multicast Entries
 vlan    mac address     type    ports
-------+---------------+-------+-------------------------------------------
   1    ffff.ffff.ffff   system Switch,Fa6/15
   2    ffff.ffff.ffff   system Fa6/16
1002    ffff.ffff.ffff   system
1003    ffff.ffff.ffff   system
1004    ffff.ffff.ffff   system
1005    ffff.ffff.ffff   system
Fa6/1   ffff.ffff.ffff   system Switch,Fa6/1
Fa6/2   ffff.ffff.ffff   system Switch,Fa6/2
.
.
Switch# 

This example shows how to display static MAC address entries with a specific protocol type (in this case, assigned):

Switch# show mac-address-table static protocol assigned
Unicast Entries
 vlan   mac address     type        protocols               port
-------+---------------+--------+---------------------+--------------------
   1    0030.94fc.0dff    static ip,ipx,assigned,other  Switch
Fa6/1   0030.94fc.0dff    static ip,ipx,assigned,other  Switch
Fa6/2   0030.94fc.0dff    static ip,ipx,assigned,other  Switch

Multicast Entries
 vlan    mac address     type    ports
-------+---------------+-------+-------------------------------------------
   1    ffff.ffff.ffff   system Switch,Fa6/15
   2    ffff.ffff.ffff   system Fa6/16
1002    ffff.ffff.ffff   system
1003    ffff.ffff.ffff   system
1004    ffff.ffff.ffff   system
1005    ffff.ffff.ffff   system
Fa6/1   ffff.ffff.ffff   system Switch,Fa6/1
Fa6/2   ffff.ffff.ffff   system Switch,Fa6/2
Switch# 

Related Commands

show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table vlan

show mac-address-table vlan

To display MAC address table information for a specific VLAN, use the show mac-address-table vlan command.

show mac-address-table [vlan vlan_id] [protocol protocol]

Syntax Description

vlan vlan_id

(Optional) Displays entries for a specific VLAN; valid values are from 1 to 4094.

protocol protocol

(Optional) Specifies a protocol. See "Usage Guidelines" for more information.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Support for extended addressing was added.


Usage Guidelines

For MAC address table entries used by routed ports, the routed port name is displayed in the "vlan" column rather than the internal VLAN number.

The keyword definitions for the protocol variable are as follows:

assigned specifies assigned protocol entries.

ip specifies IP protocol.

ipx specifies IPX protocols.

other specifies other protocol entries.

Examples

This example shows how to display MAC address table information for a specific VLAN:

Switch# show mac-address-table vlan 1
Unicast Entries
 vlan   mac address     type        protocols               port
-------+---------------+--------+---------------------+--------------------
   1    0000.0000.0201   dynamic ip                     FastEthernet6/15
   1    0000.0000.0202   dynamic ip                     FastEthernet6/15
   1    0000.0000.0203   dynamic other                  FastEthernet6/15
   1    0000.0000.0204   dynamic other                  FastEthernet6/15
   1    0030.94fc.0dff    static ip,ipx,assigned,other  Switch

Multicast Entries
 vlan    mac address     type    ports
-------+---------------+-------+-------------------------------------------
   1    ffff.ffff.ffff   system Switch,Fa6/15
Switch#  

This example shows how to display MAC address table information for a specific protocol type:

Switch# show mac-address-table vlan 100 protocol other
Unicast Entries
 vlan   mac address     type        protocols               port
-------+---------------+--------+---------------------+--------------------
   1    0000.0000.0203   dynamic other                  FastEthernet6/15
   1    0000.0000.0204   dynamic other                  FastEthernet6/15
   1    0030.94fc.0dff    static ip,ipx,assigned,other  Switch

Multicast Entries
 vlan    mac address     type    ports
-------+---------------+-------+-------------------------------------------
   1    ffff.ffff.ffff   system Switch,Fa6/15
Switch#                                         

Related Commands

show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table protocol
show mac-address-table static

show module

To display module information, use the show module command.

show module [mod_num | all]

Syntax Description

mod_num

(Optional) Number of the module; valid values vary from chassis to chassis.

all

(Optional) Displays information for all modules.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

In the Mod Sub-Module fields, the show module command displays the supervisor engine number but appends the uplink daughter card's module type and information.

Examples

This example shows how to display information for all modules:

Switch# show module all

Mod Ports Card Type                              Model              Serial No.
--- ----- -------------------------------------- ------------------ -----------
 
  2    2  Catalyst 4000 supervisor 2 (Active)    WS-X6K-SUP2-2GE    SAD04450LF1
  3   48  48 port 10/100 mb RJ-45 fastethernet       WS-X6248-RJ-45     SAD03181468
  5    0  Switching Fabric Module (Active)       WS-C6500-SFM       SAD04420JR5 
Mod MAC addresses                       Hw    Fw           Sw           Status
--- ---------------------------------- ------ ------------ ------------ -------
  2  0001.6461.39c0 to 0001.6461.39c1   1.1   6.1(3)       6.2(0.97)    Ok
  3  00d0.bb0f.9808 to 00d0.bb0f.9837   1.0   4.2(0.24)    6.2(0.97)    Ok
  5  0001.0002.0003 to 0001.0002.0003   1.0   6.1(3)       6.2(0.97)    Ok 
Mod Sub-Module                  Model           Serial           Hw     Status
--- --------------------------- --------------- --------------- ------- -------
  2 Policy Feature Card 2       WS-F6K-PFC2     SAD04440HVU      1.0    Ok
  2 Cat4k MSFC 2 daughterboard  WS-F6K-MSFC2    SAD04430J9K      1.1    Ok
Switch# 

This example shows how to display information for a specific module:

Switch# show module 2
Mod Ports Card Type                              Model              Serial No.
--- ----- -------------------------------------- ------------------ -----------
  2    2  Catalyst 4000 supervisor 2 (Active)    WS-X6K-SUP2-2GE    SAD04450LF1 
Mod MAC addresses                       Hw    Fw           Sw           Status
--- ---------------------------------- ------ ------------ ------------ -------
  2  0001.6461.39c0 to 0001.6461.39c1   1.1   6.1(3)       6.2(0.97)    Ok 
Mod Sub-Module                  Model           Serial           Hw     Status
--- --------------------------- --------------- --------------- ------- -------
  2 Policy Feature Card 2       WS-F6K-PFC2     SAD04440HVU      1.0    Ok
  2 Cat4k MSFC 2 daughterboard  WS-F6K-MSFC2    SAD04430J9K      1.1    Ok
Switch# 

show monitor

To display SPAN session information, use the show monitor command.

show monitor [session session-number] [detail]

Syntax Description

session session-number

(Optional) Specifies the number of the session; valid values are from 1 to 6.

detail

(Optional) Displays nondefault configuration; lines with None in the output.


Defaults

Only lines with nondefault configuration detail are displayed. The lines with None are not displayed.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for differing directions within a single user session.


Examples

This example shows how to display SPAN information for a specific session:

Switch# show monitor
Session 1
---------
Type              : Local Session
Source Ports      :
    Both          : Gi1/1
Destination Ports : Fa6/1

Switch# conf t
Switch(config)# monitor session 1 source interface gi1/2 tx
Switch(config)# end
Switch# show mon
Session 1
---------
Type              : Local Session
Source Ports      :
    TX Only       : Gi1/2
    Both          : Gi1/1
Destination Ports : Fa6/1
Switch# 

This example shows how to display SPAN information for a specific session beginning with the line that starts with "Destination":

Switch# show monitor session 1 | begin Destination
Destination Ports: None
Filter VLANs:      None
Switch# 

Related Commands

monitor session

show pagp

To display port channel information, use the show pagp command.

show pagp [group-number] {counters | internal | neighbor}

Syntax Description

group-number

(Optional) Channel group number; valid values are from 1 to 64.

counters

Specifies traffic counter information.

internal

Specifies PAgP internal information.

neighbor

Specifies PAgP neighbor information.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

You can enter any show pagp command to display the active PAgP port channel information. To display the nonactive information, enter the show pagp command with a group.

Examples

This example shows how to display PAgP counter information:

Switch# show pagp counters
           Information        Flush
Port       Sent   Recv     Sent   Recv
--------------------------------------
Channel group: 1
  Fa5/4    2660   2452     0      0
  Fa5/5    2676   2453     0      0
Channel group: 2
  Fa5/6    289    261      0      0
  Fa5/7    290    261      0      0
Switch#  

This example shows how to display internal PAgP information:

Switch# show pagp 1 internal
Flags:  S - Device is sending Slow hello.  C - Device is in Consistent state.
        A - Device is in Auto mode.
Timers: H - Hello timer is running.        Q - Quit timer is running.
        S - Switching timer is running.    I - Interface timer is running.

Channel group 1
                                Hello    Partner  PAgP     Learning      
Port      Flags State   Timers  Interval Count   Priority  Method     IfIndx
Fa5/4     SC    U6/S7           30s      1        128      Any          129
Fa5/5     SC    U6/S7           30s      1        128      Any          129
Switch#                                                                 

This example shows how to display PAgP neighbor information for all neighbors:

Switch# show pagp neighbor
Flags:  S - Device is sending Slow hello.  C - Device is in Consistent state.
        A - Device is in Auto mode.        P - Device learns on physical port.

Channel group 1 neighbors
          Partner              Partner          Partner         Partner Group
Port      Name                 Device ID        Port       Age  Flags   Cap.
Fa5/4     JAB031301            0050.0f10.230c   2/45         2s SAC     2D
Fa5/5     JAB031301            0050.0f10.230c   2/46        27s SAC     2D

Channel group 2 neighbors
          Partner              Partner          Partner         Partner Group
Port      Name                 Device ID        Port       Age  Flags   Cap.
Fa5/6     JAB031301            0050.0f10.230c   2/47        10s SAC     2F
Fa5/7     JAB031301            0050.0f10.230c   2/48        11s SAC     2F

Switch# 

Related Commands

pagp learn-method
pagp port-priority

show policy-map

To display policy map information, use the show policy-map command.

show policy-map [policy_map_name]

Syntax Description

policy_map_name

Name of the policy map.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display policy map information for all policy maps:

Switch# show policy-map 
Policy Map ipp5-policy
  class  ipp5
   set ip precedence 6
Switch# 

This example shows how to display policy map information for a specific policy map:

Switch# show policy ipp5-policy
Policy Map ipp5-policy
  class  ipp5
   set ip precedence 6
Switch# 

Related Commands

class-map
policy-map
show class-map
show policy-map interface

show policy-map interface

To display statistics and configurations of input and output policies attached to an interface, use the show policy-map interface command.

show policy-map interface [{FastEthernet interface-number} | {GigabitEthernet interface-number} | {port-channel number} | {vlan vlan_id}] [input | output]

Syntax Description

FastEthernet interface-number

(Optional) Specifies the Fast Ethernet 802.3 interface.

GigabitEthernet interface-number

(Optional) Specifies the Gigabit Ethernet 802.3z interface.

port-channel number

(Optional) Specifies the port channel.

vlan vlan_id

(Optional) Specifies the VLAN ID; valid values are from 1 to 4094.

input

(Optional) Specifies input policies only.

output

(Optional) Specifies output policies only.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Examples

This example shows how to display statistics and configurations of all input and output policies attached to an interface:

Switch# show policy-map interface

 FastEthernet6/1

  service-policy input:ipp5-policy

    class-map:ipp5 (match-all)
      0 packets
      match:ip precedence 5
      set:
        ip precedence 6

    class-map:class-default (match-any)
      0 packets
      match:any 
        0 packets


  service-policy output:ipp5-policy

    class-map:ipp5 (match-all)
      0 packets
      match:ip precedence 5
      set:
        ip precedence 6

    class-map:class-default (match-any)
      0 packets
      match:any 
        0 packets
Switch# 

This example shows how to display input policy statistics and configurations for a specific interface:

Switch# show policy-map interface fastethernet 5/36 input
service-policy input:ipp5-policy

    class-map:ipp5 (match-all)
      0 packets
      match:ip precedence 5
      set:
        ip precedence 6

    class-map:class-default (match-any)
      0 packets
      match:any 
        0 packets
Switch# 

Related Commands

class-map
policy-map
show class-map
show qos

show port-security

To display port-security settings for an interface or for the switch, use the show port-security command.

show port-security [address] [interface interface-id]

Syntax Description

address

(Optional) Displays all secure MAC addresses for all ports or for a specific port.

interface interface-id

(Optional) Displays port security settings for a specific interface.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(13)EW

This command was first introduced.


Usage Guidelines

If you enter the command without keywords, the output includes the administrative and operational status of all secure ports on the switch.

If you enter an interface-id, the show port-security command displays port security settings for the interface.

If you enter the address keyword, the show port-security address command displays the secure MAC addresses for all interfaces and the aging information for each secure address.

If you enter an interface-id and the address keyword, the show port-security interface interface-id address command displays all the MAC addresses for the interface with aging information for each secure address. You can also use this command to display all the MAC addresses for an interface even if you have not enabled port security on it.

Examples

This is an example of the output from the show port-security command:

Switch# show port-security
Secure Port      MaxSecureAddr  CurrentAddr  SecurityViolation  Security
Action
                    (Count)        (Count)      (Count)
----------------------------------------------------------------------------

     Fa0/1           11            11            0            Shutdown
     Fa0/5           15            5             0            Restrict
     Fa0/11          5             4             0            Protect
----------------------------------------------------------------------------

Total Addresses in System :21
Max Addresses limit in System :128
Switch# 

This is an example of output from the show port-security interface fastethernet0/2 command:

Switch# show port-security interface fastethernet0/2
Port Security :Enabled
Port status :SecureUp
Violation mode :Shutdown
Maximum MAC Addresses :11
Total MAC Addresses :11
Configured MAC Addresses :3
Aging time :20 mins
Aging type :Inactivity
SecureStatic address aging :Enabled
Security Violation count :0
Switch# 

This is an example of output from the show port-security address command:

Switch# show port-security address

Secure Mac Address Table
-------------------------------------------------------------------
Vlan    Mac Address       Type                Ports   Remaining Age
                                                         (mins)
----    -----------       ----                -----   -------------
   1    0001.0001.0001    SecureDynamic       Fa0/1      15 (I)
   1    0001.0001.0002    SecureDynamic       Fa0/1      15 (I)
   1    0001.0001.1111    SecureConfigured    Fa0/1      16 (I)
   1    0001.0001.1112    SecureConfigured    Fa0/1      -
   1    0001.0001.1113    SecureConfigured    Fa0/1      -
   1    0005.0005.0001    SecureConfigured    Fa0/5      23
   1    0005.0005.0002    SecureConfigured    Fa0/5      23
   1    0005.0005.0003    SecureConfigured    Fa0/5      23
   1    0011.0011.0001    SecureConfigured    Fa0/11     25 (I)
   1    0011.0011.0002    SecureConfigured    Fa0/11     25 (I)
-------------------------------------------------------------------
Total Addresses in System :10
Max Addresses limit in System :128
Switch# 

This is an example of output from the show port-security interface fastethernet0/5 address command:

Switch# show port-security interface fastethernet0/5 address
Secure Mac Address Table
-------------------------------------------------------------------
Vlan    Mac Address       Type                Ports   Remaining Age
                                                         (mins)
----    -----------       ----                -----   -------------
   1    0005.0005.0001    SecureConfigured    Fa0/5      19 (I)
   1    0005.0005.0002    SecureConfigured    Fa0/5      19 (I)
   1    0005.0005.0003    SecureConfigured    Fa0/5      19 (I)
-------------------------------------------------------------------
Total Addresses:3Total Addresses in System :10
Switch# 

Related Commands

switchport port-security

show power

To display the status of power information, use the show power command.

show power [available | capabilities | detail | inline [interface] [mod_num/port_num] | module | status | supplies]

Syntax Description

available

(Optional) Displays available system power.

capabilties

(Optional) Displays individual power supply capabilities.

detail

(Optional) Displays detailed information on power resources.

inline

(Optional) Displays inline power status.

interface

(Optional) Type of interface; the only valid value is FastEthernet.

mod_num/port_num

(Optional) Number of the module and port.

module

(Optional) Displays power consumption for each module.

status

(Optional) Displays power supply status.

supplies

(Optional) Displays the number of power supplies needed by the system.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

If a Cisco IP phone is connected to an interface with external power, the switch does not recognize the phone. The Device column in the show power inline command displays as unknown.

If your port is not capable of supporting inline power, you will receive the following error message:

inline power not supported on interface Admin

The show power in-line command displays the amount of power used to operate a Cisco 7960 IP Phone. To view the amount of power requested use the show cdp neighbors command.

Examples

This example shows how to display general power supply information:

Switch# show power
Power                                             Fan     Inline
Supply  Model No          Type       Status       Sensor  Status
------  ----------------  ---------  -----------  ------  ------
PS1     PWR-C45-2800AC    AC 2800W   good         good    good
PS2     PWR-C45-2800AC    AC 2800W   good         good    good

Power Supply    Max     Min     Max     Min     Absolute
(Nos in Watts)  Inline  Inline  System  System  Maximum
--------------  ------  ------  ------  ------  --------
PS1             1400    1400    1360    1360    2800
PS2             1400    1400    1360    1360    2800

Power Summary
 (in Watts)    Available   Used   Remaining
-------------  ---------  ------  ---------
System Power     1360       280     1080
Inline Power     1400         0     1400
Maximum Power    2800       280     2520

Power supplies needed by system: 1

                         Power Used  Power Used
Mod   Model               (online)   (in Reset)
----  -----------------  ----------  ----------
 1    WS-X4515               110           110
 2    WS-X4232                55            35
 6    WS-X4148-RJ             65            40

This example shows how to display the amount of available system power:

Switch# show power available
Power Summary
 (in Watts)    Available   Used   Remaining
-------------  ---------  ------  ---------
System Power     1360       280     1080
Inline Power     1400         0     1400
Maximum Power    2800       280     2520
Switch# 

This example shows how to display the power status information:

Switch# show power status
Power                                             Fan     Inline
Supply  Model No          Type       Status       Sensor  Status
------  ----------------  ---------  -----------  ------  ------
PS1     PWR-C45-2800AC    AC 2800W   good         good    good
PS2     PWR-C45-2800AC    AC 2800W   good         good    good

Power Supply    Max     Min     Max     Min     Absolute
(Nos in Watts)  Inline  Inline  System  System  Maximum
--------------  ------  ------  ------  ------  --------
PS1             1400    1400    1360    1360    2800
PS2             1400    1400    1360    1360    2800
Switch# 

This example shows how to display the number of power supplies needed by the system:

Switch# show power supplies
Power supplies needed by system = 2
Switch# 

This example shows how to display the status of inline-power:

Switch# show power inline 
Interface  Admin    Oper     Power        Device
                            (Watts)
---------- ----- ---------- ------- -------------------
Fa5/1      auto  off             0  n/a
Fa5/2      auto  off             0  unknown
Fa5/3      auto  on            5.0  Cisco IP Phone 7960
Switch# 

Table 2-22 describes the fields in the show power inline command output.

Table 2-22 show power inline Command Output Fields 

Field
Description

Interface

Type of interface

Admin

Administrative mode

Oper

Operating mode

Power

The supplied inline-power in milliwatts

Device

The type of device detected


Related Commands

show qos

To display QoS information, use the show qos command.

show qos

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows the output that might be displayed if you do not enter any keywords:

Switch# show qos
  QoS is enabled globally
Switch# 

Related Commands

qos (global configuration mode)
qos (interface configuration mode)

show qos aggregate policer

To display QoS aggregate policer information, use the show qos aggregate policer command.

show qos aggregate policer [aggregate_name]

Syntax Description

aggregate_name

(Optional) Named aggregate policer.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Usage Guidelines

The aggregate policer name is case sensitive.

Examples

This example shows the output you might see if you do not enter any keywords:

Switch# show qos aggregate-policer
Policer aggr-1
Rate(bps):10000000 Normal-Burst(bytes):1000000
conform-action:transmit exceed-action:policed-dscp-transmit 
Policymaps using this policer:
    ipp5-policy
Switch# 

Related Commands

qos aggregate-policer

show qos dbl

To display global Dynamic Buffer Limiting (DBL) information, use the show qos dbl command.

show qos dbl

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(13)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display global DBL information:

Switch# show qos dbl
DBL is enabled globally
DBL flow includes vlan
DBL flow includes l4-ports
DBL does not use ecn to indicate congestion
DBL exceed-action mark probability:15%
DBL max credits:15
DBL aggressive credit limit:10
DBL aggressive buffer limit:2 packets
Switch# 

Related Commands

qos (global configuration mode)
qos dbl

show qos interface

To display queueing information, use the show qos interface command.

show qos interface {FastEthernet interface-number | GigabitEthernet interface-number} |
[
vlan vlan_id | port-channel number]

Syntax Description

FastEthernet interface-number

Specifies the Fast Ethernet 802.3 interface.

GigabitEthernet interface-number

Specifies the Gigabit Ethernet 802.3z interface.

vlan vlan_id

(Optional) Specifies the VLAN ID; valid values are from 1 to 4094.

port-channel number

(Optional) Specifies the port channel; valid ranges are from 1 to 64.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.

12.1(12c)EW

Added support for extended VLAN addresses.


Examples

This example shows how to display queueing information:

Switch# show qos interface fastethernet 6/1
    QoS is enabled globally
    Port QoS is enabled
    Port Trust State:'untrusted'
    Default DSCP:0 Default CoS:0

    Tx-Queue   Bandwidth   ShapeRate   Priority   QueueSize
                 (bps)       (bps)                (packets)
      1        31250000    disabled    N/A        240      
      2        31250000    disabled    N/A        240      
      3        31250000    disabled    normal     240      
      4        31250000    disabled    N/A        240 
Switch# 

show qos maps

To display QoS map information, use the show qos maps command.

show qos maps [cos | dscp [policed | tx-queue]]

Syntax Description

cos

(Optional) Displays CoS map information.

dscp

(Optional) Displays DSCP map information.

policed

(Optional) Displays policed map information.

tx-queue

(Optional) Displays tx-queue map information.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1(8a)EW

Support for this command was introduced on the Catalyst 4000 family switch.


Examples

This example shows how to display QoS map settings:

Switch# show qos maps
DSCP-TxQueue Mapping Table (dscp = d1d2)
d1 :d2  0  1  2  3  4  5  6  7  8  9
-------------------------------------
 0 :   01 01 01 01 01 01 01 01 01 01
 1 :   01 01 01 01 01 01 02 02 02 02
 2 :   02 02 02 02 02 02 02 02 02 02
 3 :   02 02 03 03 03 03 03 03 03 03
 4 :   03 03 03 03 03 03 03 03 04 04
 5 :   04 04 04 04 04 04 04 04 04 04
 6 :   04 04 04 04

Policed DSCP Mapping Table (dscp = d1d2)
d1 :d2  0  1  2  3  4  5  6  7  8  9
-------------------------------------
 0 :   00 01 02 03 04 05 06 07 08 09
 1 :   10 11 12 13 14 15 16 17 18 19
 2 :   20 21 22 23 24 25 26 27 28 29
 3 :   30 31 32 33 34 35 36 37 38 39
 4 :   40 41 42 43 44 45 46 47 48 49
 5 :   50 51 52 53 54 55 56 57 58 59
 6 :   60 61 62 63

DSCP-CoS Mapping Table (dscp = d1d2)
d1 :d2  0  1  2  3  4  5  6  7  8  9
-------------------------------------
 0 :   00 00 00 00 00 00 00 00 01 01
 1 :   01 01 01 01 01 01 02 02 02 02
 2 :   02 02 02 02 03 03 03 03 03 03
 3 :   03 03 04 04 04 04 04 04 04 04
 4 :   05 05 05 05 05 05 05 05 06 06
 5 :   06 06 06 06 06 06 07 07 07 07
 6 :   07 07 07 07

CoS-DSCP Mapping Table
   CoS:  0  1  2  3  4  5  6  7
--------------------------------
  DSCP:  0  8 16 24 32 40 48 56

Switch# 

Related Commands

qos (global configuration mode)
qos (interface configuration mode)

show redundancy

To display RF information, use the show redundancy command.

show redundancy {clients | counters | history | states}

Syntax Description

clients

Displays the redundancy facility client information.

counters

Displays the redundancy facility counter information.

history

Displays a log of past status and related information for the redundancy facility.

states

Displays the redundancy facility state information.


Defaults

This command has no default settings.

Command Modes

Privileged EXEC

Command History

Release
Modification

12.1.(13)EW

Support for this command was introduced on the Catalyst 4000 family switch (Catalyst 4507R only.)


Examples

This example shows how to display RF client information:

Switch# show redundancy clients
clientID = 0       clientSeq = 0        RF_INTERNAL_MSG       
clientID = 30      clientSeq = 135      Redundancy Mode RF    
clientID = 28      clientSeq = 330      GALIOS_CONFIG_SYNC    
clientID = 65000   clientSeq = 65000    RF_LAST_CLIENT Switch 

The output displays the following information:

clientID displays the client's ID number

clientSeq displays the client's notification sequence number

Current RF state

This example shows how to display the redundancy facility counter information:

Switch# show redundancy counters
Redundancy Facility OMs
               comm link up = 1 
        comm link down down = 0 

          invalid client tx = 0 
          null tx by client = 0 
                tx failures = 0 
      tx msg length invalid = 0 

      client not rxing msgs = 0 
 rx peer msg routing errors = 0 
           null peer msg rx = 0 
        errored peer msg rx = 0 

                 buffers tx = 1535 
     tx buffers unavailable = 0 
                 buffers rx = 1530 
      buffer release errors = 0 

 duplicate client registers = 0 
  failed to register client = 0 
       Invalid client syncs = 0 

This example shows how to display RF history information:

Switch# show redundancy history
00:00:01 client added: RF_INTERNAL_MSG(0) seq=0
00:00:01 client added: RF_LAST_CLIENT(65000) seq=65000
00:00:01 client added: GALIOS_CONFIG_SYNC(28) seq=330
00:00:03 client added: Redundancy Mode RF(30) seq=135
00:00:03 *my state = INITIALIZATION(2) *peer state = DISABLED(1)
00:00:03 RF_PROG_INITIALIZATION(100) RF_INTERNAL_MSG(0) op=0 rc=11
00:00:03 RF_PROG_INITIALIZATION(100) Redundancy Mode RF(30) op=0 rc=11
00:00:03 RF_PROG_INITIALIZATION(100) GALIOS_CONFIG_SYNC(28) op=0 rc=11
00:00:03 RF_PROG_INITIALIZATION(100) RF_LAST_CLIENT(65000) op=0 rc=11
00:00:03 *my state = NEGOTIATION(3) peer state = DISABLED(1)
00:00:25 RF_EVENT_GO_ACTIVE(511) op=0
00:00:25 *my state = ACTIVE-FAST(9) peer state = DISABLED(1)
00:00:25 RF_STATUS_MAINTENANCE_ENABLE(403) Redundancy Mode RF(30) op=0
00:00:25 RF_STATUS_MAINTENANCE_ENABLE(403) GALIOS_CONFIG_SYNC(28) op=0
00:00:25 RF_PROG_ACTIVE_FAST(200) RF_INTERNAL_MSG(0) op=0 rc=11
00:00:25 RF_PROG_ACTIVE_FAST(200) Redundancy Mode RF(30) op=0 rc=11
00:00:25 RF_PROG_ACTIVE_FAST(200) GALIOS_CONFIG_SYNC(28) op=0 rc=11
00:00:25 RF_PROG_ACTIVE_FAST(200) RF_LAST_CLIENT(65000) op=0 rc=11
00:00:25 *my state = ACTIVE-DRAIN(10) peer state = DISABLED(1)
00:00:25 RF_PROG_ACTIVE_DRAIN(201) RF_INTERNAL_MSG(0) op=0 rc=11
00:00:25 RF_PROG_ACTIVE_DRAIN(201) Redundancy Mode RF(30) op=0 rc=11
00:00:25 RF_PROG_ACTIVE_DRAIN(201) GALIOS_CONFIG_SYNC(28) op=0 rc=11
00:00:25 RF_PROG_ACTIVE_DRAIN(201) RF_LAST_CLIENT(65000) op=0 rc=11
---cut---cut---cut---
---cut---cut---cut---
00:01:34 RF_PROG_PLATFORM_SYNC(300) RF_INTERNAL_MSG(0) op=0 rc=11
00:01:34 RF_PROG_PLATFORM_SYNC(300) Redundancy Mode RF(30) op=0 rc=11
00:01:34 RF_PROG_PLATFORM_SYNC(300) GALIOS_CONFIG_SYNC(28) op=0 rc=0
00:01:34 RF_EVENT_CLIENT_PROGRESSION(503) GALIOS_CONFIG_SYNC(28) op=1 rc=0
00:01:36 RF_EVENT_PEER_PROG_DONE(506) GALIOS_CONFIG_SYNC(28) op=300
00:01:36 RF_PROG_PLATFORM_SYNC(300) RF_LAST_CLIENT(65000) op=0 rc=0
00:01:36 RF_EVENT_CLIENT_PROGRESSION(503) RF_LAST_CLIENT(65000) op=1 rc=0
00:01:36 RF_EVENT_PEER_PROG_DONE(506) RF_LAST_CLIENT(65000) op=300
00:01:38 *my state = ACTIVE(13) *peer state = STANDBY COLD(4)

This example shows how to display RF state information:

Switch# show redundancy state 
       my state = 13 -ACTIVE 
     peer state = 4  -STANDBY COLD 
           Mode = Duplex
           Unit = Primary