ip mac-address

Use this command to set a MAC address on an interface.

Syntax

ip mac-address address
no ip mac-address

Parameters

address Specifies a 48-bit MAC address in hexadecimal format: HHHH.HHHH.HHHH.

Defaults

None.

Mode

Configuration command, Interface configuration command mode.

Usage

By default, every routing interface uses the same MAC address. If you need interfaces to use different MAC addresses, this command will allow it. It is your responsibility to select a MAC address that will not conflict with other devices on the VLAN, since the Extreme Networks S- K- and 7100-Series devices will not automatically detect this conflict.

The “no” form of this command clears the MAC address.

Example

This example shows how to set an IP MAC address of 000A.000A.000B on VLAN 1:

System(rw-config)->interface vlan 1
System(rw-config-intf-vlan.0.1)->ip mac-address 000A.000A.000B