Catalyst 6500 Series Command Reference, 7.6
show accounting to show dot1q-all-tagged

Table Of Contents

show accounting

show acllog

show aclmerge

show alias

show arp

show authentication

show authorization

show banner

show boot

show boot device

show cam

show cam agingtime

show cam count

show cam msfc

show cam notification

show cdp

show channel

show channel group

show channel hash

show channel mac

show channelprotocol

show channel traffic

show config

show config mode

show config qos acl

show cops

show counters

show crypto key

show default

show dot1q-all-tagged


22

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

Normal.

Examples

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

Console> (enable) show accounting 
Event     Method1 Mode
-----     ------- -----
exec:     Radius  stop-only
connect:  Radius  stop-only
system:   -       -
commands:
config:   -       -
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+:
Update: periodic (25 seconds)
Supress:   disabled

           Status    Mode
           --------  -----------
exec:      disabled  stop-only 
connect:   disabled  stop-only 
system:    disabled  stop-only 
network:   disabled  stop-only
commands:
 config:   disabled  stop-only
 all:      disabled  stop-only

Radius:
           Status    Mode
           --------  -----------
exec:      disabled  stop-only 
connect:   disabled  stop-only 
system:    disabled  stop-only 

 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 acllog

To display the status of ACL log rate limiting, use the show acllog command.

show acllog

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 ACL log rate limiting:

Console> show acllog
ACL log rate limit enabled, rate = 500 pps.
Console>

Related Commands

clear acllog
set acllog ratelimit

show aclmerge

To display information about the ACL merge algorithm, use the show aclmerge command.

show aclmerge bdd

show aclmerge algo

Syntax Description

bdd

Displays the status of the binary decision diagram (BDD) merge algorithm.

algo

Displays the ACL merge algorithm currently in use.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to display the status of BDD:

Console> (enable) show aclmerge bdd
Bdd is not enabled.
On system restart bdd will be disabled.
Console> (enable)

This example shows how to display the ACL merge algorithm currently in use:

Console> (enable) show aclmerge algo
Current acl merge algorithm is odm.
Console> (enable)

Related Commands

set aclmerge algo
set aclmerge bdd

show alias

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

show alias [name]

Syntax Description

name

(Optional) Name of the alias to be displayed.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If name is not specified, all defined aliases are displayed.

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 alias
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) Forces the display to show only IP addresses, not IP aliases.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

ARP aging time is the period of time that indicates when an ARP entry is removed 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 an 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
192.70.31.126                           at 00-00-0c-00-ac-05 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
                       Console Session   Telnet Session   Http Session
Login Authentication:
---------------------  ----------------  ---------------  -----------
tacacs                 disabled          disabled         disabled
radius                 disabled          disabled         enabled(*)
kerberos               disabled          disabled         disabled
local                  enabled(*)        enabled(*)       enabled
local                  enabled(primary)  enabled(primary)  enabled(primary)
attempt limit          3                 3                 3
lockout timeout (sec)  disabled          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                 3
lockout timeout (sec)  disabled          disabled          disabled
Console> 

Related Commands

set authentication enable
set authentication login

show authorization

To display authorization setup and configuration information on 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 setup and configuration information:

Console> (enable) show authorization 
Telnet:
-------
            Primary   Fallback
            -------   --------
exec:       tacacs+    deny
enable:     tacacs+    deny
commands:   
 config:    tacacs+    deny
 all:       -         -
Console:
--------
            Primary   Fallback
            -------   --------
exec:       tacacs+    deny
enable:     tacacs+    deny
commands:   
 config:    tacacs+    deny
 all:       -         -

Console> (enable)

Related Commands

set authorization commands
set authorization enable
set authorization exec

show banner

To view the message of the day (MOTD), the Catalyst 6500 series Switch Fabric Module LCD banner, and the status of the Telnet banner stored in NVRAM, 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, the Catalyst 6500 series Switch Fabric Module LCD banner, and the status of the Telnet banner:

Console> show banner
MOTD banner:

LCD config:

Telnet Banner:
disabled
Console>

