![Cisco ASR1002 - ASR 1002 Router Скачать руководство пользователя страница 401](http://html.mh-extra.com/html/cisco/asr1002-asr-1002-router/asr1002-asr-1002-router_software-configuration-manual_66731401.webp)
Configuring MPLS Layer 2 VPNs
Configuring Gigabit EtherChannel for Virtual Private Wire Service
25
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
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 the 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 the 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 the 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 the 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 ethernet
Example:
Router(config-pw)#
interworking ethernet
Enables the L2VPN Interworking feature, and causes
Ethernet frames to be extracted from the attachment
circuit and sent over the pseudowire. Ethernet end-to-end
transmission is assumed. Attachment circuit frames that
do not contain Ethernet frames are dropped. In the case
of VLAN, the VLAN tag is removed, which leaves a pure
Ethernet frame.
Step 10
interface GigabitEthernet
slot | subslot | port
Example:
Router(config)#
interface GigabitEthernet 0/0/1
Specifies the Gigabit Ethernet interface, and enters the
interface configuration mode.
Step 11
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-bridged
Binds an attachment circuit to a pseudowire to configure
an AToM static pseudowire, specifies MPLS as the
tunneling method, and enters the xconnect configuration
mode.