Mac-Address Command on CISCO Router/Switch

Command

Mac-Address

Use

This command is used to logically change the mac address of an interface.

Syntax

Router(config-if)#mac-address AAAA.AAAA.AAAA

Example

In this example, we will change 2611XM’s Fa0/0 to have a mac address of AAAA.AAAA.AAAA.

2611XM(config)#int fa0/0
2611XM(config-if)#mac-address AAAA.AAAA.AAAA
2611XM(config-if)#do show interface fa0/0
FastEthernet0/0 is up, line protocol is up
Hardware is AmdFE, address is aaaa.aaaa.aaaa (bia 0015.c6e2.7f20)

Related Articles

Leave a Reply

avatar