interface FastEthernet1/0/1
description ***** To Customer A inner VLAN 10 *****
switchport access vlan 2001 ! This will be the outer VLAN tag
switchport mode dot1q-tunnel
!
interface FastEthernet1/0/2
description ***** To Customer B inner VLAN 20 *****
switchport access vlan 2002 ! This will be the outer VLAN tag
switchport mode dot1q-tunnel
!
interface GigabitEthernet1/1/2
description **** upstream link ****
switchport trunk allowed vlan 2001-2024,
switchport mode trunk
switchport vlan mapping internal dot1q-tunnel 2001 10 external dot1q-tunnel 2200 10
switchport vlan mapping internal dot1q-tunnel 2002 20 external dot1q-tunnel 2200 20
!2. Flexible VLAN Tag Rewrite.(ES/ES+ card on 7600)
Ref: http://ccie-in-3-months.blogspot.com/2009/06/evc-flexible-vlan-tag-rewrite.html
3. Configuring the VLAN ID Rewrite Feature for the Cisco 12000 Series Routers
PE1
interface GigabitEthernet0/0.2
encapsulation dot1Q 2
no ip directed-broadcast
no cdp enable
xconnect 5.5.5.5 2 encapsulation mpls
remote circuit id 3
PE2
interface GigabitEthernet3/0.2
encapsulation dot1Q 3
no ip directed-broadcast
no cdp enable
xconnect 3.3.3.3 2 encapsulation mpls
remote circuit id 2
Ref:
http://www.cisco.com/en/US/docs/ios/12_0s/feature/guide/atom25s.html#wp1279134
http://www.cisco.com/en/US/docs/ios/12_0s/feature/guide/qinq.html#wp1043332
http://www.cisco.com/en/US/docs/ios/mpls/configuration/guide/mp_any_transport.html#wp1047047
No comments:
Post a Comment