Cisco Systems 1000 Series Manual De Usuario

Descargar
Página de 702
 
16-31
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
OL-16506-17
Chapter 16      Configuring MPLS Layer 2 VPNs
  Configuring Gigabit EtherChannel for Virtual Private Wire Service
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
mpls label protocol ldp
Example:
Router# mpls label protocol ldp
Specifies that LDP is the default label distribution 
protocol. 
Step 4
interface loopback 
loopback-interface-number
Example:
Router# interface loopback 1
Specifies the loopback interface, and enters interface 
configuration mode.
Step 5
ip address 
ip-address mask
Example:
Router# ip address 10.10.2.1 255.255.255.0
Sets the IP address and mask for the loopback interface.
Step 6
exit
Exits interface configuration mode.
Step 7
pseudowire-class
 pw-class-name
Example:
Router(config)# pseudowire-class gec-bridged
Specifies the name of a Layer 2 pseudowire class and 
enters pseudowire class configuration mode.
Step 8
encapsulation mpls
Example:
Router(config-pw)# encapsulation mpls
Uses MPLS as the tunneling method to encapsulate data 
in the pseudowire.
Step 9
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 10
exit
Exits xconnect configuration mode.
Step 11
interface port-channel 
number
Example:
Router(config)# interface port-channel 1
Creates an EtherChannel interface on the Cisco Cable 
Modem Termination System (CMTS).
Step 12
xconnect
 peer-ip-address vc-id encapsulation mpls 
pseudowire-class 
pw-class-name
Example:
Router(config-if)# xconnect 10.0.0.1 707 
encapsulation mpl pseudowire-class gec-routed
Binds an attachment circuit to a pseudowire to configure 
an AToM static pseudowire, specifies MPLS as the 
tunneling method, and enters xconnect configuration 
mode.