Catalyst 4500 Series Command Reference, 7.5
show accounting through show counters

Table Of Contents

show accounting

show alias

show arp

show authentication

show authorization

show banner

show boot—ROM monitor

show boot—switch

show cam

show cam agingtime

show cam notification

show cdp

show cgmp leave

show cgmp statistics

show channel

show channel group

show channel mac

show channelprotocol

show channel traffic

show config

show config mode

show counters


show accounting

To display accounting setup and configuration information on the switch, use the show accounting command.

show accounting

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Privileged

Examples

This example shows the configuration details of a switch with RADIUS accounting enabled:

Console> (enable) show accounting 
Event     Method1 Mode       
-----     ------- ----       
exec:     tacacs+ start-stop 
connect:  radius  stop-only  
system:   tacacs+ stop-only
commands:
config:   tacacs+ stop-only
all:      -       - 

TACACS+ Suppress for no username: disabled
Update Frequency: newinfo

Accounting information:
-----------------------

Active Accounted actions on tty2168059284l, User NULL Priv 15
 Task ID 3, EXEC Accounting record, 0,00:00:22 Elapsed
 task_id=3 start_time=934463479 timezone=UTC service=shell 
Active Accounted actions on tty0l, User kannank Priv 15
 Task ID 2, EXEC Accounting record, 0,00:01:23 Elapsed
 task_id=2 start_time=934463418 timezone=UTC service=shell 
Active Accounted actions on tty2168059284l, User danny Priv 15
 Task ID 4, Connection Accounting record, 0,00:00:07 Elapsed
 task_id=4 start_time=934463495 timezone=UTC service=connection protocol=telnet 
addr=-1407968771 cmd=telnet 172.20.25.253 

Overall Accounting Traffic:
          Starts   Stops  Active
Exec      1        0       2     
Connect   0        0       1     
Command   0        0       0     
System    0        0       0     
Console> (enable) 

This example shows the configuration details of a switch with TACACS+ accounting enabled:

Console> (enable) show accounting
Tacacs key:
Tacacs login attempts: 3
Tacacs timeout: 5 seconds
Tacacs direct request: disabled

Tacacs-Server                  Status 
--------------                    -------
171.69.1.2                         primary
171.69.1.3

 TACACS+ Suppress for no username: disabled
 Update Frequency: newinfo

 Accounting information:
 -----------------------

 Active Accounted actions on tty2168059284l, User NULL Priv 15
  Task ID 3, EXEC Accounting record, 0,00:00:22 Elapsed
  task_id=3 start_time=934463479 timezone=UTC service=shell 

 Active Accounted actions on tty0l, User kannank Priv 15
  Task ID 2, EXEC Accounting record, 0,00:01:23 Elapsed
  task_id=2 start_time=934463418 timezone=UTC service=shell 
 Active Accounted actions on tty2168059284l, User danny Priv 15
  Task ID 4, Connection Accounting record, 0,00:00:07 Elapsed
  task_id=4 start_time=934463495 timezone=UTC service=connection protocol=telnet 
addr=-1407968771 cmd=telnet 172.20.25.253 

 Overall Accounting Traffic:
           Starts   Stops  Active
 Exec      1        0       2     
 Connect   0        0       1     
 Command   0        0       0     
 System    0        0       0     

Console> (enable) 

Related Commands

set accounting commands
set accounting connect
set accounting exec
set accounting suppress
set accounting system
set accounting update

show alias

To display a list of defined command aliases, use the show alias command.

show alias [name]

Syntax Description

name

(Optional) Name of the alias to be displayed. If name is not specified, all defined aliases are displayed.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display all aliases:

Console> show alias
shint           show interface
cc              clear config
shf             show flash
sip             show ip route
Console> 

Related Commands

clear kerberos clients mandatory
session
set alias

show arp

To display the ARP table, use the show arp command.

show arp [ip_addr | hostname] [noalias]

Syntax Description

ip_addr

(Optional) Number of the IP address.

hostname

(Optional) Name of the host.

noalias

(Optional) Displays only IP addresses, not IP aliases.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Usage Guidelines

The ARP Aging time display in the output is the period of time that indicates when an ARP entry is deleted from the ARP table. Set this value by entering the set arp agingtime command. The remaining lines of the display show the mappings of IP addresses (or IP aliases) to MAC addresses.

