Command:

show cam

Mode:

Switch> (enable)


Syntax:

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

show cam {dynamic | static | permanent} mod_num/port_num

show cam mac_addr [vlan]


Syntax Description:

count

Keyword that displays only the number of CAM entries.

dynamic

Keyword that displays dynamic CAM entries.

static

Keyword that displays static CAM entries.

permanent

Keyword that displays permanent CAM entries.

system

Keyword that displays system CAM entries.

vlan

(Optional) Variable that specifies the number of the VLAN. If a VLAN is not specified, all VLANs are displayed.

mod_num

Variable that specifies the number of the module.

port_num

Variable that specifies the number of the port.

mac_addr

MAC address.

 


Command Description:

Use the show cam command to display the CAM table.

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.

 


Example:

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

The table below describes the fields in the ATM dual PHY OC-12 module show cam dynamic output.

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

 


Misconceptions:
None

Related Commands:
None

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)