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.
  1. From privileged EXEC mode, enter configuration mode by issuing the configure terminal command.
    device# configure terminal
    
  2. Configure an Ethernet interface link.
    device(config)# interface ethernet 1/1/6
    
  3. Configure the IP address of the interface.
    device(config-if-e1000-1/1/6)# ip address 10.53.5.1/24
    
  4. Configure a MAC address on the interface.
    device(config-if-e1000-1/1/6)# ip-mac aaaa.bbbb.cccc
    
  5. Exit to privileged EXEC mode.
    device(config-if-e1000-1/1/6)# end
    
  6. Use the show ip interface command 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.