Use the ip_addr or the hostname options to specify a specific IP host when the ARP cache is large.

Examples

This example shows how to display the ARP table:

Console> (enable) show arp
ARP Aging time = 300 sec
+ - Permanent Arp Entries
* - Static Arp Entries
* 2.2.2.2                               at 00-08-cc-44-aa-18 on vlan 5   
+ 1.1.1.1                               at 00-08-94-cc-02-aa on vlan 5
142.10.52.195                           at 00-10-07-3c-05-13 port 7/1-4 on vlan 5
Console> (enable) 

This example shows how to display the ARP table without aliases:

Console> (enable) show arp noalias
ARP Aging time = 300 sec
+ - Permanent Arp Entries
* - Static Arp Entries
142.10.52.195                           at 00-10-07-3c-05-13 port 7/1-4 on vlan 5
121.23.79.121                           at 00-00-1c-03-00-40 port 7/1-4 on vlan 5
Console> (enable)

Related Commands

clear arp
set arp

show authentication

To display authentication information, use the show authentication command.

show authentication

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display authentication information:

Console> show authentication
Login Authentication:  Console Session   Telnet Session    Http Session
---------------------  ----------------  ----------------  ----------------
tacacs                 disabled          disabled          disabled
radius                 disabled          disabled          disabled
kerberos               disabled          disabled          disabled
local*                 enabled(primary)  enabled(primary)  enabled(primary)
attempt limit          3                 3                 -
lockout timeout (sec)  disabled          disabled          -

Enable Authentication: Console Session   Telnet Session    Http Session
---------------------- ----------------- ----------------  ----------------
tacacs                 disabled          disabled          disabled
radius                 disabled          disabled          disabled
kerberos               disabled          disabled          disabled
local*                 enabled(primary)  enabled(primary)  enabled(primary)
attempt limit          3                 3                 -
lockout timeout (sec)  disabled          disabled          -

*Local User feature enabled.
Console> 

Related Commands

set authentication enable
set authentication login

show authorization

To display authorization setup and configuration information for the switch, use the show authorization command.

show authorization

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display authorization information:

Console> (enable) show authorization 

Telnet:
-------
            Primary   Fallback
            -------   --------
exec:       tacacs+   If-authen
enable:     -         -
commands:   
 config:    tacacs+   If-authen
 all:       -         -

Console:
--------
            Primary   Fallback
            -------   --------
exec:       tacacs+   If-authen
enable:     -         -
commands:   
 config:    -         -
 all:       -         -
Console> (enable)

Related Commands

set authorization commands
set authorization enable
set authorization exec

show banner

To view the message of the day (MOTD) banner, use the show banner command.

show banner

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display the MOTD and Catalyst 4000 Family Switch Fabric Module LCD banner stored in NVRAM:

Console> show banner
MOTD banner:

Catalyst 4006, Software Release 6.1(1)

Console> 

Related Commands

set banner motd

show boot—ROM monitor

To display the contents of the BOOT environment variables and the configuration register setting, use the show boot command.

show boot

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

ROM monitor command

Command Modes

Normal

Examples

This example shows how to display information on the BOOT environment variables and the configuration register settings:

rommon 1 > show boot
BOOT variable = bootflash:cat4000.6-1-1.bin,1;
Configuration reg is 0x41
ignore-config: enabled
console baud: 9600
boot: first image in "bootflash:"
autoboot state = 2
autoboot count = 0
autoboot sptr  = 0
rommon 2 > 

Related Commands

boot
clear boot—ROM monitor

show boot—switch


Note This command applies to only the Supervisor Engine III or the Catalyst 4000 family and 2948G switch supervisor engine modules. If you attempt to run this command on a Supervisor Engine I or II, an error message is displayed.


To display the contents of the BOOT environment variables and the configuration register setting, use the show boot command.

show boot [mod]

Syntax Description

mod

(Optional) Module number of the supervisor engine containing the Flash device.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to use the show boot command:

Console> show boot
BOOT variable = bootflash:cat5000-sup3.5-1-0-59.bin,1;bootflash:cat5000-sup3.4-;
CONFIG_FILE variable = slot0:cfgfile1;slot0:cfgfile2

Configuration register is 0x10f
ignore-config: disabled
auto-config: recurring
console baud: 9600
boot: image specified by the boot system commands
Console>

