static-address (VPLS)
To add static entries to the MAC address for filtering, use the static-address command in L2VPN bridge
group bridge domain MAC configuration mode. To remove entries profiled by the combination of a specified
entry information, use the no form of this command.
static-address MAC-address drop
no static-address MAC-address drop
Syntax Description
Static MAC address that is used to filter on the bridge domain.
MAC-address
Drops all traffic that is going to the configured MAC address.drop
Command Default
No static MAC address is configured.
Command Modes
L2VPN bridge group bridge domain MAC 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 add static MAC entries in L2VPN bridge group bridge domain MAC
configuration mode. This entry causes all packets with destination MAC address 1.1.1 to be dropped.
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)# mac
RP/0/0/CPU0:router(config-l2vpn-bg-bd-mac)# static-address 1.1.1 drop
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x
214 OL-28460-01
Virtual Private LAN Services Commands
static-address (VPLS)