|
Step 1
|
enable
|
Enables privileged EXEC mode.
|
|
Step 2
|
configure
terminal
Device# configure terminal
|
Enters global configuration mode.
|
|
Step 3
|
interface
pseudowire
number
Router(config)# interface pseudowire 100
|
Specifies the pseudowire interface and enters interface configuration mode.
|
|
Step 4
|
encapsulation
mpls
Router(config-if)# encapsulation mpls
|
Specifies that Multiprotocol Label Switching (MPLS) is used as the data encapsulation method.
|
|
Step 5
|
neighbor
peer-address
vcid-value
Router(config-if)# neighbor 10.0.0.1 123
|
Specifies the peer IP address and virtual circuit (VC) ID value of the Layer 2 VPN (L2VPN) pseudowire.
|
|
Step 6
|
exit
|
Exits interface configuration mode.
|
|
Step 7
|
interface
pseudowire
number
Router(config)# interface pseudowire 200
|
Specifies the pseudowire interface and enters interface configuration mode.
|
|
Step 8
|
encapsulation
mpls
Router(config-if)# encapsulation mpls
|
Specifies that Multiprotocol Label Switching (MPLS) is used as the data encapsulation method.
|
|
Step 9
|
neighbor
peer-address
vcid-value
Router(config-if)# neighbor 10.0.0.2 124
|
Specifies the peer IP address and virtual circuit (VC) ID value of the Layer 2 VPN (L2VPN) pseudowire.
|
|
Step 10
|
exit
|
Exits interface configuration mode.
|
|
Step 11
|
l2vpn
xconnect
context
context-name
Device(config)# l2vpn xconnect context con1
|
Creates a Layer 2 VPN (L2VPN) cross connect context and enters xconnect configuration mode.
|
|
Step 12
|
member pseudowire
interface-number
Router(config-xconnect)# member pseudowire 100
|
Specifies a member pseudowire to form a Layer 2 VPN (L2VPN) cross connect.
|
|
Step 13
|
member
ip-address
vcid
encapsulation
mpls
Device(config-xconnect)# member 10.0.0.1 123 encapsulation mpls
|
Specifies the devices that form a point-to-point Layer 2 VPN (L2VPN) virtual forwarding interface (VFI) connection.
|
Note
|
Only two
member commands are allowed for each
l2vpn
xconnect
context command.
|
|
|
Step 14
|
member pseudowire
interface-number
Router(config-xconnect)# member pseudowire 200
|
Specifies a member pseudowire to form a Layer 2 VPN (L2VPN) cross connect.
|
|
Step 15
|
member
ip-address
vcid
encapsulation
mpls
Device(config-xconnect)# member 10.0.0.2 124 encapsulation mpls
|
Specifies the devices that form a point-to-point Layer 2 VPN (L2VPN) virtual forwarding interface (VFI) connection.
|
Note
|
Only two
member commands are allowed for each
l2vpn
xconnect
context command.
|
|
|
Step 16
|
exit
Device(config-xconnect)# exit
|
Exits Xconnect configuration mode.
|
|
Step 17
|
exit
|
Exits global configuration mode.
|
|
Step 18
|
show
l2vpn
atom
vc
[vcid [vc-id |
vc-id-min
vc-id-max ]] [interface
type number [local-circuit-id ]] [destination
ip-address |
name ] [detail ]
Device# show l2vpn atom vc
|
Displays information about Any Transport over MPLS (AToM) virtual circuits (VCs) and static pseudowires that have been enabled
to route Layer 2 packets on a device.
|
|
Step 19
|
ping
[protocol ] [tag ] {hostname |
system-address }
|
When issued from the CE routers, verifies end-to-end connectivity.
|