Related Commands

show boot—switch

show cam

To display the CAM table, use the show cam command.

show cam count {dynamic | static | permanent | system} [vlan]

show cam {dynamic | static | permanent} mod/port

show cam mac_addr [vlan]

Syntax Description

count

Displays only the number of CAM entries.

dynamic

Displays dynamic CAM entries.

static

Displays static CAM entries.

permanent

Displays permanent CAM entries.

system

Displays system CAM entries.

vlan

(Optional) Number of the VLAN. If the vlan option is not used, all VLANs are displayed.

mod/port

(Optional) Number of the module and port.

mac_addr

MAC address.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Usage Guidelines

If you display the output associated with the MAC address of an ATM dual PHY OC-12 module, additional information is displayed, including the VCD, VPI, VCI, and VC type.

If you enter the show cam command on the Catalyst 4000 family switches, the ASE CAM table entries are displayed.

Examples

This example shows how to display dynamic CAM entries for all VLANs:

Console> show cam dynamic
* = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry.

VLAN  Dest MAC/Route Des    Destination Ports or VCs / [Protocol Type]
----  ------------------    ----------------------------------------------------
1     00-60-5c-86-5b-81     4/1 [ALL]
1     00-60-2f-35-48-17     4/1 [ALL]
1     00-80-24-f3-47-20     1/2 [ALL]
1     00-60-09-78-96-fb     4/1 [ALL]
1     00-80-24-1d-d9-ed     1/2 [ALL]
1     00-80-24-1d-da-01     1/2 [ALL]
1     08-00-20-7a-63-01     4/1 [ALL]

Total Matching CAM Entries Displayed = 7
Console> 

This example shows the output associated with the MAC address of an ATM dual PHY OC-12 module, which includes the dynamic CAM entries for all VLANs:

Console> show cam dynamic
VLAN  Dest MAC/Route Des  Destination Ports or VCs
----  ------------------  ----------------------------------------------------
12    00-14-14-14-14-1c   6/1
12    00-14-14-14-14-1d   6/1
12    00-14-14-14-14-1a   6/1
12    00-14-14-14-14-1b   6/1
12    00-14-14-14-14-18   6/1
12    00-14-14-14-14-19   6/1
12    00-14-14-14-14-16   6/1
12    00-14-14-14-14-17   6/1
12    00-14-14-14-14-14   6/1
12    00-14-14-14-14-15   6/1
6     00-14-14-14-14-16   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
6     00-14-14-14-14-17   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
6     00-14-14-14-14-14   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
6     00-14-14-14-14-15   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
6     00-14-14-14-14-1a   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
6     00-14-14-14-14-1b   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
6     00-14-14-14-14-18   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
6     00-14-14-14-14-19   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
6     00-14-14-14-14-1c   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
6     00-14-14-14-14-1d   4/1 VCD:98  VPI:0 VCI:127  Type: LANE Data Direct
3     00-14-14-14-14-14   4/1 VCD:101 VPI:0 VCI:130  Type: LANE Data Direct
3     00-14-14-14-14-15   4/1 VCD:101 VPI:0 VCI:130  Type: LANE Data Direct
Do you wish to continue y/n [n]? n
Total Matching CAM Entries Displayed = 21
Console> 

Table 2-9 describes the fields in the ATM dual PHY OC-12 module show cam dynamic output.

Table 2-9 show cam dynamic Command Output Fields

Field
Description

VCD

VCD of the VC

VPI

VPI of the VC

VCI

VCI of the VC

Type

Type of virtual circuit (LANE Data Direct, LANE bus, or AAL5SNAP PVC)


This example shows routers listed as the CAM entries. If the MAC address belongs to a router, it is shown by appending an "R" to the MAC address. If a VLAN is specified, then only those CAM entries matching the VLAN number are displayed.

Console> show cam 00-00-81-01-23-45
* = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry

Router Watergate with IP address 172.25.55.1 has CAM entries:
VLAN  Dest MAC/Route Des    Destination Ports or VCs
----  ------------------    ----------------------------------------------------
1     00-00-81-01-23-45R    2/9 [IP]
2     00-00-81-01-23-45R    2/10 [IP]
Total Matching CAM Entries = 2
Console>

Related Commands

clear cam
set cam agingtime
show cam agingtime
show config

show cam agingtime

