Question : Cisco 6509 Mac Address Table Query

Hello
We are trying to parse the mac address table output of the Cisco Switch 6509 to find
the fast ethernet ports. On issuing the command - "show cam dynamic" - the output is:

VLAN  Dest MAC/Route Des    [CoS]  Destination Ports or VCs / [Protocol Type]
----  ------------------    -----  -------------------------------------------
30    00-30-6e-05-78-90             5/2 [ALL]
9     00-60-45-17-06-1f             2/5-8 [ALL]
31    00-30-6e-05-78-91             5/3 [ALL]
9     00-30-6e-0c-aa-f5             2/5-8 [ALL]
9     00-c0-b7-64-30-88             2/5-8 [ALL]
9     00-60-45-17-06-1c             2/5-8 [ALL]

1. What does 5/2 [All] and 2/[5-8] mean?
2. Do any of the above ports refer to trunk ports?
3. If so which are the trunk ports and which are the regular ports?
4. Also how do we differentiate between Gigabit Ethernet
   Connections and Fast Ethernet Connections?

Answer : Cisco 6509 Mac Address Table Query

The answer to your questions are as follows;

1. The "00-30-6e-05-78-90 5/2 [ALL]" indicates that the MAC address connects to module 5, port 2 of the switch you're issuing the command on.
The output of "00-60-45-17-06-1f 2/5-8 [ALL]" means the same as the above but instead of being connected to a single port, the switch card is what's called a Grouped Switched Module. Therefore the VLANs, in this case, VLAN 9 are grouped together. Should you change port 2/5 to say VLAN 2 then they will all (2/5-8) change. In some cases you will be able to trace a MAC address on one of these cards by typing a "show port 2/5" and taking note of the "Last-Src-Addr"
One good bit of into on this subject is that you can do a "sh cam dy 2/5" to actually find the last MAC address connected to this particular port.

2. To find out where your trunks ports are you'll need to actually show the port (show port x) or relate to the output of a "sh trunk". If you do the show port, instead of associating the port with a VLAN it will say TRUNK instead.

3. As above.

4. The easiest way to differentiate between FE & Gigabit ports is to type "show module" on the switch. From this you can usually, depending on the cards in the chassis, tell immediately. Should you wish to drill down even more I would suggest either a "sh pot cap x/y" or just a "sh po x/y" and go through these individually. The 1st command here gives an overview to the ports capabilities including the speed and the 2nd obviously gives you all the info. (The x/y is the module/port number)

Hope this helps !
Random Solutions  
 
programming4us programming4us