Mac address and port

Unanswered Question
Apr 24th, 2007
User Badges:

Hi all,


We have a 1721 box configured with a Vlan, two ports added to this Vlan. I wonder how to know what mac address is linked to fas1 and what mac address is linked to fas2. I have been trying lots of commands getting just informacion about the vlan but not about the ports.


thx in advance

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ankbhasi Tue, 04/24/2007 - 07:07
User Badges:
  • Cisco Employee,

Hi Enriq,


I believe you have ether switch modules installed on 1721 box? If yes you can issue a command "sh int fa1/1 and sh int fa1/2"


HTH


Ankur

enriquebs Tue, 04/24/2007 - 07:18
User Badges:

Hi Ankur,


Yes, I have a switch module, but what I wanna get are the mac addresses dynamically cached in each port. Until now all commands say that are learned via Vlan901 without give any further information about ports.


Thanks

ankbhasi Tue, 04/24/2007 - 07:23
User Badges:
  • Cisco Employee,

Hi Enriq,


So you will like to know the mac address learned dynamically on all ports like you get on any catalyst switches correct?


If yes you can issue a command "sh mac-address-table dynamic"


Also check this link if you are looking for some configuration guide and show commands available on ether switch module


http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t11/ft1636nm.htm#wp1439129


HTH


Ankur


*Pls rate all helpfull post

enriquebs Tue, 04/24/2007 - 07:26
User Badges:

Well, the Wic is a 4-port and the sh mac-add tab command is not supported in the 1721 box.


Thanks,

mohammedmahmoud Tue, 04/24/2007 - 11:35
User Badges:
  • Green, 3000 points or more

Hi there,


Just out of curiosity won't the "show arp" have it?


BR,

Mohammed Mahmoud.

enriquebs Tue, 04/24/2007 - 12:18
User Badges:

Hi!


I have tried that command, don't shows anything. sh ip arp shows mac addresses but don't give informacion about the port, just about the vlan.


thanks

enriquebs Wed, 04/25/2007 - 01:27
User Badges:

Hi all,


Finally I have the answer, sh controllers is the command. Here is the relevant output:


Mac Address | Ports | Entry State

-------------------------------------------------

00-00-00-00-00-00 | 0x20 | 0x0D

00-14-38-C9-7E-0A | 0x04 | 0x0E

00-16-46-D9-AE-0D | 0x20 | 0x0F

00-16-47-46-DC-14 | 0x20 | 0x0E

00-16-47-46-DC-15 | 0x20 | 0x0E

00-16-47-46-DC-16 | 0x20 | 0x0E

00-16-47-46-DC-17 | 0x20 | 0x0E

00-80-9F-5D-A8-5E | 0x01 | 0x0D

00-80-9F-5D-A8-80 | 0x02 | 0x0E

01-00-0C-CC-CC-CC | 0x20 | 0x0E

01-00-0C-CC-CC-CD | 0x20 | 0x0E


I can see the macs learned in ports 1, 2 and 4.



Actions

This Discussion