To display CAM aging time information for all configured VLANs, use the show cam agingtime command.

show cam agingtime

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display CAM aging time information:

Console> show cam agingtime
VLAN   1 aging time = 300 sec
VLAN   3 aging time = 300 sec
VLAN   5 aging time = 300 sec
VLAN   9 aging time = 300 sec
VLAN 100 aging time = 300 sec
VLAN 200 aging time = 300 sec
VLAN 201 aging time = 300 sec
VLAN 202 aging time = 300 sec
VLAN 203 aging time = 300 sec
Console> 

Related Commands

clear cam
set cam agingtime
show cam

show cam notification

To display the status of CAM table notifications, notification intervals, and MAC addresses added and deleted, use the show cam notification command.

show cam notification {all | counters | enable | interval | historysize | mod/port}

show cam notification history [{[-]number_of_log_entries}]

Syntax Description

all

Displays the CAM notification counters, enable, interval, and historysize information

counters

Displays CAM notification counter information.

enable

Displays CAM notification feature information.

interval

Displays the CAM notification interval.

historysize

Size of the CAM notification log.

mod/port

(Optional) Number of the module and port.

history

Displays CAM notification history logs.

-

(Optional) Most recent log entries.

number_of_log_entries

(Optional) Number of the CAM notification log entries to display. If a CAM notification log number is not specified, the entire log is displayed.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display CAM notification counters:

Console> (enable) show cam notification counters
MAC addresses added = 3
MAC addresses removed = 5
MAC addresses added overflowed = 0
MAC addresses removed overflowed = 0
MAC address SNMP traps generated = 0
Console> 

This example shows how to display CAM notification feature information:

Console> (enable) show cam notification enable
MAC address change detection enabled
Console> 

This example shows how to display CAM notification information for ports 1-6 on module 2:

Console> (enable) show cam notification 2/1-6
Mod/Port   Added     Removed
---------  --------  --------
2/1        enabled   disabled
2/2        enabled   disabled
2/3        enabled   enabled 
2/4        enabled   enabled 
2/5        disabled  enabled 
2/6        disabled  enabled 
Console>

This example shows how to display CAM notification intervals:

Console> (enable) show cam notification interval
CAM notification interval = 10 second(s).
Console> 

This example shows how to display CAM notification history information:

Console> (enable) show cam notification history   
Index Timestamp  Operation Address           Vlan Mod/Port
===============================================================================
    4  16676708  Unlearned 00:00:00:00:00:64    2 2/6
                 Unlearned 00:00:00:00:00:63    2 2/6
                 Unlearned 00:00:00:00:00:62    2 2/6
                 Learned   00:00:00:00:00:61    2 2/4
                 Learned   00:00:00:00:00:60    2 2/4
                 Unlearned 00:00:00:00:00:5f    2 2/4
                 Unlearned 00:00:00:00:00:5e    2 2/5
    5  16697903  Learned   00:00:00:00:00:1a    1 2/1
Console> 

This example shows how to display CAM notification history size information:

Console> (enable) show cam notification historysize
MAC address change history log size = 300
Console> 

This example shows how to display CAM notification configuration information:

Console> (enable) show cam notification all
MAC address change detection enabled
CAM notification interval = 10 second(s).
MAC address change history log size = 300
MAC addresses added = 3
MAC addresses removed = 5
MAC addresses added overflowed = 0
MAC addresses removed overflowed = 0
MAC address SNMP traps generated = 0
Console>

Related Commands

clear cam
set cam
set cam agingtime
set cam notification
set snmp trap
show cam

show cdp

To display CDP information, use the show cdp command set.

show cdp

show cdp neighbors [mod] [vlan | duplex | capabilities | detail]

show cdp neighbors [mod/port] [vlan | duplex | capabilities | detail]

show cdp port [mod]

show cdp port [mod/port]

Syntax Description

neighbors

Displays CDP information for Cisco products connected to the switch.

mod

(Optional) Number of the module for which CDP information is displayed. If no module number is specified, CDP information for the entire switch is displayed.

vlan

(Optional) Displays the native VLAN number for the neighboring Cisco products.

duplex

(Optional) Displays the duplex mode of the neighboring Cisco products.

capabilities

(Optional) Displays the capability codes for the neighboring Cisco products; valid values are R, T, B, S, H, I, r (R=Router, T=Trans Bridge, B=Source Route Bridge, S=Switch, H=Host, I=IGMP, and r=Repeater).

