Cisco Systems 1000 Series Manual De Usuario

Descargar
Página de 702
 
16-48
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
OL-16506-17
Chapter 16      Configuring MPLS Layer 2 VPNs
  Configuring HDLC-Ethernet Interworking
4.
encapsulation mpls
5.
interworking ip
6.
interface GigabitEthernet slot | subslot | port
7.
encapsulation dot1Q vlan-id
8.
xconnect peer-ip-address vc-id pseudowire-class pw-class-name
9.
end
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Changes the privilege level for the corresponding CLI 
session.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
pseudowire-class
 pw-class-name
Example:
Router(config)# pseudowire-class pw-ip-ether
Specifies the name of a Layer 2 pseudowire class and 
enters pseudowire class configuration mode.
Step 4
encapsulation mpls
Example:
Router(config-pw)# encapsulation mpls
Uses MPLS as the tunneling method to encapsulate data 
in the pseudowire.
Step 5
interworking ip
Example:
Router(config-pw)# interworking ip
Enables the L2VPN Interworking feature, and causes IP 
packets to be extracted from the attachment circuit and 
sent over the pseudowire. Attachment circuit frames that 
do not contain IPv4 packets are dropped.
Step 6
interface GigabitEthernet 
slot | subslot | port
Example:
Router(config)# interface GigabitEthernet0/0/0.3 
Specifies the Gigabit Ethernet interface, and enters 
interface configuration mode.
Step 7
encapsulation dot1Q 
vlan-id
Example:
Router(config-if)# encapsulation dot1Q 3
Enables IEEE 802.1Q encapsulation of traffic on a 
specified subinterface in a VLAN.
Step 8
xconnect
 peer-ip-address vc-id pseudowire-class 
pw-class-name
Example:
Router(config-if)# xconnect 16.16.16.16 100 
pseudowire-class pw-ip-ether
Binds an attachment circuit to a pseudowire to configure 
an AToM static pseudowire, specifies MPLS as the 
tunneling method, and enters xconnect configuration 
mode.