Related Commands

set banner lcd
set banner motd
set banner telnet

show boot

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) 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 display the BOOT environment variable:

Console> show boot
BOOT variable = bootflash:cat6000-sup.5-5-1.bin,1;slot0:cat6000-sup.5-4-1.bin,1;
CONFIG_FILE variable = slot0:switch.cfg

Configuration register is 0x800f
ignore-config: disabled
auto-config: non-recurring, overwrite, sync disabled
console baud: 9600
boot: image specified by the boot system commands
Console>

Related Commands

set boot auto-config
set boot config-register
set boot system flash

show boot device

To display the NAM boot string stored in NVRAM, use the show boot device command.

show boot device mod

Syntax Description

mod

Number of the module containing the Flash device.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

This command is supported by the NAM module only.

Examples

This example shows how to display the boot device information for module 2:

Console> show boot device 2
Device BOOT variable = hdd:2 
Console>

Related Commands

clear boot device
set boot device

show cam

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

show cam {dynamic | static | permanent | system} [{mod/port} | vlan]

show cam mac_addr [vlan]

Syntax Description

dynamic

Displays dynamic CAM entries.

static

Displays static CAM entries.

permanent

Displays permanent CAM entries.

system

Displays system CAM entries.

mod/port

(Optional) Number of the module and the port on the module.

vlan

(Optional) Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.

mac_addr

MAC address.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you specify a VLAN, then only those CAM entries matching the VLAN number are displayed.

If you do not specify a VLAN, all VLANs are displayed.

If the MAC address belongs to a router, it is shown by appending an "R" to the MAC address.

You can set the traffic filter for unicast addresses only; you cannot set the traffic filter for multicast addresses.

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.
X = Port Security Entry

VLAN  Dest MAC/Route Des    [CoS]  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 how to display dynamic CAM entries for VLAN 1:

Console> show cam dynamic 1
* = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry.
X = Port Security Entry
VLAN  Dest MAC/Route Des  [CoS]  Destination Ports or VCs / [Protocol Type] 
----  ------------------  -----  -------------------------------------------
1     00-40-0b-60-d7-3c           2/1-2 [IP]
1     00-e0-34-8b-d3-ff           2/1-2 [IP]
1     00-e0-14-0f-df-ff           2/1-2 [IP]
1     00-00-0c-35-7f-42           2/1-2 [IP]
1     00-90-6f-a3-bb-ff           2/1-2 [IP]
1     00-e0-8f-63-7f-ff           2/1-2 [IP]
1     00-00-0c-35-7f-42           2/1-2 [GROUP]
.
. Display truncated
.
1     00-e0-f9-c8-33-ff           2/1-2 [IP]
Console>

This example shows routers listed as the CAM entries:

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

Router Watergate with IP address 172.25.55.1 has CAM entries:
VLAN  Dest MAC/Route Des    [CoS]  Destination Ports or VCs / [Protocol Type]
----  ------------------    -----  -------------------------------------------
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>

Console> (enable) show cam 00-00-81-01-23-45
* = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry.
X = Port Security Entry

VLAN  Dest MAC/Route Des    [CoS]  Destination Ports or VCs / [Protocol Type]
----  ------------------    -----  -------------------------------------------
1     00-00-81-01-23-45R    *    FILTER
Console>

Related Commands

clear cam
set cam
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 [vlan]

Syntax Description

vlan

(Optional) Number of the VLAN or range of VLANs; valid values are from 1 to 1005 and from 1025 to 4094.


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> 

This example shows how to display CAM aging time information for a specific VLAN:

Console> show cam agingtime 1005
VLAN 1005 aging time = 300 sec
Console>

Related Commands

clear cam
set cam
show cam

show cam count

To display the number of CAM entries only, use the show cam count command.

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

Syntax Description

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; valid values are from 1 to 1005 and from 1025 to 4094.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a VLAN, all VLANs are displayed.

Examples

This example shows how to display the number of dynamic CAM entries:

Console> (enable) show cam count dynamic
Total Matching CAM Entries = 6
Console> (enable) 

