Appendix A Sample Configlets
ERS with 1:1 VLAN Translation
ERS with 1:1 VLAN Translation
Configuration
Configlets
•Service: L2VPN/Metro Ethernet
•Feature: ERS with 1:1 VLAN translation
•Device configuration:
–The
–The
–L2VPN
–C3750ME (FA1/0/8 – GI1/1/1)
|
|
! | vlan 778 |
vlan 123 | exit |
exit | ! |
! | interface FastEthernet8/34 |
interface FastEthernet1/0/8 | switchport |
no cdp enable | switchport trunk encapsulation dot1q |
no keepalive | switchport mode trunk |
no ip address | switchport trunk allowed vlan 1,778 |
switchport trunk allowed vlan 123 | ! |
switchport nonegotiate | interface Vlan778 |
switchport | no ip address |
switchport | description L2VPN ERS 1 to 1 vlan |
switchport | translation |
switchport | xconnect 99.99.8.99 89032 encapsulation |
mpls | |
mac | no shutdown |
! |
|
interface GigabitEthernet1/1/1 |
|
no ip address |
|
switchport mode trunk |
|
switchport trunk allowed vlan 1,123 |
|
switchport vlan mapping 123 778 |
|
|
|
Comments | • | VLAN translation is only for L2VPN |
| • In this case, the 1:1 VLAN translation occurs on the | |
|
| (uplink) port. |
| • | The customer VLAN 123 is translated to the provider VLAN 778. |
| Cisco IP Solution Center Metro Ethernet and L2VPN User Guide, 4.2 |
|