06-11-2012 06:35 AM - edited 03-07-2019 07:11 AM
Hi,
i am using Cisco 2821 router at the edge in my Network. please can any one help me the command to get the MAC Address of the Router.
Thanks,
Saroj
06-11-2012 06:52 AM
Saroj,
Try "sh inter | inc line protocol|bia"
You'll get output like below:
FastEthernet0/0 is up, line protocol is up
Hardware is Gt96k FE, address is c400.2790.0000 (bia c400.2790.0000)
FastEthernet0/1 is administratively down, line protocol is down
Hardware is Gt96k FE, address is c400.2790.0001 (bia c400.2790.0001)
The bia is the "burned in address" and is listed below the owner's interface (Fa0/0 is c400.2790.0000).
HTH,
John
06-18-2012 06:19 AM
Thanks for the reply. But instead of the Interface MAC address is the Router has a mac Address. When I use sh version on the cisco 3560 L3 Switch it shows a MAC Address.
So is there any MAC address for the Router .?
Thanks,
Saroj
06-18-2012 07:15 AM
Please see the output from my Router which show the Interface MAC.
Protocol Address Age (min) Hardware Addr Type Interface
Internet 111.93.83.2 - 7081.0575.845f ARPA FastEthernet0/2/0
Internet 115.254.61.209 - 7081.0575.8460 ARPA FastEthernet0/2/1
Internet 122.168.191.65 - 0019.2f8e.c639 ARPA GigabitEthernet0/1
Internet 202.56.221.198 - 0019.2f8e.c638 ARPA GigabitEthernet0/0
Thanks,
Saroj
06-18-2012 07:37 AM
Hi Saroj,
Finally I got the right command:
use this ..
TXXXCVPN1#sh tech | i Chassis
Chassis Serial Number : FCZ15047FR5
Chassis MAC Address : e8b7.486c.0f90
You can not see the mac address because there is no vlans.
But from this command you canb see the serial number and mac address of router
Regards
please rate if it helps.
06-18-2012 07:44 AM
Thanks I got the MAC of the Device.
06-18-2012 08:21 AM
Hi Saroj,
If you are satisfied with the clues then please mark question as answered.
Regards
please rate if it helps.
01-10-2013 03:32 AM
Hi Sandeep,
When we require this command , plz tell me
sh tech | i Chassis
01-10-2013 03:43 AM
Hi Kuldeep,
This is used to find the mac address of the device.
Regards
01-10-2013 04:12 AM
Hi Sandeep,
I have some questions about MAC, plz help
1. Does every port of Switch has its own unique MAC address,
like as a Router ?
2. How can we configure MAC on switch port as static ?
In my understanding, there are only two ways
a) through mac-address-table command
b) Port-security
Plz correct me if i am wrong ? Explain also both way
KS
01-10-2013 04:41 AM
Hi Kuldeep,
1. When looking at Layer2 don't think of each switch interface as having an addressable MAC.
2 Yes Even I know only these 2 ways.
switch(config-)# mac-address-table static mac_address vlan vlan-id { drop interface { type slot /port } | port-channel number } [ auto-learn ]
Example: switch(config)# mac-address-table static 12ab.47dd.ff89 vlan 3 interface ethernet 2/1
Switch(config-if)# switchport port-security mac-address mac_address
Mere hisab se bhi ye do hi method hai .....Hope it helps.
Regards
Please rate if it helps.
01-10-2013 04:57 AM
Hi Sandeep,
there is one confusion with command,
Suppose any computer connected to Cisco 2960 switch, and we do not
have any kind of VLAN configuration then what will be the command ?
switch(config)# mac-address-table static 12ab.47dd.ff89 vlan 3 interface ethernet 2/1
01-10-2013 05:07 AM
Mere hisab se bina vlan ke kisi port ko mac address assign nahi kar sakte (atleast vlan 1-default vlan to har port par hoti hi hai yar)
try to use vlan 1 then try it.
Read this :
http://www.ccietalk.com/2008/06/03/adding-and-removing-static-address-entries-on-catalyst-switches
Regards
01-26-2013 05:12 AM
Hi Sandeep,
I know every switch have default VLAN 1 but I am using
Cisco L2 switch as a Hub ( that means no Vlan 1)
can we configure static mac address without using any Vlan ???
KS
06-11-2012 11:36 PM
Hi Saroj,
Just login to the router and type sh arp interface
you will see a table like this:
XYZCVPN1#sh arp interface
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.75.3.254 - e8b7.486c.0f93 ARPA Vlan3
Internet 10.75.4.252 - e8b7.486c.0f93 ARPA Vlan4
Internet 10.75.6.254 - e8b7.486c.0f93 ARPA Vlan6
Internet 82.99.163.2 - e8b7.486c.0f91 ARPA GigabitEthernet0/1
as you can see this router has and mac address "e8b7.486c.0f93".(But you have to know your router ip address.)
Regards
plz rate if it helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide