mac-address

Use this command to configure a MAC address for Layer 3 interfaces. Interface can be Layer 3 physical interface or routed VLAN interface or port-channel.

Use the no form of this command to remove the MAC address from an interface.

Command Syntax

Copy
mac-address  HHHH.HHHH.HHHH
no mac-address

Parameters

mac-address

Mac-address in HHHH.HHHH.HHHH format (only supported on L3 Interfaces)

Default

None

Command mode

Interface mode

Applicability

This command was introduced before OcNOS version 6.4.2.

Examples

Copy
OcNOS(config)#int xe46
OcNOS(config-if)#mac-address 00e0.aaaa.bbbb