Cisco Systems OL-10729-01 Manual De Usuario

Descargar
Página de 20
 
A-14
Cisco IP Solution Center Metro Ethernet and L2VPN User Guide, 4.2
OL-10729-01
Appendix A      Sample Configlets
ERS with 1:1 VLAN Translation
ERS with 1:1 VLAN Translation
Configuration
Service: L2VPN/Metro Ethernet
Feature: ERS with 1:1 VLAN 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/8 – GI1/1/1) <–> C7600 (FA8/34)
Configlets
Comments
VLAN translation is only for L2VPN (point-to-point) ERS.
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.
UP-E
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