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

Table Of Contents

show accounting

show acllog

show acl mac-packet-classify

show aclmerge algo

show alias

show arp

show authentication

show authorization

show autoshut

show banner

show boot

show boot device

show cam

show cam agingtime

show cam count

show cam monitor

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 checkpoints

show config differences

show config mode

show config qos acl

show cops

show counters

show crypto key

show default

show dhcp-snooping bindings

show dhcp-snooping config

show dhcp-snooping statistics

show diagnostic

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 acl mac-packet-classify

To display a list of VLANs that have the MAC-based ACL feature enabled, use the show acl mac-packet-classify command.

show acl mac-packet-classify

Syntax Description

This command has no arguments or kewords.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Examples

This example shows how to display VLANs with the MAC-based ACL feature enabled:

Console> show acl mac-packet-classify
Feature enabled on source vlan(s) 1,5.
Console>

Related Commands

clear acl mac-packet-classify
set acl mac-packet-classify

show aclmerge algo

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

show aclmerge algo

Syntax Description

This command has no arguments or kewords.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Privileged.

Examples

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)

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 autoshut

To display the automatic module shutdown configuration and current status information, use the show autoshut command.

show autoshut

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

The run-time variable states for Ethernet modules do not synchronize with the standby supervisor engine. The output of the show autoshut command on a standby supervisor engine does not track with the number of resets or the reasons for the resets. If the module is powered down by the set autoshut command, the output stays the same.

Examples

This example shows how to display the automatic module shutdown configuration and current status information:

Console> show autoshut
AutoShut Frequency:     3 times
AutoShut Period:        5 minutes

Mod Autoshut Current  Number Reason for last Time of last reset
num status   status   resets reset
--- -------- -------- ------ ---------------- -------------------------
1   NA       ok      -      -               -
2   enabled  shutdown 4      inband failure  Mon Jul 14 2003, 22:55:45
3   disabled ok      0      None            -
4   enabled  ok       1     scp failure      Mon Jul 14 2003, 21:03:17
Console> 

Related Commands

clear autoshut
set autoshut
set module autoshut

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 |duplicate} [ {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.

duplicate

Displays duplicate 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 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, CAM entries for 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.

To continue displaying the entire list of CAM entries when you enter the show cam dynamic command, press the Y key or the space bar.

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

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

console> (enable) sh cam duplicate
* = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry. X = Port 
Security Entry $ = Dot1x Security Entry M = Mac-Auth-Bypass Entry & = Duplicate MAC entry
VLAN 		Dest MAC/Route Des 	[CoS]  Destination Ports or VCs / [Protocol Type]
---- 		------------------ 	-----  -------------------------------------------
401 		00-d0-02-83-eb-89 				 & 			12/1
426 		00-d0-02-83-eb-89 			 & 				12/16
401 		d8-d9-02-83-ef-ff 				 & 			12
429 		d8-d9-02-83-ef-ff 			 & 				3/86

Total Matching CAM Entries Displayed = 2

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

To display the global configuration for CAM monitoring or the configuration for specific interfaces, use the show cam monitor command.

show cam monitor [mod/ports | vlan | all]

Syntax Description

mod/ports

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

vlan

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

all

(Optional) Displays monitoring configuration on all interfaces.


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

If you do not specify a mod/port or vlan argument or the all keyword, the global CAM monitoring configuration displays.

Examples

This example shows how to display the global CAM monitoring configuration:

Console> show cam monitor
Cam monitor global configuration:
enabled  : TRUE
interval : 20
Console>

This example shows how to display the CAM monitoring configuration on all interface:

Console> show cam monitor all

mod/port Enabled  Low        Low        High       High       No. of
                  Threshold  Action     Threshold  Action     mac addrs
------------------------------------------------------------------------------
  3/1          Y        500  warning        28000  shutdown           0
Console>

Related Commands

clear cam monitor
set cam monitor

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 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, MAC addresses added and deleted, and MAC move counters statistics, 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}]

show cam notification move counters [vlan]

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.

move counters

Displays MAC move statistics.

vlan

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


Defaults

This command has no default settings.

Command Types

Switch command.

Command Modes

Normal.

Usage Guidelines

The MAC move counter records a maximum of 1000 MAC moves per VLAN only. Once this maximum has been exceeded, new moves are not recorded on the VLAN. You can enter the clear cam notification move counters command to clear the counters.

Due to differences between the CPU and the ASIC processing speed differences, the number of moves reported by the MAC move counter may differ from the actual number of MAC moves.

MAC move counter notification is not supported on EARL 4 and earlier.

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>

This example shows how to display the CAM notification move counters when MMC is disabled:

Console> show cam notification move counters 
MAC move counters are disabled
Console>

This example shows how to display the CAM notification move counters when no entries are present:

Console> show cam notification move counters 
No entries found
Console> 

This example shows how to display the CAM notification move counters when you do not specify a VLAN:

Console> show cam notification move counters 
MAC move statistics of all the Vlans will be displayed
Console> 

This example shows how to display the CAM notification move counters when MMC is enabled:

Console> show cam notification move counters 
-----------------------------------------------------------------------------------
 Vlan   Mac Address          From Mod/Port            To Mod/Port           Count
 ---- ----------------- ----------------------- ----------------------- ------------
    1 00-01-02-04-04-01                     2/3                     3/1        10
  200 00-01-05-03-02-01                     5/3                     5/1        20
Console> 

This example shows how to display the CAM notification move counters when you specify a VLAN:

Console> show cam notification move counters 1
-----------------------------------------------------------------------------------
 Vlan   Mac Address          From Mod/Port            To Mod/Port           Count
 ---- ----------------- ----------------------- ----------------------- ------------
    1 00-01-02-04-04-01                     2/3                     3/1        15
6.2.2.4 From Mod/Port is part of an EtherChannel
Console> 

This example shows how to display the CAM notification move counters when the To Mod/Port is part of an EtherChannel:

Console> show cam notification move counters
-----------------------------------------------------------------------------------
 Vlan   Mac Address          From Mod/Port            To Mod/Port           Count
 ---- ----------------- ----------------------- ----------------------- ------------
    1 00-01-02-07-08-01                     3/1         2/1,2/3,2/5,2/7        10
Console> 

This example shows how to display the CAM notification move counters when both the From Mod/Port and To Mod/Port are part of an EtherChannel:

Console> show cam notification move counters
-----------------------------------------------------------------------------------
 Vlan   Mac Address          From Mod/Port            To Mod/Port           Count
 ---- ----------------- ----------------------- ----------------------- ------------
    1 00-01-02-06-08-01         3/1,3/3,3/5,3/7         2/1,2/3,2/5,2/7        15
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 exclude 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>