Cisco Systems OL-10729-01 ERS with 21 VLAN Translation, A-15, Configuration Configlets, Up-E

Models: OL-10729-01

1 20
Download 20 pages 10.12 Kb
Page 15
Image 15
ERS with 2:1 VLAN Translation

Appendix A Sample Configlets

ERS with 2:1 VLAN Translation

ERS with 2:1 VLAN Translation

Configuration

Configlets

Service: L2VPN/Metro Ethernet

Feature: ERS with VLAN 2:1 translation

Device configuration:

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

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

L2VPN point-to-point.

C3750ME (FA1/0/5 – GI1/1/1) <–> C7600 (FA8/34)

UP-E

N-PE

 

 

vlan 567

vlan 779

exit

 

exit

!

 

!

interface FastEthernet1/0/5

interface FastEthernet8/34

no cdp enable

switchport trunk allowed vlan 1,778-779

no keepalive

!

no ip address

interface Vlan779

switchport

no ip address

switchport access vlan 567

description L2VPN ERS 2 to 1 vlan

switchport mode dot1q-tunnel

translation

switchport trunk allowed vlan none

xconnect 99.99.8.99 89033 encapsulation

switchport nonegotiate

mpls

spanning-tree bpdufilter enable

no shutdown

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

 

!

 

 

interface GigabitEthernet1/1/1

 

no ip address

 

switchport trunk allowed vlan 1,123,567

 

switchport vlan mapping dot1q-tunnel 567

 

234

779

 

!

 

 

mac access-list extended

 

ISC-FastEthernet1/0/5

 

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

 

 

 

 

Comments

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

 

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

 

 

(uplink) port.

 

The customer VLAN 123 and the provider VLAN 234 (as part of Q inQ) are translated to a new

 

 

provider VLAN 779.

 

 

Cisco IP Solution Center Metro Ethernet and L2VPN User Guide, 4.2

 

 

 

 

 

 

 

OL-10729-01

 

 

A-15

 

 

 

 

 

Page 15
Image 15
Cisco Systems OL-10729-01 appendix ERS with 21 VLAN Translation, A-15, Configuration Configlets, Up-E, N-Pe, Comments