detail

(Optional) Displays detailed information about neighboring Cisco products.

port

(Optional) Number of the port for which CDP information is displayed.

port

Displays CDP port settings.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display CDP information for the system:

Console> show cdp
CDP               :enabled
Message Interval  :60
Hold Time         :180
Version           :V2
Console>

This example shows how to display detailed CDP neighbor information. The display varies depending on your network configuration at the time you run the command.

Console> show cdp neighbors 4/4 detail
Port (Our Port):4/4
Device-ID:69046406
Device Addresses:
  IP Address:172.20.25.161
Holdtime:150 sec
Capabilities:TRANSPARENT_BRIDGE SWITCH
Version:
  WS-C5509 Software, Version McpSW: 5.3(0.29)BOU NmpSW: 5.3(0.29)BOU
  Copyright (c) 1995-1999 by Cisco Systems
Port-ID (Port on Device):4/8
Platform:WS-C6009
VTP Management Domain:unknown
Native VLAN:1
Duplex:half
Console> 

This example shows how to display CDP information about neighboring systems:

Console> show cdp neighbors
* - indicates vlan mismatch.
# - indicates duplex mismatch.

Port     Device-ID                       Port-ID                   Platform
-------- ------------------------------- ------------------------- ------------
3/5      002267619                       3/6 *                     WS-C4000  
3/6      002267619                       3/5                       WS-C4000
4/1      002267619                       4/2                       WS-C4000
4/2      002267619                       4/1 #                     WS-C4000
4/20     069000057                       8/5                       WS-C5500
5/1      005763872                       2/1                       WS-C5000
5/1      066506245                       2/1                       WS-C5505
5/1      066508595                       5/12 *#                   WS-C5505
5/1      066508596                       5/1                       WS-C5505
Console> 

This example shows how to display VLAN information about neighboring systems:

Console> show cdp vlan
* - indicates vlan mismatch.
# - indicates duplex mismatch.

Port     Device-ID                       Port-ID                   NativeVLAN 
-------- ------------------------------- ------------------------- ----------
3/5      002267619                       3/6 *                     1
3/6      002267619                       3/5                       1
4/1      002267619                       4/2                       1
4/2      002267619                       4/1 #                     1
4/20     069000057                       8/5                       -
5/1      066508595                       5/12 *#                   1
5/1      066508596                       5/1                       1
Console> 

This example shows how to display duplex information about neighboring systems:

Console> show cdp neighbors duplex 
* - indicates vlan mismatch.
# - indicates duplex mismatch.

Port     Device-ID                       Port-ID                   Duplex
-------- ------------------------------- ------------------------- ------
3/5      002267619                       3/6 *                     half
3/6      002267619                       3/5                       half
4/1      002267619                       4/2                       full
4/2      002267619                       4/1 #                     full
4/20     069000057                       8/5                       -
5/1      005763872                       2/1                       -
5/1      066506245                       2/1                       -
5/1      066508595                       5/12 *#                   half
5/1      066508596                       5/1                       half
Console> 

This example shows how to display capability information about neighboring systems:

Console> show cdp neighbors capabilities
* - indicates vlan mismatch.
# - indicates duplex mismatch.
                                                                   
Port     Device-ID                       Port-ID                   Capabilities
-------- ------------------------------- ------------------------- ------------
3/5      002267619                       3/6 *                     T S
3/6      002267619                       3/5                       T S
4/1      002267619                       4/2                       T S
4/2      002267619                       4/1 #                     T S
4/20     069000057                       8/5                       T B S
5/1      005763872                       2/1                       T B S
5/1      066506245                       2/1                       T B S
5/1      066508595                       5/12 *#                   T B S
5/1      066508596                       5/1                       T B S
Console> 

This example shows how to display CDP information for all ports:

Console> show cdp port
CDP               :enabled
Message Interval  :60
Hold Time         :180
Version           :V2

Port      CDP Status 
--------  ---------- 
 2/1      enabled     
 2/2      enabled     
 5/1      enabled     
 5/2      enabled     
 5/3      enabled     
 5/4      enabled     
 5/5      enabled     
 5/6      enabled     
 5/7      enabled     
 5/8      enabled     
Console> 

Related Commands

set cdp

