system-mac

To manually configure the virtual port channel (vPC) domain MAC address, use the system-mac command. To restore the default vPC system MAC address, use the no form of this command.

system-mac mac_address

no system-mac mac_address

Syntax Description

mac_address
MAC address that you want for the specified vPC domain in the following format aaaa.bbbb.cccc.

Command Default

None

Command Modes

vPC domain configuration mode

Command History

Release
Modification
4.2(1)N1(1)
This command was introduced.

Usage Guidelines

When you create a vPC domain, the Cisco NX-OS software automatically creates a vPC system MAC address, which is used for operations that are confined to the link-scope, such as the Link Aggregation Control Protocol (LACP). However, you may choose to configure the vPC domain MAC address manually.

Examples

This example shows how to configure the MAC address for the vPC domain:

switch(config-vpc-domain)# system-mac 23fb.4ab5.4c4e
switch(config-vpc-domain)#
 

Related Commands

Command
Description
copy running-config startup-config
Copies the running configuration to the startup configuration.
show vpc peer-keepalive
Displays the status of the peer-keepalive link.
show running-config vpc
Displays the running configuration information for vPCs.
show vpc role
Displays the vPC system priority.
show vpc statistics
Displays information about the configuration for the keepalive messages.