static-mac-address (VPLS)
To configure the static MAC address to associate a remote MAC address with a pseudowire or any other
bridge interface, use the static-mac-address command in the appropriate L2VPN bridge group bridge domain
configuration submode. To disable this feature, use the no form of this command.
static-mac-address MAC-address
no static-mac-address MAC-address
Syntax Description
Static address to add to the MAC address.
MAC-address
Command Default
None
Command Modes
L2VPN bridge group bridge domain VFI pseudowire configuration
L2VPN bridge group bridge domain attachment circuit configuration
Command History
ModificationRelease
This command was introduced.Release 3.7.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to associate a remote MAC address with a pseudowire:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# l2vpn
RP/0/0/CPU0:router(config-l2vpn)# bridge group 1
RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar
RP/0/0/CPU0:router(config-l2vpn-bg-bd)# vfi model
RP/0/0/CPU0:router(config-l2vpn-bg-bd-vfi)# neighbor 10.1.1.2 pw-id 1000
RP/0/0/CPU0:router(config-l2vpn-bg-bd-vfi-pw)# static-mac-address 1.1.1
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
216 OL-28460-01
Virtual Private LAN Services Commands
static-mac-address (VPLS)