show cgmp leave

To display the status of the CGMP leave feature, use the show cgmp leave command.

show cgmp leave

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display the status of the CGMP leave feature:

Console> show cgmp leave
CGMP:           enabled
CGMP leave:     enabled
CGMP FastLeave: enabled
Console> 

Related Commands

set cgmp
set cgmp fastleave
set cgmp leave

show cgmp statistics

To display CGMP statistics, use the show cgmp statistics command.

show cgmp statistics [vlan_id]

Syntax Description

vlan_id

(Optional) VLAN number for which to display CGMP statistics.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display CGMP statistics for VLAN 1:

Console> show cgmp statistics 1 
CGMP enabled
 
CGMP statistics for vlan 1:
valid rx pkts received           211915
invalid rx pkts received         0
valid cgmp joins received        211729
valid cgmp leaves received       186
valid igmp leaves received       0
valid igmp queries received      3122
igmp gs queries transmitted      0
igmp leaves transmitted          0
failures to add GDA to EARL      0
topology notifications received  80
number of CGMP packets dropped   2032227
Console> 

Table 2-10 describes the fields in the show cgmp statistics output.

Table 2-10 show cgmp statistics Command Output Fields 

Field
Description

Valid rx pkts received

Number of valid CGMP packets received

Invalid rx pkts received

Number of invalid CGMP packets received

valid cgmp joins received

Number of CGMP group-specific queries received

valid cgmp leaves received

Number of CGMP leaves received

valid igmp leaves received

Number of IGMP leaves received

valid igmp queries received

Number of IGMP reports received

igmp gs queries transmitted

Number of IGMP group specific-equivalent queries transmitted by the switch

igmp leaves transmitted

Number of IGMP leaves transmitted by the switch

failures to add GDA to EARL

Number of times that the switch failed to add a multicast entry (GDA) to the EARL table

topology notifications received

Number of topology change notifications received by the switch

number of CGMP packets dropped

Number of IGMP packets dropped by the switch


Related Commands

clear cgmp statistics
set cgmp

show channel

To display EtherChannel configuration and statistics information for a channel based on EtherChannel ID, use the show channel command.

show channel [channel_id] [statistics | mac | info [spantree | trunk | protocol | gmrp | gvrp |
qos | auxiliaryvlan | jumbo]]

Syntax Description

channel_id

(Optional) EtherChannel ID of the channel.

statistics

(Optional) Displays EtherChannel PAgP statistics.

mac

(Optional) Displays EtherChannel traffic statistics.

info

(Optional) Displays EtherChannel configuration information.

spantree

(Optional) Displays only spanning tree-related configuration information.

trunk

(Optional) Displays only VLAN-trunk-related configuration information.

protocol

(Optional) Displays only protocol-filtering-related configuration information.

gmrp

(Optional) Displays only GMRP-related configuration information.

gvrp

(Optional) Displays only GVRP-related configuration information.

qos

(Optional) Displays only QoS-related configuration information.

auxiliaryvlan

(Optional) Displays only auxiliary vlan related configuration information.

jumbo

(Optional) Displays only jumbo related configuration information.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Usage Guidelines

If channel_id is not specified, EtherChannel information is shown for all channels.

If you use the info keyword without qualifying it with one of the feature-specific keywords, all configuration information is displayed.

No information is displayed if the EtherChannel specified is not in use.

Examples

This example shows how to display PAgP statistics for EtherChannel 835:

Console> show channel 835 statistics
Port  Channel PAgP Pkts   PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts
      id      Transmitted Received  InFlush   RetnFlush OutFlush  InError
----- ------- ----------- --------- --------- --------- --------- ---------
 7/5      835         194        81         0         0         0         0
 7/6      835         204        85         0         0         0         0
Console> 

This example shows how to display traffic statistics for EtherChannel:

Console> show channel 835 mac
Channel  Rcv-Unicast          Rcv-Multicast        Rcv-Broadcast
-------- -------------------- -------------------- --------------------
835                         0               114650                    0

Channel  Xmit-Unicast         Xmit-Multicast       Xmit-Broadcast
-------- -------------------- -------------------- --------------------
835                         0               177145                    0

Channel  Rcv-Octet            Xmit-Octet
-------- -------------------- --------------------
835                  10852890             14371660

