AToM encapsulates
Layer 2 frames at the ingress PE and sends them to a corresponding PE at the
other end of a pseudowire, which is a connection between the two PE routers.
The egress PE removes the encapsulation and sends out the Layer 2 frame.
The successful
transmission of the Layer 2 frames between PE routers is due to the
configuration of the PE routers. You set up the connection, called a
pseudowire, between the routers. You specify the following information on each
PE router:
-
The type of Layer
2 data that will be transported across the pseudowire, such as Ethernet, Frame
Relay, or ATM
-
The IP address of
the loopback interface of the peer PE router, which enables the PE routers to
communicate
-
A unique
combination of peer PE IP address and VC ID that identifies the pseudowire
The following example
shows the basic configuration steps on a PE router that enable the transport of
Layer 2 packets. Each transport type has slightly different steps.
Step 1 defines the
interface or subinterface on the PE router:
Router# interface
interface-type interface-number
Router(config)# interface gi 0/1/0
Step 2 configures an ethernet service instance on an interface and enters service instance configuration mode: Router(config-if)#service instance number ethernet WORD
Router(config-if)# service instance 393 ethernet ethernet1
Step 3 specifies the
encapsulation type for the interface, such as dot1q:
Router(config-if)# encapsulation
encapsulation-type
Router(config-if-srv)# encapsulation dot1q 393
Step 3 does the
following:
-
Makes a
connection to the peer PE router by specifying the LDP router ID of the peer PE
router.
-
Specifies a
32-bit unique identifier, called the VC ID, which is shared between the two PE
routers.
The combination of
the peer router ID and the VC ID must be unique on the router. Two circuits
cannot use the same combination of peer router ID and VC ID.
Router(config)# interface pseudowire 100
Router(config-if)# encapsulation mpls
Router(config-if)# neighbor 10.0.0.1 123
Router(config-if)# exit
!
Router(config)# l2vpn xconnect context A
Router(config-xconnect)# member pseudowire 100
Router (config-xconnect)# member gigabitethernet0/1/0 service instance 393
Router(config-xconnect)# exit
As an alternative,
you can set up a pseudowire class to specify the tunneling method and other
characteristics. For more information, see the
Configuring the Pseudowire Class.