mac auto
This command enables and associates a MAC address from the pool of MAC addresses with an underlying interface.
Syntax
mac auto
Default
By default, this is disabled.
Command Mode
Privileged User
Related Commands
■ | To configure the prefix of the MAC addresses in the pool: set admin-global-mac |
■ | To see if the MAC addresses in the pool are being used or not (by underlying interfaces): show global-mac-table |
Example
This example enables and associates a MAC address from the pool of MAC addresses on the Gigabit Ethernet 0/0 underlying interface for PPPoE:
(config-data) interface gigabitethernet 0/0 (conf-if-GE 0/0)# mac auto
(config-data)# interface pppoe 0
(conf-pppoe-0)# underlying gigabitethernet 0/0