Cisco OL-21636-01 User Manual

Page 300

Advertising
background image

A-22

Cisco IP Solution Center L2VPN and Carrier Ethernet User Guide, 6.0

OL-21636-01

Appendix A Sample Configlets

EWS (EPL) (Pseudowire Class, E-Line, L2VPN Group Name, IOS XR Device)

EWS (EPL) (Pseudowire Class, E-Line, L2VPN Group Name, IOS
XR Device)

Configuration

Service: L2VPN/Metro Ethernet.

Feature: EWS (EPL).

Device configuration:

The N-PE is a CRS-1 with IOS XR 3.6.1 or later.

UNI on U-PE.

Configlets

Comments

The N-PE is a CRS-1 router 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 an
ISC-generated default value, if user input is not provided.

U-PE

N-PE

!

system mtu 1522

!

vlan 700

exit

!

interface FastEthernet1/0/2

switchport

switchport access vlan 700

switchport mode dot1q-tunnel

switchport nonegotiate

no keepalive

no cdp enable

spanning-tree portfast

spanning-tree bpdufilter enable

!

interface GigabitEthernet1/0/1

no ip address

switchport

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 700

switchport mode trunk

!

!

interface GigabitEthernet0/3/1/1.700

l2transport

dot1q vlan 700

!

!

l2vpn

pw-class PW_AD7-AD3_Cutsomer2

encapsulation mpls

transport-mode ethernet

preferred-path interface tunnel-te 2730

!

!

xconnect group ISC

p2p cl-test-l2-12404-2--1000

interface GigabitEthernet0/3/1/1.700

neighbor 192.169.105.30 pw-id 1000

pw-class PW_AD7-AD3_Cutsomer2

!

Advertising