admin-global-mac

This command allows you to configure the MAC address prefix for eight MAC addresses in the pool, which can be used for underlying interfaces. The PPP interface gets its MAC address from the underlying interface (e.g., ppp0 and underlying giga 0/0). Therefore, after creating different interfaces with different MACs, you can create different PPPs and set its underlying to the interfaces with the different MACs.

Syntax

# admin-global-mac {<manually configured MAC prefix>|auto}

Command

Description

auto

The device automatically determines the prefix of the eight MAC addresses in the pool. The first MAC address has prefix 02:90:8f, the second has prefix 02:91:8f, and so on, until the last MAC address which has prefix 02:97:8f. The suffix is taken from the underlying interface (e.g., from gig 0/0).

<manually configured MAC prefix>

You can manually configure the prefix of the eight MAC addresses in the pool. Each MAC address in the pool is incremented by 1 in the second octets. For example, if configured to 09:11:2g, the second MAC has prefix 09:12:2g, the third MAC has prefix 09:13:2g, and so on. The suffix is taken from the underlying interface (e.g., from gig 0/0).

Command Mode

Privileged User

Related Commands

To see if the MAC addresses in the pool are being used or not (by underlying interfaces): show global-mac-table
To enable and associate a MAC address from the pool with an underlying interface: (conf-if-<interface>)# mac auto

Example

This example manually configures the prefix of the MAC addresses in the pool:

# (config-data)# admin-global-mac 09:11:2g