Static MAC Address Support for Service Instances and

Static MAC Address Support on Service
Instances and Pseudowires
First Published: November 20, 2009
Last Updated: February 5, 2011
The Static MAC Address Support on Service Instances and Pseudowires feature supports configuration
of a static MAC address on a pseudoport. Use of a static MAC address for broadband network gateway
(BNG) upstream traffic enables traffic forwarding while conserving MAC table resources and limiting
the traffic flood by creating multicast groups.
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature
information and caveats, see the release notes for your platform and software release. To find information
about the features documented in this module, and to see a list of the releases in which each feature is
supported, see the “Feature Information for Static MAC Address Support on Service Instances and
Pseudowires” section on page 10.
Use Cisco Feature Navigator to find information about platform support and Cisco software image
support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on
Cisco.com is not required.
Contents
•
Prerequisites for Static MAC Address Support on Service Instances and Pseudowires, page 2
•
Restrictions for Static MAC Address Support on Service Instances and Pseudowires, page 2
•
Information About Static MAC Address Support on Service Instances and Pseudowires, page 2
•
How to Configure a Static MAC Address on Service Instances or Pseudowires, page 3
•
Additional References, page 8
•
Feature Information for Static MAC Address Support on Service Instances and Pseudowires,
page 10
Americas Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
Static MAC Address Support on Service Instances and Pseudowires
Prerequisites for Static MAC Address Support on Service Instances and Pseudowires
Prerequisites for Static MAC Address Support on Service
Instances and Pseudowires
•
Knowledge of both port and bridge domain limitations.
•
Knowledge of service instances.
•
Layer 2 virtual forwarding instance (L2VFI) must be integrated with the bridge domain.
Restrictions for Static MAC Address Support on Service
Instances and Pseudowires
•
Multicast static MAC addresses are not allowed in MAC address security configurations.
•
Static MAC addresses are programmed only on switch processors (both active and standby).
Information About Static MAC Address Support on Service
Instances and Pseudowires
•
Static MAC Address Support on Service Instances and Pseudowires, page 2
•
Benefits of Static MAC Address Support on Service Instances and Pseudowires, page 3
Static MAC Address Support on Service Instances and Pseudowires
Static MAC address configuration on service instances and pseudowires eliminates the need for MAC
address learning, which is required for traffic forwarding. In the upstream direction, without MAC
address learning, MAC address table resources can be conserved and network resources optimized.
Static MAC address configuration requires L2VFI integration with a bridge domain, which allows a
pseudoport to be created on the bridge domain for a pseudowire. After the pseudoport is created, the
static MAC configuration can be associated to the bridge domain pseudoport.
Multicast static MAC addresses are allowed on multiple pseudoports in the same bridge domain.
2
Static MAC Address Support on Service Instances and Pseudowires
How to Configure a Static MAC Address on Service Instances or Pseudowires
Figure 1 shows static MAC addresses in a network configured with broadband remote access server
(BRAS) redundancy.
Figure 1
Active/Active Aggregation Node and BRAS Redundancy
Static MAC
for BRAS3
Static MAC for
BRAS1, BRAS2
Gateway for
VOD/IPTV
PLS
EoM
PPPoE
sessions
PW
Static MAC
for BRAS2
VFI
Static MAC
for BRAS3
MAC
learning
disabled
EoMP
LS PW
Static MAC for
BRAS3, BRAS4
40xGE
Access
4x10GE
Static MAC
for BRAS4
40xGE
4x10GE
Aggregation
Distribution
277020
VLAN
10
BNG
When a bridge domain ID is either changed or deleted for a service instance or for an L2VFI, all static
MAC addresses are removed.
When a service instance or a pseudowire is deleted, all static MAC addresses on that pseudoport are
removed.
Benefits of Static MAC Address Support on Service Instances and Pseudowires
•
Facilitates optimization of network resources
•
Conserves MAC table resources when used for upstream traffic
How to Configure a Static MAC Address on Service Instances or
Pseudowires
•
Configuring a Static MAC Address on a Service Instance, page 4
•
Configuring a Static MAC Address on a Pseudowire, page 5
•
Displaying Configured Static MAC Addresses, page 6
3
Static MAC Address Support on Service Instances and Pseudowires
How to Configure a Static MAC Address on Service Instances or Pseudowires
Configuring a Static MAC Address on a Service Instance
Perform this task to manually configure a static MAC address on a service instance.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
service instance id ethernet [evc-id]
5.
encapsulation dot1q vlan-id [,vlan-id [-vlan-id]] [native]
6.
bridge-domain bridge-id [split-horizon [group group-id]]
7.
mac static address mac-addr [auto-learn] [disable-snooping]
8.
exit
DETAILED STEPS
Step 1
Command or Action
Purpose
enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Example:
Router> enable
Step 2
configure terminal
Enters global configuration mode.
Example:
Router# configure terminal
Step 3
interface type number
Configures an interface type and enters interface
configuration mode.
Example:
Router(config)# interface ethernet 1/0
Step 4
service instance id ethernet [evc-id]
Configures an Ethernet service instance on an interface and
enters service instance configuration mode.
Example:
Router(config-if)# service instance 1 ethernet
Step 5
encapsulation dot1q vlan-id
[,vlan-id[-vlan-id]] [native]
Enables IEEE 802.1Q encapsulation of traffic on a specified
subinterface in a VLAN.
Example:
Router(config-if-srv)# encapsulation dot1q 100
Step 6
bridge-domain bridge-id [split-horizon [group
group-id]]
Example:
Router(config-if-srv)# bridge-domain 100
4
Binds a service instance to a bridge domain instance.
Static MAC Address Support on Service Instances and Pseudowires
How to Configure a Static MAC Address on Service Instances or Pseudowires
Step 7
Command or Action
Purpose
mac static address mac-addr [auto-learn]
[disable-snooping]
Configures a static MAC address.
Example:
Router(config-if-srv)# mac static address
0000.bbbb.cccc
Step 8
Returns the CLI to privileged EXEC mode.
exit
Example:
Router(config-if-srv)# exit
Configuring a Static MAC Address on a Pseudowire
Perform this task to manually configure a static MAC address on a Pseudowires.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
l2 vfi name manual
4.
vpn {vrf vrf-name | id vpn-id}
5.
bridge-domain bridge-id vlan vlan-name
6.
neighbor remote-router-id vc-id {encapsulation encapsulation-type | pw-class pw-name}
[no-split-horizon]
7.
mac static address mac-addr [auto-learn] [disable-snooping]
8.
exit
DETAILED STEPS
Step 1
Command or Action
Purpose
enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Example:
Router> enable
Step 2
configure terminal
Enters global configuration mode.
Example:
Router# configure terminal
Step 3
l2 vfi name manual
Creates a Layer 2 VFI and enters Layer 2 VFI manual
configuration mode.
Example:
Router(config)# l2 vfi test-core manual
5
Static MAC Address Support on Service Instances and Pseudowires
How to Configure a Static MAC Address on Service Instances or Pseudowires
Step 4
Command or Action
Purpose
vpn {vrf vrf-name | id vpn-id}
Router(config-vfi)# vpn id 100
Specifies that the source and destination IP addresses of a
virtual private dialup network (VPDN) group belong to a
specified Virtual Private Network (VPN) routing and
forwarding (VRF) instance,
bridge-domain bridge-id vlan vlan-name
Configures a VLAN for a bridge domain.
Example:
Step 5
Example:
Router(config-vfi)# bridge-domain 100
vlan vlan10
Step 6
neighbor remote-router-id vc-id {encapsulation
encapsulation-type | pw-class pw-name}
[no-split-horizon]
Specifies the type of tunnel signaling and encapsulation
mechanism for each virtual private LAN service (VPLS)
peer and enters VFI neighbor configuration mode.
Example:
Router(config-vfi)# neighbor 209.165.202.129 5
pw-class TestClass
Step 7
mac static address mac-addr [auto-learn]
[disable-snooping]
Configures a static MAC address.
Example:
Router(config-vfi-neighbor)# mac static address
0000.aaaa.bbbb
Step 8
Returns the CLI to privileged EXEC mode.
exit
Example:
Router(config-vfi-neighbor)# exit
Displaying Configured Static MAC Addresses
Perform this task to display the static MAC addresses that are configured. Output of these commands
may be useful for troubleshooting. The show commands can be issued in any order.
SUMMARY STEPS
6
1.
enable
2.
show bridge-domain [[bridge-id] [c-mac] [mac {security [address | last violation | statistics] |
static address | table [mac-address | aging-time | count]}] | split-horizon [group {group-number
| all | none}] | stats]
3.
show ethernet service instance [detail | id id interface type number [detail | mac {security
[address | last violation | statistics] | static address}] | platform | stats] | interface type number
[detail | platform | stats | summary] | mac security [address | last violation | statistics] | platform
| policy-map | stats | summary]
4.
show vfi [checkpoint [summary] | mac static address | memory [detail] | name vfi-name
[checkpoint | mac static address] | neighbor ip-addr vcid vcid mac static address]
5.
exit
Static MAC Address Support on Service Instances and Pseudowires
Configuration Examples for Static MAC Address Support on Service Instances and Pseudowires
DETAILED STEPS
Step 1
Command or Action
Purpose
enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Example:
Router> enable
Step 2
show bridge-domain [[bridge-id] [c-mac] [mac
{security [address | last violation |
statistics] | static address | table
[mac-address | aging-time | count]}] |
split-horizon [group {group-number | all |
none}] | stats]
Display bridge-domain information.
Example:
Router# show bridge-domain 100 mac static
address
Step 3
show ethernet service instance [detail | id id
interface type number [detail | mac {security
[address | last violation | statistics] |
static address}] | platform | stats] |
interface type number [detail | platform |
stats | summary] | mac security [address | last
violation | statistics] | platform | policy-map
| stats | summary]
Displays information about Ethernet service instances.
Example:
Router# show ethernet service instance id 1
interface ethernet 0/0 mac static address
Step 4
show vfi [checkpoint [summary] | mac static
address | memory [detail] | name vfi-name
[checkpoint | mac static address] | neighbor
ip-addr vcid vcid mac static address]
Displays information about a VFI.
Example:
Router# show vfi name VFI2 mac static address
Step 5
Returns the CLI to user EXEC mode.
exit
Example:
Router# exit
Configuration Examples for Static MAC Address Support on
Service Instances and Pseudowires
•
Example: Configuring a Static MAC Address on a Service Instance, page 8
•
Example: Configuring a Static MAC Address on a Pseudowire, page 8
7
Static MAC Address Support on Service Instances and Pseudowires
Additional References
Example: Configuring a Static MAC Address on a Service Instance
Router> enable
Router# configure terminal
Router(config)# interface ethernet 1/0
Router(config-if)# service instance 1 ethernet
Router(config-if-srv)# encapsulation dot1q 100
Router(config-if-srv)# bridge-domain 100
Router(config-if-srv)# mac static address 0000.bbbb.cccc
Router(config-if-srv)# exit
Example: Configuring a Static MAC Address on a Pseudowire
Router> enable
Router# configure terminal
Router(config)# l2 vfi test-core manual
Router(config-vfi)# vpn id 100
Router(config-vfi)# bridge-domain 100 vlan vlan10
Router(config-vfi)# neighbor 209.165.202.129 5 pw-class TestClass
Router(config-vfi-neighbor)# mac static address 0000.aaaa.bbbb
Router(config-vfi-neighbor)# exit
Additional References
Related Documents
Related Topic
Document Title
Configuration guide
Cisco IOS Carrier Ethernet Configuration Guide, Release 12.2SR
Carrier Ethernet commands: complete command
syntax, command mode, command history, defaults,
usage guidelines, and examples
Cisco IOS Carrier Ethernet Command Reference
Cisco IOS commands: master list of commands with
Cisco IOS Master Command List, All Releases
complete command syntax, command mode, command
history, defaults, usage guidelines, and examples
Standards
Standard
Title
None
—
8
Static MAC Address Support on Service Instances and Pseudowires
Additional References
MIBs
MIB
MIBs Link
None
To locate and download MIBs for selected platforms, Cisco software
releases, and feature sets, use Cisco MIB Locator found at the
following URL:
http://www.cisco.com/go/mibs
RFCs
RFC
Title
None
—
Technical Assistance
Description
Link
http://www.cisco.com/cisco/web/support/index.html
The Cisco Support and Documentation website
provides online resources to download documentation,
software, and tools. Use these resources to install and
configure the software and to troubleshoot and resolve
technical issues with Cisco products and technologies.
Access to most tools on the Cisco Support and
Documentation website requires a Cisco.com user ID
and password.
9
Static MAC Address Support on Service Instances and Pseudowires
Feature Information for Static MAC Address Support on Service Instances and Pseudowires
Feature Information for Static MAC Address Support on Service
Instances and Pseudowires
Table 1 lists the release history for this feature.
Use Cisco Feature Navigator to find information about platform support and software image support.
Cisco Feature Navigator enables you to determine which software images support a specific software
release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn.
An account on Cisco.com is not required.
Note
Table 1
Table 1 lists only the software release that introduced support for a given feature in a given software
release train. Unless noted otherwise, subsequent releases of that software release train also support that
feature.
Feature Information for Static MAC Address Support on Service Instances and Pseudowires
Feature Name
Releases
Feature Information
Static Mac for Open (Infrastructure)
12.2(33)SRE
The Static MAC Address Support on Service Instances and
Pseudowires feature supports configuration of a static MAC
address on a pseudoport. Use of a static MAC address for
BNG upstream traffic enables traffic forwarding while
conserving MAC table resources and limiting traffic
flooding by creating multicast groups.
The following commands were introduced or modified:
mac static address, neighbor, show bridge domain, show
ethernet service instance, show vfi.
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks
can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word
partner does not imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any
examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only.
Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
© 2009–2011 Cisco Systems, Inc. All rights reserved.
10