Ers (evpl) (1:1 vlan translation) – Cisco OL-21636-01 User Manual

Page 285

Advertising
background image

A-7

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

OL-21636-01

Appendix A Sample Configlets

ERS (EVPL) (1:1 VLAN Translation)

ERS (EVPL) (1:1 VLAN Translation)

Configuration

Service: L2VPN/Metro Ethernet.

Feature: ERS (EVPL) with 1:1 VLAN translation.

Device configuration:

The N-PE is a Cisco 7600 with IOS 12.2(18)SXF, Sup720-3BXL

Interface(s): FA8/34.

The U-PE is a Cisco 3750ME with IOS 12.2(25)EY1. VLAN translation on the NNI port
(uplink).

Interface(s): FA1/0/8 – GI1/1/1.

L2VPN point-to-point.

Configlets

Comments

VLAN translation is only for L2VPN (point-to-point) ERS (EVPL).

In this case, the 1:1 VLAN translation occurs on the U-PE, a 3750. It is provisioned on the NNI
(uplink) port.

The customer VLAN 123 is translated to the provider VLAN 778.

U-PE

N-PE

!

vlan 123

exit

!

interface FastEthernet1/0/8

no cdp enable

no keepalive

no ip address

switchport trunk allowed vlan 123

switchport nonegotiate

switchport port-security maximum 34

switchport port-security aging time 23

switchport port-security violation protect

switchport port-security

spanning-tree bpdufilter enable

mac access-group ISC-FastEthernet1/0/8 in

!

interface GigabitEthernet1/1/1

no ip address

switchport mode trunk

switchport trunk allowed vlan 1,123

switchport vlan mapping 123 778

vlan 778

exit

!

interface FastEthernet8/34

switchport

switchport trunk encapsulation dot1q

switchport mode trunk

switchport trunk allowed vlan 1,778

!

interface Vlan778

no ip address

description L2VPN ERS 1 to 1 vlan

translation

xconnect 99.99.8.99 89032 encapsulation

mpls

no shutdown

Advertising