Related Commands

clear cam
set cam

show cam msfc

To display the router's MAC-VLAN entries, use the show cam msfc command.

show cam msfc {mod} [vlan]

Syntax Description

mod

Number of the module for which MSFC information is displayed.

vlan

(Optional) Number of the VLAN; valid values are from 1 to 1005 and from 1025 to 4094.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you specify the VLAN, only CAM entries that belong to that VLAN are displayed.

Examples

This example shows how to display all CAM entries:

Console> (enable) show cam msfc 
VLAN	  Destination MAC      Destination-Ports or VCs        Xtag	  Status
----  ------------------   ------------------------------  ----  ------
194   00-e0-f9-d1-2c-00R   7/1                             2     H
193   00-00-0c-07-ac-c1R   7/1                             2     H
193   00-00-0c-07-ac-5dR   7/1                             2     H
202   00-00-0c-07-ac-caR   7/1                             2     H
204   00-e0-f9-d1-2c-00R   7/1                             2     H
195   00-e0-f9-d1-2c-00R   7/1                             2     H
192   00-00-0c-07-ac-c0R   7/1                             2     H
192   00-e0-f9-d1-2c-00R   7/1                             2     H
204   00-00-0c-07-ac-ccR   7/1                             2     H
202   00-e0-f9-d1-2c-00R   7/1                             2     H
Total Matching CAM Entries Displayed = 14
Console> (enable)

This example shows how to display CAM entries for a specific VLAN:

Console> show cam msfc 15 192
VLAN	  Destination MAC      Destination-Ports or VCs        Xtag	  Status
----  ------------------   ------------------------------  ----  ------
192   00-00-0c-07-ac-c0R   7/1                             2     H
192   00-e0-f9-d1-2c-00R   7/1                             2     H
Console>

Related Commands

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 | historysize | interval | move | threshold | 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.

historysize

Displays the size of the CAM notification log.

interval

Displays the CAM notification interval.

move

Displays MAC move notification status.

threshold

Displays CAM usage monitoring status and parameters.

mod/port

Number of the module and port.

history

Displays CAM notification history logs.

-

(Optional) Specifies the 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> 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> 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> 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> show cam notification interval
CAM notification interval = 10 second(s).
Console> 

This example shows how to display CAM notification history information:

Console> 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> show cam notification historysize
MAC address change history log size = 300
Console> 

This example shows how to display CAM notification configuration information:

Console> show cam notification all
MAC address change detection enabled
CAM notification interval = 15 second(s).
MAC address change history log size = 1
MAC addresses added = 22936547
MAC addresses removed = 262132
MAC addresses added overflowed = 0
MAC addresses removed overflowed = 0
MAC address SNMP traps generated = 0
MAC address move notification disabled
CAM notification threshold disabled
CAM notification threshold limit = 100%
CAM notification threshold interval = 120 seconds
Console>



Related Commands

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

show cdp

To display Cisco Discovery Protocol (CDP) information, use the show cdp command.

show cdp

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

show cdp neighbors exlude ip-phone

show cdp port [mod[/port]]

Syntax Description

neighbors

Shows CDP information for Cisco products connected to the switch.

[mod[/port]]

(Optional) Number of the module for which CDP information is displayed and optionally, the number of the port for which CDP information is displayed.

vlan

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

duplex

(Optional) Shows the duplex type of the neighboring Cisco products.

capabilities

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

detail

(Optional) Shows detailed information about neighboring Cisco products.

exclude ip-phone

Excludes IP phone information from the display of neighboring Cisco products.

port

Shows CDP port settings.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

The per-port output of the show cdp port command is not displayed if you globally disable CDP. If you globally enable CDP, the per-port status is displayed.

If you enter the show cdp neighbors command for a device that supports earlier versions of CDP, "unknown" is displayed in the VTP Management Domain, Native VLAN, and Duplex fields.

Examples

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

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

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 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-C6009 Software, Version NmpSW: 5.4(1)CSX
  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-C6000  
