Manually Configuring an IP MAC Address
One IP MAC address can be manually configured for each Layer 3 physical or virtual
ethernet (VE) interface on a device. The configured MAC address will be used for all
the software and hardware communications related to unicast IPv4 or IPv6 addresses
on the IP interface.
- From privileged EXEC mode, enter configuration mode by issuing the
configure terminalcommand. - Configure an Ethernet interface link.
- Configure the IP address of the interface.
- Configure a MAC address on the interface.
- Exit to privileged EXEC mode.
- Use the
show ip interfacecommand to verify the user-configured MAC address.device# show ip interface ethernet 1/1/6 Interface Ethernet 1/1/6 port enabled port state: DOWN ip address: 10.53.5.1 subnet mask: 255.255.255.0 Port belongs to VRF: default-vrf encapsulation: ETHERNET, mtu: 1500, metric: 1 directed-broadcast-forwarding: disabled ICMP redirect: disabled proxy-arp: disabled ip arp-age: 10 minutes No Helper Addresses are configured. No inbound ip access-list is set No outgoing ip access-list is set ip-mac: aaaa.bbbb.cccc
The user-configured MAC address is shown after the “ip-mac:” text.