Cisco 10000-2P2-2DC Software Configuration Manual page 419

10000 series
Table of Contents

Advertisement

Chapter 20
Configuring L2 Virtual Private Networks
To configure Ethernet over MPLS in VLAN mode, enter the following commands beginning in global
configuration mode:
Command
Step 1
Router(config)# interface gigabitethernet
slot/interface.subinterface
Step 2
Router(config-subif)# encapsulation dot1q
vlan-id
Step 3
Router(config-subif)# xconnect
peer-router-id vcid encapsulation mpls
Configuring Ethernet over MPLS in Port Mode
Port mode allows a frame coming into an interface to be packed into an MPLS packet and transported
over the MPLS backbone to an egress interface. The entire Ethernet frame without the preamble or FCS
is transported as one packet. To configure port mode, use the xconnect command in main interface mode
and specify the destination address and the VC ID. The syntax and semantics of the xconnect command
are the same as for all other transport types. Each interface is associated with one unique pseudowire
VC label.
When configuring Ethernet over MPLS in port mode, use the following guidelines:
To configure Ethernet over MPLS in port mode, enter the following commands beginning in global
configuration mode:
Command
Step 1
Router(config)# interface gigabitethernet
slot/interface
Step 2
Router(config-if)# xconnect peer-router-id
vcid encapsulation mpls
OL-2226-23
The pseudowire VC type is set to Ethernet.
Port mode and Ethernet VLAN mode are mutually exclusive. If you enable a main interface for
port-to-port transport, you cannot also enter commands on a subinterface.
Purpose
Specifies the Gigabit Ethernet subinterface and enters
subinterface configuration mode.
Make sure the subinterface on the adjoining CE router is on the
same VLAN as this PE router.
Enables the subinterface to accept 802.1Q VLAN packets.
The subinterfaces between the CE and PE routers that are
running Ethernet over MPLS must be in the same subnet. All
other subinterfaces and backbone routers do not need to be on
the same subnet.
Binds the attachment circuit to a pseudowire VC. The syntax for
this command is the same as for all other Layer 2 transports.
Purpose
Specifies the Gigabit Ethernet interface and enters interface
configuration mode.
Make sure the interface on the adjoining CE router is on the
same VLAN as this PE router.
Binds the attachment circuit to a pseudowire VC.
The syntax for this command is the same as for all other Layer 2
transports.
Cisco 10000 Series Router Software Configuration Guide
Configuration Tasks for L2VPN
20-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

1000510008

Table of Contents