ip-mac

Manually configures an IP MAC address on an IP interface.
Syntax
ip-mac mac-address
no ip-mac mac-address
Command Default

If an IP MAC address is not configured, the IP interface will use the MAC address of the device or the configured stack MAC address.

Parameters
MAC-address
Configures a MAC address on a physical or virtual Ethernet (VE) interface.
Modes

Interface configuration mode

Usage Guidelines

This command is not supported for ICX 8200 and ICX 8100 devices.

Use the system-max max-ip-mac command to change the maximum number of MAC addresses to be configured on IP interfaces. The number of MAC addresses to be configured on IP interfaces is a range from 120 to 248 with a default of 120.

Use the show ip interface command with a specified interface to view whether a MAC address is configured for the interface.

The no form of the command removes the MAC address from the interface.

Examples

The following example configures a MAC address on Ethernet interface 1/1/6.

device# configure terminal
device(config)# interface ethernet 1/1/6
device(config-if-e1000-1/1/6)# ip address 10.53.5.1/24
device(config-if-e1000-1/1/6)# ip-mac aaaa.bbbb.cccc
History
Release version Command history
08.0.40 This command was introduced.