system ve-mac-scheme

Description                                                    Configure MAC address assignment for Virtual Ethernet (VE) interfaces.

Syntax                                                                  [no] system ve-mac-scheme {round-robin | system-mac | hash-based}

Parameter

Description

round-robin

In the shared partition, this option assigns MAC addresses in round-robin fashion, beginning with the address for port 1. Each new VE, regardless of the VE number, is assigned the MAC address of the next Ethernet data port. For example:

  The MAC address of Ethernet data port 1 is assigned to the first VE you configure.

  The MAC address of Ethernet data port 2 is assigned to the second VE you configure.

  The MAC address of Ethernet data port 3 is assigned to the third VE you configure.

This process continues until the MAC address of the highest-numbered Ethernet data port on the ACOS device is assigned to a VE. After the last Ethernet data port’s MAC address is assigned to a VE, MAC assignment begins again with Ethernet data port 1. The number of physical Ethernet data ports on the ACOS device differs depending on the ACOS model.

This option is not supported in L3V partitions.

system-mac

In the shared partition, this option assigns the system MAC address (the MAC address of Ethernet data port 1) to all VEs.

In an L3V partition, this option allocates a system MAC for the partition and assigns the system MAC address of the partition to all VLANs and VEs in the partition. This is useful when configuring cross con­nect between partitions.

hash-based

In the shared partition, this option causes ACOS to use a hash value based on the VE number to select an Ethernet data port, and assigns that data port’s MAC address to the VE. This method always assigns the same Ethernet data port’s MAC address to a given VE number, on any model, regardless of the order in which VEs are configured.

This option is not supported in L3V partitions.

Default                                                                hash-based

Mode                                                                   Configuration mode

Usage                                                                  This command can be configured only in the shared partition, not in L3V partitions. A reload or reboot is required to place the change into effect.

Example                                                            Below is an example of the system-mac parameter and how it is used with L3V partitions.

First, assume we have partitions “p1” and “P2” on the device, then execute the command:

ACOS(config)#system ve-mac-scheme system-mac

After rebooting or reloading the device, examine the MAC addresses to see the mac-scheme applied on the VEs.

First, in partition “p1”:

ACOS[p1](config)#show interfaces brief | sec ve600

ve600 Down  N/A   N/A   N/A   600  021f.a008.01f7  0.0.0.0/0             0

ACOS[p1](config)#

 

Next, in partition “p2”:

ACOS[p2]#show interfaces brief | sec ve800

ve800 Down  N/A   N/A   N/A   800  021f.a008.02f7  0.0.0.0/0             0

ACOS[p2]#

 

Finally, in the shared partition:

ACOS(config)#show interfaces brief | sec ve

ve500 Down  N/A   N/A   N/A   500  021f.a008.00f7  51.51.51.2/24         1

ACOS(config)#

 

The MAC address for each partition is unique to the partition.

Table of Contents

Index

Glossary

-Search-

Back