Cisco OL-21636-01 User Manual
Page 287
A-9
Cisco IP Solution Center L2VPN and Carrier Ethernet User Guide, 6.0
OL-21636-01
Appendix A Sample Configlets
ERS (Pseudowire Class, E-Line, L2VPN Group Name, IOS XR Device)
ERS (Pseudowire Class, E-Line, L2VPN Group Name, IOS XR
Device)
Configuration
•
Service: L2VPN/Metro Ethernet.
•
Feature: ERS (EVPL).
•
Device configuration:
–
The N-PE is a CRS-1 with IOS XR 3.6.1 or later.
–
UNI on N-PE.
–
UNI on U-PE.
Configlets
Comments
•
The N-PE is a CRS-1 with IOS XR 3.7.
•
The pseudowire class feature is configured with various associated attributes like encapsulation,
transport mode, preferred-path, and fallback option.
•
The disable fallback option is required for IOS XR 3.6.1 and optional for IOS XR 3.7 and later.
•
The E-Line name (p2p command) and L2VPN Group Name (xconnect group command) is user
configured.
U-PE
N-PE
!
vlan 700
exit
!
interface FastEthernet1/0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 700
switchport mode trunk
switchport nonegotiate
no keepalive
mac access-group ISC-FastEthernet1/0/2 in
no cdp enable
spanning-tree bpdufilter enable
!
!
interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 700
switchport mode trunk
keepalive 10
!
!
mac access-list extended
ISC-FastEthernet1/0/2
deny any host 0100.0ccc.cccc
deny any host 0100.0ccc.cccd
deny any host 0100.0ccd.cdd0
deny any host 0180.c200.0000
permit any any
!
!
interface GigabitEthernet0/3/1/1.700
l2transport
dot1q vlan 700
!
l2vpn
pw-class PW_AD3-AD7_Customer1
encapsulation mpls
transport-mode vlan
preferred-path interface tunnel-te 1370
fallback disable
!
!
xconnect group L2VPN_Customer1-Gold_class
p2p GoldPkg_AD3-AD7_Customer1
interface GigabitEthernet0/3/1/1.700
neighbor 192.169.105.30 pw-id 1000
pw-class PW_AD3-AD7_Customer1
!
!