Channel  Dely-Exced MTU-Exced  In-Discard Lrn-Discrd In-Lost    Out-Lost
-------- ---------- ---------- ---------- ---------- ---------- ----------
835               0          0          0          0          0          0
Console> 

This example shows how to display EtherChannel information for all channels:

Console> show channel
Channel Id   Ports
-----------  -----------------------------------------------
768          2/1-2                                          
769          4/3-4                                          
770          4/7-8                                          
Console> 

This example shows how to display configuration information for EtherChannel 835:

Console> show channel 835 info
Chan Port  Status     Channel              Admin Speed Duplex Vlan
id                    mode                 group
---- ----- ---------- -------------------- ----- ----- ------ ----
 835  7/5  connected  on                      58 a-100 a-full    1
 835  7/6  connected  on                      58 a-100 a-full    1

Chan Port  if-   Oper-group Neighbor   Chan  Oper-Distribution PortSecurity/
id         Index            Oper-group cost  Method            Dynamic Port
---- ----- ----- ---------- ---------- ----- ----------------- -------------
 835  7/5  379            1                0 mac both                       
 835  7/6  379            1                0 mac both                       

Chan Port  Device-ID                       Port-ID                   Platform
id
---- ----- ------------------------------- ------------------------- ----------
 835  7/5  069003103(5500)                 3/5                       WS-C5500
 835  7/6  069003103(5500)                 3/6                       WS-C5500

Chan Port  Trunk-status Trunk-type    Trunk-vlans
id
----- ----- ------------ ------------- -----------------------------------------
 835  7/5  not-trunking negotiate     1-1005
 835  7/6  not-trunking negotiate     1-1005
Chan Port  Portvlancost-vlans
id
---- ----- --------------------------------------------------------------------
 835  7/5  
 835  7/6  

Chan Port  Port     Portfast Port    Port
id         priority          vlanpri vlanpri-vlans
---- ----- -------- -------- ------- ------------------------------------------
 835  7/5        32 disabled       0 
 835  7/6        32 disabled       0 

Chan Port  IP       IPX      Group
id
---- ----- -------- -------- --------
 835  7/5  on       auto-on  auto-on 
 835  7/6  on       auto-on  auto-on 

Chan Port  GMRP     GMRP         GMRP
id         status   registration forwardAll
---- ----- -------- ------------ ----------
 835  7/5  enabled  Normal       disabled  
 835  7/6  enabled  Normal       disabled  

Chan Port  GVRP     GVRP          GVRP
id         status   registration applicant
---- ----- -------- ------------- ---------
 835  7/5  disabled Normal        Normal   
 835  7/6  disabled Normal        Normal   

Chan Port  Qos-Tx Qos-Rx Qos-Trust    Qos-DefCos
id
---- ----- ------ ------ ------------ ----------
 835  7/5  1q4t   -      untrusted             0
 835  7/6  1q4t   -      untrusted             0
Console> 

Table 2-11 describes the fields in the show channel statistics output.

Table 2-11 show channel statistics Command Output Fields 

Field
Description

Port

Port number

Channel id

EtherChannel ID

PAgP Pkts Transmitted

Number of PAgP packets transmitted on the port

PAgP Pkts Received

Number of PAgP packets received on the port

PAgP Pkts InFlush

Number of PAgP flush packets received

PAgP Pkts RetnFlush

Number of PAgP flush packets returned

PAgP Pkts OutFlush

Number of PAgP flush packets transmitted

PAgP Pkts InError

Number of PAgP error packets received


Table 2-12 describes the fields in the show channel mac output.

Table 2-12 show channel mac Command Output Fields

Field
Description

Channel

EtherChannel ID

Rcv-Unicast

Number of unicast frames received on the EtherChannel

Rcv-Multicast

Number of multicast frames received on the EtherChannel

Rcv-Broadcast

Number of broadcast frames received on the EtherChannel

Xmit-Unicast

Number of unicast frames transmitted on the EtherChannel

Xmit-Multicast

Number of multicast frames transmitted on the EtherChannel

Xmit-Broadcast

Number of broadcast frames transmitted on the EtherChannel

Rcv-Octet

Number of octet frames received on the EtherChannel

Xmit-Octet

Number of octet frames transmitted on the EtherChannel


Table 2-13 describes the fields in the show channel info output.

Table 2-13 show channel info Command Output Fields 

Field