EasyManua.ls Logo

Edge-Core ECS4620-28F-2AC - Figure 7: Mapping Qinq Service VLAN to Customer VLAN

Edge-Core ECS4620-28F-2AC
1260 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 21
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 606 –
Note that all customer interfaces should be configured as access interfaces
(that is, a user-to-network interface) and service provider interfaces as uplink
interfaces (that is, a network-to-network interface). Use the switchport
dot1q-tunnel mode uplink command to set an interface to access or uplink
mode.
Example
This example sets the SVID to 99 in the outer tag for egress packets exiting port 1
when the packet’s CVID is 2.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel service 99 match cvid 2
Console(config-if)#
The following example maps C-VLAN 10 to S-VLAN 100, C-VLAN 20 to S-VLAN 200
and C-VLAN 30 to S-VLAN 300 for ingress traffic on port 1 of Switches A and B.
Figure 7: Mapping QinQ Service VLAN to Customer VLAN
Step 1. Configure Switch A and B.
1. Create VLANs 100, 200 and 300.
Console(config)#vlan database
Console(config-vlan)#vlan 100,200,300 media ethernet state active
2. Enable QinQ.
Console(config)#dot1q-tunnel system-tunnel-control
3. Configure port 2 as a tagged member of VLANs 100, 200 and 300 using uplink
mode.
Console(config)#interface ethernet 1/2
Console(config-if)#switchport allowed vlan add 100,200,300 tagged
Console(config-if)#switchport dot1q-tunnel mode uplink
4. Configures port 1 as an untagged member of VLANs 100, 200 and 300 using
access mode.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport allowed vlan add 100,200,300 untagged
Console(config-if)#switchport dot1q-tunnel mode access
5. Configure the following selective QinQ mapping entries.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel service 100 match cvid 10
Switch C
Switch BSwitch A
Port 1
Port 2
Port 1
Port 2 Port 2
Port 1
[SVID 100, CVID 10]
[SVID 200, CVID 20]
[SVID 300, CVID 30]
[SVID 100, CVID 10]
[SVID 200, CVID 20]
[SVID 300, CVID 30]
[VID 10]
[VID 20]
[VID 30]
[VID 10]
[VID 20]
[VID 30]

Table of Contents

Other manuals for Edge-Core ECS4620-28F-2AC

Related product manuals