cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2924
Views
7
Helpful
16
Replies

C2821 Router

saroj pradhan
Level 1
Level 1

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

16 Replies 16

John Blakley
VIP Alumni
VIP Alumni

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

HTH, John *** Please rate all useful posts ***

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

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

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.

Thanks I got the MAC of the Device.

Hi Saroj,

If you are satisfied with the clues then please mark question as answered.

Regards

please rate if it helps.

Hi Sandeep,

When we require this command , plz tell me

sh tech | i Chassis

Hi Kuldeep,

This is used to find the mac address of the device.

Regards

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

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.

  •   To configure a static MAC address, perform this task:

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 

  • Port-security
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.

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

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

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

Sandeep Choudhary
VIP Alumni
VIP Alumni

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card