3/6      002267619                       3/5                       WS-C6000
4/1      002267619                       4/2                       WS-C6000
4/2      002267619                       4/1 #                     WS-C6000
4/20     069000057                       8/5                       WS-C6000
5/1      005763872                       2/1                       WS-C6009
5/1      066506245                       2/1                       WS-C6009
5/1      066508595                       5/12 *#                   WS-C6009
5/1      066508596                       5/1                       WS-C6009
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 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      005763872                       2/1                       -
5/1      066506245                       2/1                       -
5/1      066508595                       5/12 *#                   1
5/1      066508596                       5/1                       1
Console> 

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

Console> (enable) show cdp neighbors capabilities
* - indicates vlan mismatch.
# - indicates duplex mismatch.
Capability Codes:R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

Port     Device-ID                       Port-ID Capabilities
-------- ------------------------------- ------------------------- ------------
 4/30    TBA04200588                     4/34                      T S I
 4/31    TBA04200588                     4/35                      T S I
 4/32    TBA04200588                     4/36                      T S I
 4/33    TBA04200588                     4/37                      T S I
 4/34    TBA04200588                     4/38                      T S I
 4/35    TBA04200588                     4/39                      T S I
 4/36    TBA04200588                     4/40                      T S I
 4/45    19991108                        4/46                      T S I
 4/46    19991108                        4/45                      T S I
 5/1     TBA04200588                     1/2                       T S I
 5/2     TBA04200588                     1/1                       T S I
 5/3     TBA04200588                     2/1                       T S I
Console> (enable)

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

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

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 channel

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

show channel [channel_id] [info | statistics | mac]

show channel [channel_id] [info [type]]

show channel [channel_id | all] protocol

Syntax Description

channel_id

(Optional) Number of the channel.

info

(Optional) Displays channel information.

statistics

(Optional) Displays statistics about the port (PAgP packets sent and received).

mac

(Optional) Displays MAC information about the channel.

type

(Optional) Displays feature-related parameters; valid values are spantree, trunk, protcol, gmrp, gvrp, qos, rsvp, cops, dot1qtunnel, auxiliaryvlan, and jumbo.

all

(Optional) Displays protocols of all channels.

protocol

Displays channel protocol.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify the channel_id value, EtherChannel information is shown for all channels.

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

If you enter the optional info type, the specified feature-related parameters are displayed in the output.

To display protocols on all channels, enter the show channel all protocol command.

Examples

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

Console> show channel 865
Channel Ports                                           Status    Channel
id                                                                Mode
------- ----------------------------------------------- --------- --------------
    865 4/1-2                                           connected desirable     
                                                                  non-silent 
Console>

This example shows how to display channel 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 port information for a specific channel:

Console> show channel 769
Chan Port  Port     Portfast Port    Port
id         priority          vlanpri vlanpri-vlans
---- ----- -------- -------- ------- ------------------------------------------
769  1/1        32  disabled       0 
769  1/2        32  disabled       0 

Chan Port  IP       IPX      Group
id
---- ----- -------- -------- --------
769  1/1  on       auto-on  auto-on 
769  1/2  on       auto-on  auto-on 

Chan Port  GMRP     GMRP         GMRP
id         status   registration forwardAll
---- ----- -------- ------------ ----------
769  1/1  enabled  normal       disabled  
769  1/2  enabled  normal       disabled  

Chan Port  GVRP     GVRP          GVRP
id         status   registeration applicant
---- ----- -------- ------------- ---------
 769  1/1  disabled normal        normal   
 769  1/2  disabled normal        normal   

Chan Port  Qos-Tx Qos-Rx Qos-Trust    Qos-DefCos Qos-Port-based
id
---- ----- ------ ------ ------------ ---------- --------------
 769  1/1  2q2t   1q4t   untrusted             0 false         
 769  1/2  2q2t   1q4t   untrusted             0 false         

Chan Port  ACL name                         Protocol
id
---- ----- -------------------------------- --------
 769  1/1                                   IP
                                            IPX
                                            MAC
 769  1/2                                   IP
<