Cisco Systems OL-21636-01 Security Camera User Manual


 
A-8
Cisco IP Solution Center L2VPN and Carrier Ethernet User Guide, 6.0
OL-21636-01
Appendix A Sample Configlets
ERS (EVPL) (2:1 VLAN Translation)
ERS (EVPL) (2:1 VLAN Translation)
Configuration Service: L2VPN/Metro Ethernet.
Feature: ERS (EVPL) with VLAN 2:1 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/5 – GI1/1/1.
L2VPN point-to-point.
Configlets
Comments VLAN translation is only for L2VPN (point-to-point) ERS (EVPL).
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 -in-Q) are translated to a new
provider VLAN 779.
U-PE N-PE
vlan 567
exit
!
interface FastEthernet1/0/5
no cdp enable
no keepalive
no ip address
switchport
switchport access vlan 567
switchport mode dot1q-tunnel
switchport trunk allowed vlan none
switchport nonegotiate
spanning-tree bpdufilter enable
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
vlan 779
exit
!
interface FastEthernet8/34
switchport trunk allowed vlan 1,778-779
!
interface Vlan779
no ip address
description L2VPN ERS 2 to 1 vlan
translation
xconnect 99.99.8.99 89033 encapsulation
mpls
no shutdown