Table Of Contents
Virtual Private LAN Service over MPLS on Cisco 12000 Series Router Line Cards
Virtual Private LAN Service Overview
VPLS Layer 2 Access Control Lists
Transparent Layer 2 Protocol Tunnelling and PDU Filtering
Supported Standards, MIBs, and RFCs
Configuring and Verifying VPLS
Example of Configuring an Ethernet VPLS Network
Example of Verifying a VPLS Configuration
Example of Configuring VPLS for an Ethernet Attachment Circuit
Example of Configuring VPLS for a dot1Q Attachment Circuit
Example of Configuring VPLS for a QinQ Attachment Circuit
Example of Configuring VPLS for a QinAny Attachment Circuit
Example of Configuring a VPLS Ingress Policer
Example of Configuring a VPLS Egress Shaper
Example of Configuring a VPLS Ingress Exp Policy Setting
Example of Configuring VPLS Ingress Match Criteria
Virtual Private LAN Service over MPLS on Cisco 12000 Series Router Line Cards
Part Number OL-8680-02 Rev. 02 April 20, 2007
Feature History
This feature module contains the following sections:
•
Virtual Private LAN Service Overview
•
Supported Standards, MIBs, and RFCs
•
Configuring and Verifying VPLS
Virtual Private LAN Service Overview
Virtual Private LAN Service (VPLS) enables geographically separated Local Area Network (LAN) segments to be interconnected as a single bridged domain over an MPLS network. The full functionalities of the traditional LAN like MAC address learning, aging and switching are emulated across all the remotely connected LAN segments that are part of a single bridged domain. A service provider can offer VPLS service to multiple customers over the MPLS network by defining different bridged domains for different customers. Packets from one bridged domain are never carried over or delivered to another bridged domain, thus ensuring the "private" LAN service.
Figure 1 shows the logical components in a VPLS network.
Figure 1 Logical VPLS Components
Table 1 Acronym Definitions for Figure 1
The service provider configures the customer's VPLS service by first provisioning the customer's attachment circuits and associating them to a VPLS instance specific to the customer. The attachment circuits can only be Ethernet in the current release. Within Ethernet as access medium, the attachment circuit's type could be untagged, tagged VLAN, QinQ (802.1ad) or Q in Any. The type of the attachment circuit could be different at different n-PEs for the same customer. Please refer to the "restrictions" section for exceptions to this.
After provisioning attachment circuits, neighbor relationship across the MPLS network for this specific instance is established through a set of manual commands identifying the end PEs. Once the neighbor association is done, a full mesh of pseudowires are established among the n-PEs and the service provider network will now start switching the packets within the bridged domain specific to this customer by looking at destination MAC addresses. All traffic with unknown, broadcast and multicast destination MAC addresses are flooded to all the connected CEs. n-PEs learn the source MAC addresses as the packets get flooded and then onwards the traffic gets unicasted to the CE for all the learnt MAC addresses.
Transparent LAN Service (TLS) and Ethernet Virtual Connection Service (EVCS) are available for service provider and enterprise use.
VPLS Quality of Service
The Modular QoS CLI (MQC) is a platform independent interface for configuring QoS features on Cisco platforms.
The following three different VPLS specific match criteria are introduced in 12.0(32)S:
•
Match destination-address mac vpls-unknown For unknown traffic
•
Match destination-address mac vpls-known For known traffic
•
Match destination-address mac multicast For multicast traffic
More details and configuration of the QoS feature can be found in "Any Transport over MPLS (AToM): Layer 2 QoS (Quality of Service)" at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120s/120s30/12sl2qos.htm#wp1050921
VPLS Layer 2 Access Control Lists
Layer 2 Access Control Lists (ACLs) provide the ability to filter traffic on a VPLS enabled interface based on the source MAC address in the Layer 2 header of the packet. More details and configuration of this feature can be found in "Protocol-Independent MAC ACL Filtering on the Cisco 12000 Series Internet Router" at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120s/120s32/macacl.htm
Transparent Layer 2 Protocol Tunnelling and PDU Filtering
The Transparent Layer 2 Protocol Tunneling feature allows Layer 2 protocol data units (PDUs) to be tunneled across the core network without being interpreted and processed by intermediary network devices.
Layer 2 PDU filtering allows a service provider to specify which Layer 2 PDUs are to be dropped at an ingress interface on a provider edge (PE) router. Transparent Layer 2 Protocol Tunneling and PDU Filtering provide an enhanced feature set for service providers that transmit customer traffic from metro Ethernet VPNs across an MPLS core network.
These features are supported on VPLS enabled edge interfaces and are supported on VPLS attachment circuits.
Details and configuration of these features (L2PT/L2PDU filtering) can be found in "Transparent Layer 2 Protocol Tunneling and PDU Filtering" at the following URL: http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120s/120s28/l2pt.htm
Pseudowire Tunnel Selection
The Pseudowire Tunnel Selection feature provides the capability to select core-facing routes and map them with VPLS Pseudowire overriding the default route selected by routing. The selected core-facing route could be a next hop or a traffic engineering tunnel.
Traffic engineering (TE) tunnels define LSPs destined to the peer PE router. The default TE tunnel configuration creates one TE tunnel with multiple choices of different paths with different priorities, including tunnel to IGP.
The preferred-path CLI also provides the option to specify whether the VCs should fallback to default route (the route LDP used for signaling) once the preferred path becomes unreachable. The fallback option is enabled by default unless it is explicitly disabled.
Pseudowire Tunnel Selection support is available on a per-neighbor basis. The Virtual Forwarding Instance (VFI) neighbor configuration uses the pseudowire-class as shown in the following example:
pseudowire-class tselect1encapsulation mplspreferred-path interface Tunnel1!pseudowire-class tselect2encapsulation mplspreferred-path peer 1.1.1.1!pseudowire-class tselect3encapsulation mplspreferred-path interface Tunnel2 disable-fallback!pseudowire-class tselect4encapsulation mplspreferred-path peer 1.1.1.2 disable-fallback!l2 vfi VPLS1 manualvpn id 10neighbor 8.8.8.1 pw-class tselect1neighbor 8.8.8.2 pw-class tselect2neighbor 8.8.8.3 pw-class tselect3neighbor 8.8.8.4 pw-class tselect4Restrictions
In this release, the following limitations and restrictions apply:
•
Only 2.5G and 10G IP Services Engine (ISE) line cards can be used for VPLS service on Cisco 12000 series routers.
•
VPLS over IP and VPLS over L2TPv3 are not supported.
•
4-Port ISE Gigabit Ethernet line cards cannot have different Ethernet attachment circuits associated with the same VPLS instance. Only homogeneous interfaces and sub-interfaces are allowed.
•
MPLS forwarding is not supported on non-ISE legacy line cards in a chassis configured as a VPLS provider edge router.
•
Auto-discovery is not supported.
•
The MPLS Fast Reroute feature is not supported in the core for VPLS connections on Engine 3 cards. The MPLS Fast Reroute feature is supported in the core for VPLS connections on Engine 5 cards.
•
QinQ interfaces should not be configured as backup core facing interfaces when using the MPLS Fast Reroute feature
•
The same 4-Port ISE Gigabit Ethernet line card cannot be used for both customer facing interfaces as well as core facing interfaces.
•
VPLS over DPT core is not supported.
•
VLAN ID is not supported as a match criteria for VPLS traffic.
•
Only three Aggregate NetFlow schemes can be configured on the main interface when VPLS is configured.
•
The QinQ and QinAny features are supported only on the version 2 SPAs for Engine 5.
Related Documents
For information on configuring Cisco 12000 Series Routers, refer to the following documents:
•
Modular Quality of Service Command-Line Interface
•
Stacked VLAN Processing
•
Cisco IOS Quality of Service Solutions Command Reference
•
Cisco 12000 Series Router Configuration Guide for Cisco IOS
•
Any Transport over MPLS
•
Any Transport over MPLS (AToM): Layer 2 QoS (Quality of Service)
•
MPLS VPNs over IP Tunnels
Supported Platforms
VPLS is supported in Cisco IOS Release 12.0(32)SY on the following Integrated Services Engine (ISE) line cards and SPAs:
Edge Cards
•
Ethernet Line Cards
–
4-port Gigabit Ethernet ISE Line Card (Minimum 512 Megabytes memory)
Core Cards
•
POS Line Cards
–
4-port OC-12c POS MM (Minimum 512 Megabytes memory)
–
1-port OC-48 (Minimum 512 Megabytes memory)
–
16-port OC-3 (Minimum 512 Megabytes memory)
•
Cisco 12000 SIP-600 SPAs
–
1-port 10-Gigabit Ethernet SPA
–
5-port Gigabit Ethernet SPA
–
10-port Gigabit Ethernet SPA
–
1-port OC-192c/STM-64 POS SPA
–
2-port OC48-POS/RPR SPA
•
Cisco 12000 SIP-401/501/601 SPAs
–
8-port FastEthernet SPA
–
8-port FastEthernet SPA Version 2 (12.0(32)SY)
–
1-port 10-Gigabit Ethernet SPA
–
1-port 10-Gigabit Ethernet SPA Version 2 (12.0(32)SY)
–
2-port Gigabit Ethernet SPA
–
2-port Gigabit Ethernet SPA hiVersion 2 (12.0(32)SY)
–
5-port Gigabit Ethernet SPA
–
5-port Gigabit Ethernet SPA Version 2 (12.0(32)SY)
–
10-port Gigabit Ethernet SPA
–
10-port Gigabit Ethernet SPA Version 2 (12.0(32)SY)
–
1-port OC-192c/STM-64 POS SPA
–
2-port OC48-POS/RPR SPA
Supported Standards, MIBs, and RFCs
The Virtual Private LAN Service over MPLS on Cisco 12000 Series Router Line Cards feature supports the following standards, MIBs, and RFCs.
Standards
MIBs
RFCs
Prerequisites
Before you configure VPLS, ensure that the network is configured as follows:
•
Configure IP routing in the core so that the PE routers can reach each other via IP.
•
Configure MPLS and LDP in the core so that a label switched path (LSP) exists between the PE routers.
•
Configure a loopback interface for originating and terminating Layer 2 traffic. Make sure the PE routers can access the other router's loopback interface. Note that the loopback interface is not needed in all cases. For example, tunnel selection does not need a loopback interface when VPLS is directly mapped to a TE tunnel.
Configuration Tasks
See the following sections for configuration tasks for the VPLS feature.
•
Verifying VPLS Configurations
Provisioning a VPLS Service
You must provision a VPLS service on all provider edge devices as follows:
1.
First create a Layer 2 Virtual Forwarding Instance (VFI) on all provider edge devices.
2.
Then, attach an Ethernet attachment circuit (untagged, tagged VLAN, QinQ (802.1ad) or Q in Any) to the VFI on the provider edge devices.
Steps for Provisioning a VPLS Service
Verifying VPLS Configurations
You can verify the operation of the VPLS Ethernet Service by verifying each of the following components:
•
State of the Virtual Forwarding Instance (VFI)
•
State of the attachment circuit
•
State of the pseudowire
•
MAC address in the MAC table
Monitoring VPLS
To monitor VFI information, use the following show commands:
Configuring and Verifying VPLS
This section provides the following examples for configuring and verifying VPLS on provider edge routers:
•
Example of Configuring an Ethernet VPLS Network
•
Example of Verifying a VPLS Configuration
Example of Configuring an Ethernet VPLS Network
Provider Edge 1—PE1
Router#config tRouter(config)#l2 vfi Goldfinger manualRouter(config-vfi)#vpn id 1Router(config-vfi)#bridge-domain 1Router(config-vfi)#neighbor 120.0.0.3 encapsulation mplsRouter(config-vfi)#neighbor 162.0.0.2 encapsulation mplsRouter(config-vfi)#exitRouter(config)#interface Loopback 0Router(config-if)#ip address 20.0.0.1 255.255.255.255Router(config-if)#exitRouter(config)#interface GigabitEthernet 2/1Router(config-if)#bridge-domain 1Router(config-if)#exitRouter(config)#interface GigabitEthernet 2/2Router(config-if)#bridge-domain 1Router(config-if)#exitProvider Edge 2—PE2
Router#config tRouter(config)#l2 vfi Moonraker manualRouter(config-vfi)#vpn id 1Router(config-vfi)#bridge-domain 1Router(config-vfi)#neighbor 120.0.0.3 encapsulation mplsRouter(config-vfi)#neighbor 20.0.0.1 encapsulation mplsRouter(config-vfi)#exitRouter(config)#interface Loopback 0Router(config-if)#ip address 162.0.0.2 255.255.255.255Router(config-if)#exitRouter(config)#interface GigabitEthernet 2/1Router(config-if)#bridge-domain 1Router(config-if)#exitProvider Edge 3—PE3
Router#config tRouter(config)#l2 vfi Goldeneye manualRouter(config-vfi)#vpn id 1Router(config-vfi)#bridge-domain 6Router(config-vfi)#neighbor 162.0.0.2 encapsulation mplsRouter(config-vfi)#neighbor 20.0.0.1 encapsulation mplsRouter(config-vfi)#exitRouter(config)#l2 vfi Thunderball manualRouter(config-vfi)#vpn id 200Router(config-vfi)#bridge-domain 1Router(config-vfi)#neighbor 162.0.0.2 encapsulation mplsRouter(config-vfi)#neighbor 20.0.0.1 encapsulation mplsRouter(config-vfi)#exitRouter(config)#l2 vfi Mercury manualRouter(config-vfi)#vpn id 300Router(config-vfi)#bridge-domain 1Router(config-vfi)#neighbor 162.0.0.2 encapsulation mplsRouter(config-vfi)#neighbor 20.0.0.1 encapsulation mplsRouter(config-vfi)#exitRouter(config)#interface Loopback 0Router(config-if)#ip address 120.0.0.3 255.255.255.255Router(config-if)#exitRouter(config-if)#interface GigabitEthernet 2/1.1Router(config-subif)#encapsulation dot1Q 134 second-dot1q 876Router(config-subif)#bridge-domain 1Router(config-subif)#exitRouter(config-if)#interface GigabitEthernet 2/1.2Router(config-subif)#encapsulation dot1q 212Router(config-subif)#bridge-domain 1Router(config-subif)#exitRouter(config-if)#exitRouter(config)#interface GigabitEthernet 3/1Router(config-if)#bridge-domain 1Router(config-if)#exitExample of Verifying a VPLS Configuration
These examples show how to verify the operation of the VPLS Ethernet Service by verifying each its components.
State of the Virtual Forwarding Instance (VFI)
The following example verifies the state of the Virtual Forwarding Instance (VFI) on PE1.
vpls-pe1#show vfi GoldfingerVFI name: Goldfinger, state: up, type: multipointBridge-Domain 1 attachment circuits:GigabitEthernet1/0Neighbors connected via pseudowires:7.7.7.7 6.6.6.6State Of The Attachment Circuit
The following example verifies the state of the attachment circuit on PE1.
vpls-pe1#show xconnect interface GigabitEthernet 1/0Legend: XC ST=Xconnect State, S1=Segment1 State, S2=Segment2 StateUP=Up, DN=Down, AD=Admin Down, IA=Inactive, NH=No HardwareXC ST Segment 1 S1 Segment 2 S2------+---------------------------------+--+---------------------------------+--UP ac Gi1/0(Ethernet) UP vfi VPLS_ETH_SERVICE UPvpls-pe1#Verify the state of AC on PE2vpls-pe2#sh xconnect interface g1/0Legend: XC ST=Xconnect State, S1=Segment1 State, S2=Segment2 StateUP=Up, DN=Down, AD=Admin Down, IA=Inactive, NH=No HardwareXC ST Segment 1 S1 Segment 2 S2------+---------------------------------+--+---------------------------------+--UP ac Gi1/0(Ethernet) UP vfi VPLS_ETH_SERVICE UPvpls-pe2#State of the Pseudowire
The following example verifies the state of the pseudowire on PE1.
vpls-pe1#show mpls l2transport vc 1 detailLocal interface: VFI VPLS_ETH_SERVICE VFI upMPLS VC type is VFI, interworking type is EthernetDestination address: 6.6.6.6, VC ID: 1, VC status: upPreferred path: not configuredDefault path: activeNext hop: 26.26.26.2Output interface: Gi5/1/0, imposed label stack {33}Create time: 00:36:12, last status change time: 00:20:13Signaling protocol: LDP, peer 6.6.6.6:0 upMPLS VC labels: local 31, remote 33Group ID: local 0, remote 0MTU: local 1500, remote 1500Remote interface description:Sequencing: receive disabled, send disabledVC statistics:packet totals: receive 0, send 0byte totals: receive 0, send 0packet drops: receive 0, seq error 0, send 0Local interface: VFI VPLS_ETH_SERVICE VFI upMPLS VC type is VFI, interworking type is EthernetDestination address: 7.7.7.7, VC ID: 1, VC status: upPreferred path: not configuredDefault path: activeNext hop: point2pointOutput interface: PO2/2, imposed label stack {28 36}Create time: 00:36:13, last status change time: 00:09:03Signaling protocol: LDP, peer 7.7.7.7:0 upMPLS VC labels: local 30, remote 36Group ID: local 0, remote 0MTU: local 1500, remote 1500Remote interface description:Sequencing: receive disabled, send disabledVC statistics:packet totals: receive 0, send 0byte totals: receive 0, send 0packet drops: receive 0, seq error 0, send 0vpls-pe1#Mac Address in the Mac Table
The following example verifies the MAC address in the MAC table on PE1.
vpls-pe1#show mac address-table bridge-domain 1001Mac Address Table: 4 Bridge domain id: 1001==========================================aging time : 500 secmax size : 5000total number of addresses : 1slots: 4, 5Mac Address Learned from LC learned-------------- ---------------- ----------0012.1212.1212 VC Label:2017 4Total Mac Addresses displayed : 1Example of Configuring VPLS for an Ethernet Attachment Circuit
Create and apply an ethernet attachment circuit.
vpls-pe1#l2 vfi vpls.1 manualvpn id 1bridge-domain 1neighbor 7.7.7.7 encapsulation mplsneighbor 6.6.6.6 encapsulation mplsinterface GigabitEthernet1/0no ip addressno ip directed-broadcastbridge-domain 1duplex fullnegotiation autono cdp enableendExample of Configuring VPLS for a dot1Q Attachment Circuit
Create and apply a dot1Q attachment circuit.
vpls-pe1#l2 vfi vpls.1 manualvpn id 1bridge-domain 1neighbor 7.7.7.7 encapsulation mplsneighbor 6.6.6.6 encapsulation mplsinterface GigabitEthernet1/0.1encapsulation dot1Q 1 second-dot1q 11no ip directed-broadcastbridge-domain 1no cdp enableendExample of Configuring VPLS for a QinQ Attachment Circuit
Create and apply a QinQ attachment circuit.
vpls-pe1#l2 vfi vpls.1 manualvpn id 1bridge-domain 1neighbor 7.7.7.7 encapsulation mplsneighbor 6.6.6.6 encapsulation mplsinterface GigabitEthernet1/0.1encapsulation dot1Q 1 second-dot1q 11no ip directed-broadcastbridge-domain 1no cdp enableendExample of Configuring VPLS for a QinAny Attachment Circuit
Create and apply a QinAny attachment circuit.
vpls-pe1#l2 vfi vpls.1 manualvpn id 1bridge-domain 1neighbor 7.7.7.7 encapsulation mplsneighbor 6.6.6.6 encapsulation mplsinterface GigabitEthernet1/0.1encapsulation dot1Q 1 second-dot1q anyno ip directed-broadcastbridge-domain 1no cdp enableendExample of Configuring a VPLS Ingress Policer
Create and apply a 2 rate 3 color policer policy to the ethernet attachment circuit.
vpls-pe1#policy-map vpls_policeclass class-defaultpolice cir percent 2 bc 256 ms pir percent 5 be 30 msconform-action transmitexceed-action set-mpls-exp-imposition-transmit 7violate-action dropvpls-pe1#l2 vfi vpls.1 manualvpn id 1bridge-domain 1neighbor 7.7.7.7 encapsulation mplsneighbor 6.6.6.6 encapsulation mplsinterface GigabitEthernet1/0no ip addressno ip directed-broadcastbridge-domain 1service-policy input vpls_policeduplex fullnegotiation autono cdp enableendExample of Configuring a VPLS Egress Shaper
Create and apply an egress shaper policy to the ethernet attachment circuit.
vpls-pe1#policy-map vpls_shape_parentclass class-defaultshape average percent 2service-policy vlan_shape_childvpls-pe1#policy-map vpls_shape_childclass class-defaultqueue-limit 1000 packetsshape average percent 1 1 ms 1 msvpls-pe1#l2 vfi vpls.1 manualvpn id 1bridge-domain 1neighbor 7.7.7.7 encapsulation mplsneighbor 6.6.6.6 encapsulation mplsinterface GigabitEthernet1/0no ip addressno ip directed-broadcastbridge-domain 1service-policy output vpls_shape_parentduplex fullnegotiation autono cdp enableendExample of Configuring a VPLS Ingress Exp Policy Setting
Create and apply an ingress exp policy to ethernet attachment circuit.
vpls-pe1#policy-map vpls_expclass class-defaultset mpls experimental imposition 3vpls-pe1#l2 vfi vpls.1 manualvpn id 1bridge-domain 1neighbor 7.7.7.7 encapsulation mplsneighbor 6.6.6.6 encapsulation mplsinterface GigabitEthernet1/0no ip addressno ip directed-broadcastbridge-domain 1service-policy input vpls_expduplex fullnegotiation autono cdp enableendExample of Configuring VPLS Ingress Match Criteria
Create and apply an ingress exp policy with different match criteria to ethernet attachment circuit.
vpls-pe1#class-map match-all vpls_multicastmatch destination-address mac multicastvpls-pe1#class-map match-all vpls_knownmatch destination-address mac vpls-knownvpls-pe1#class-map match-all vpls_unknownmatch destination-address mac vpls-unknownvpls-pe1#policy-map vpls_expclass vpls_multicastset mpls experimental imposition 3vpls-pe1#policy-map vpls_expclass vpls_knownset mpls experimental imposition 3vpls-pe1#policy-map vpls_expclass vpls_unknownset mpls experimental imposition 3vpls-pe1#l2 vfi vpls.1 manualvpn id 1bridge-domain 1neighbor 7.7.7.7 encapsulation mplsneighbor 6.6.6.6 encapsulation mplsinterface GigabitEthernet1/0no ip addressno ip directed-broadcastbridge-domain 1service-policy input vpls_expduplex fullnegotiation autono cdp enableendCommand Reference
This section documents new commands for VPLS. All other commands used with this feature are documented in the Cisco IOS Release 12.0 command reference publications.
mac-address-table aging-time
To configure the aging time for entries in the Layer 2 table, use the mac-address-table aging-time command in global configuration mode. To reset the seconds value to the default setting, use the no form of this command.
Cisco 12000 Series Routers
mac-address-table aging-time seconds [bridge-domain id]
no mac-address-table aging-time seconds [bridge-domain id]
Syntax Description
seconds
Aging time; valid values are 0, and from 10 to 1,000,000 seconds.
bridge-domain id
(Optional) Specifies the bridge-domain to apply the changed aging time; valid values are from 2 to 1001.
Defaults
300 seconds
Command Modes
Global configuration
Command History
Usage Guidelines
Cisco 12000 Series Routers
The aging time entry will take the specified value. Valid entries are from 10 to 1,000,000 seconds.
This command cannot be disabled.
If you do not enter a VLAN, the change is applied to all routed-port VLANs.
Enter 0 seconds to disable aging.
Examples
Cisco 12000 Series Routers
The following example shows the aging time being configured:
Router(config)# mac-address-table aging-time 300The following example shows the aging time being disabled:
Router(config)# mac-address-table aging-time 0Related Commands
mac-address-table limit
To enable MAC limiting, use the mac-address-table limit command. Use the no form of this command to disable MAC limiting.
mac-address-table limit [maximum num] [action {warning | limit | shutdown}] [notification {syslog | trap | both}]
mac-address-table limit [{vlan vlan} | {interface type mod/port}] [maximum num] [action {warning | limit | shutdown}] [flood]
no mac-address-table limit [vlan vlan] [maximum | action]
Syntax Description
Defaults
The defaults are as follows:
•
maximum num is 500 MAC address entries.
•
action is warning.
•
notification is syslog.
Command Modes
Global configuration
Command History
Usage Guidelines
This command is not supported on Cisco 7600 series routers that are configured with a Supervisor Engine 32.
Use this syntax for enabling MAC limiting globally:
mac-address-table limit [maximum num] [action {warning | limit | shutdown}] [notification {syslog | trap | both}]
Use this syntax for enabling per-VLAN MAC limiting:
mac-address-table limit [vlan vlan] [maximum num] [action {warning | limit | shutdown}] [flood]
Use this syntax for enabling per-port MAC limiting:
mac-address-table limit [interface type mod/port] [maximum num] [action {warning | limit | shutdown}] [flood]
If you enable per-VLAN MAC limiting, the per-VLAN MAC limiting supersedes the mac-address-table limit command that globally enables MAC limiting.
The maximum number of MAC entries is based per VLAN and per EARL.
If you do not specify a maximum, an action, or a notification, the default settings are used.
If you enable per-VLAN MAC limiting, MAC limiting is enabled on the VLAN specified only.
The flood keyword is supported on VLAN interfaces only.
The flood action occurs only if the limit action is configured and is violated.
In the shutdown state, the VLAN remains in the blocked state until you reenable it through the CLI.
Examples
This example shows how to enable the MAC limit globally:
Router(config)# mac-address-table limitRouter(config)#This example shows how to enable per-VLAN MAC limiting:
Router(config)# mac-address-table limit vlan 501 maximum 50 action shutdownRouter(config)#clear mac-address-table
To remove a specified address (or set of addresses) from the MAC address table, use the clear mac-address-table command in privileged EXEC mode.
Cisco 12000 Series Routers
clear mac-address-table [dynamic | secure | static] [address mac-address] [interface type slot/port]
Syntax Description
Defaults
Cisco 12000 Series Routers
All MAC addresses on the router being configured are cleared.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Cisco 12000 Series Routers
If the clear mac-address-table command is invoked with no options, all MAC addresses are removed. If you specify an address but do not specify an interface, the address is deleted from all interfaces. If you specify an interface but do not specify an address, all addresses on the specified interface are removed.
If a targeted address is not present in the MAC forwarding table, the following error message appears:
MAC address not foundExamples
Cisco 12000 Series Routers
The following example shows how to clear all dynamic addresses in the MAC forwarding table:
Router# clear mac-address-table dynamicThe following example shows how to clear the static address 0040.C80A.2F07 on Ethernet port 1:
Router# clear mac-address-table static address 0040.C80A.2F07 interface ether 0/1Related Commands
Cisco 12000 Series Routers
l2 vfi <name> manual
To create a Layer 2 Virtual Forwarding Instance (VFI), use the l2 vfi <name> manual command in L2 VFI manual configuration mode.
l2 vfi <name> manual
Syntax Description
Defaults
No default behavior or values.
Command Default
l2 vfi <name> manual
Command Modes
L2 VFI manual configuration mode
Router(config-vfi)#Command History
Usage Guidelines
You must create a Layer 2 Virtual Forwarding Instance (VFI) for each provider edge router in the VPLS network.
Examples
The following example shows how to create a Layer 2 Virtual Forwarding Instance (VFI) for Ethernet service labeled as "Goldfinger".
Router#config tRouter(config)#l2 vfi Goldfinger manualRouter(config-vfi)#vpn id 1Router(config-vfi)#bridge-domain 1Router(config-vfi)#neighbor 120.0.0.3 encapsulation mplsRouter(config-vfi)#neighbor 162.0.0.2 encapsulation mplsRouter(config-vfi)#exitRouter(config-vfi)#Related Commands
Glossary
CCSP, CCVP, the Cisco Square Bridge logo, Follow Me Browsing, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, and iQuick Study are service marks of Cisco Systems, Inc.; and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, LightStream, Linksys, MeetingPlace, MGX, the Networkers logo, Networking Academy, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website 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. (0601R)
©2006 Cisco Systems, Inc. All rights reserved.
