Ads 468x60px

Tuesday, June 7, 2011

QinQ - Maipu Configurations


In last post, As we discussed about QinQ. Let’see in action, The same thing.Here we will see selective QinQ. Since this most used QinQ style.

For Basic no need to give any Vlan mapping. It will work by default with port pvid.Just you need to enable vlan dot1q tunnel under port. Then it will tag incoming vlan with port vlan and while going out of network. It will remove the Service provider vlan tag. 

Here we can see selective QinQ....

PE1 and PE2 are the operator’s network devices; Customer A, Customer B and Customer C are the user network devices.

Networking requirement: VLAN 10 packets of Customer A and VLAN 10 packets of Customer C are inter-communicated via VLAN 100 of the operator network. VLAN 20 packets of Customer B and VLAN 20 packets of Customer C are inter-communicated via VLAN 200 of the operator network.

Topology                          


PE1 configuration:

Command
Description
PE1(config-port-0/1)#port mode hybrid
Set the port as Hybrid port
PE1(config-port-0/1)#port hybrid untagged vlan 100
Add the port to VLAN 100
PE1(config-port-0/1)#vlan dot1q-tunnel enable
Enable the basic vlan dot1q-tunnel function on the port
PE1(config-port-0/1)#vlan dot1q-tunnel 10 100
The port configures flexible items and encapsulates outer Tag 100 for received VLAN 10 packets.
PE1(config-port-0/1)#vlan dot1q-tunnel drop
The port configuration only supports flexible items.
PE1(config-port-0/2)#port mode hybrid
Set the port as Hybrid port
PE1(config-port-0/2)#port hybrid untagged vlan 200
Add the port to VLAN 200
PE1(config-port-0/2)#vlan dot1q-tunnel enable
Enable the basic vlan dot1q-tunnel function on the port
PE1(config-port-0/2)#vlan dot1q-tunnel 20 200
The port configures flexible items and encapsulates outer Tag 200 for received VLAN 20 packets.
PE1(config-port-0/2)#vlan dot1q-tunnel drop
The port configuration only supports flexible items.
PE1(config-port-0/3)#port mode trunk
Set the port as Trunk port
PE1(config-port-0/3)#port trunk allowed vlan 100
Set port 0/3 to allow VLAN 100 to pass
PE1(config-port-0/3)#port trunk allowed vlan 200
Set port 0/3 to allow VLAN 200 to pass

PE2 configuration:

Command
Description
PE2(config-port-0/2)#port mode hybrid
Set the port as Hybrid port
PE2(config-port-0/2)#port hybrid untagged vlan 100
Add the port to VLAN 100
PE2(config-port-0/2)#port hybrid untagged vlan 200
Add the port to VLAN 200
PE2(config-port-0/2)#vlan dot1q-tunnel enable
Enable basic vlan dot1q-tunnel function on the port
PE2(config-port-0/2)#vlan dot1q-tunnel 10 100
The port configures flexible items and encapsulates outer Tag 100 for received VLAN 10 packets.
PE2(config-port-0/2)#vlan dot1q-tunnel 20 200
The port configures flexible items and encapsulates outer Tag 200 for received VLAN 20 packets.
PE2(config-port-0/2)#vlan dot1q-tunnel drop
The port configuration only supports flexible items.
PE2(config-port-0/3)#port mode trunk
Set the port as Trunk port
PE2(config-port-0/3)#port trunk allowed vlan 100
Set port 0/3 to allow VLAN 100 to pass
PE2(config-port-0/3)#port trunk allowed vlan 200
Set port 0/3 to allow VLAN 200 to pass
Note -
The user must ensure that the network devices between PE1 and PE2 can permit vlan dot1q tunnel packets to pass via configuration.

Monitoring Commands

Command
Description
show vlan dot1q-tunnel
View the information about the flexible vlan dot1q-tunnel items
show vlan dot1q-tunnel mapping
View the information about the flexible vlan dot1q-tunnel mapping items
show frame-tag tpid
View all port TPID information

Monitoring Command Output - show outputs are for reference , not actual*

switch#show vlan dot1q-tunnel

Displayed result:
switch#show vlan dot1q-tunnel
-------------------- ------------VLAN DOT1Q-TUNNEL-----------------------
Port                     Inner VlanId             Outer VlanId            
-------------------- --------------------- ----------------------------------------------
port 0/1                 totals:2
                                  10                              100                     
                                  15                              150                     
port 0/2                 totals:1
                                  20                              200                     

Description and analysis:

Port: port name
Inner VlanId: The VLAN ID of the Tag packets received by the port, that is, the inner VLAN ID of the packets after encapsulation.
Outer VlanId: The outer VLAN ID encapsulated by the port, that is, the outer VLAN ID of the packets after encapsulation

The displayed result shows the flexible vlan dot1q-tunnel items configured on the port and the details.

switch#show vlan dot1q-tunnel mapping

Displayed result:
-------------------- -------VLAN DOT1Q-TUNNEL MAPPING--------------------
Port                     Former VlanId            Mapping VlanId           
-------------------- --------------------- ----------------------------------------------------
port 0/4                 totals:1
                                  40                                400                     
port 0/5                 totals:2
                                  40                                400                     
                                 50                                 500                     
port 0/6                totals:1
                                 40                                400 

Description and analysis:

Port: port name
Former VlanId: The VLAN ID of the Tag packets received by the port, that is, the VLAN ID of the Tag in the packet before replacing
Outer VlanId: The VLAN ID used by the port for replacing as per the flexible items, that is, the VLAN ID used to replace Tag

The displayed result shows the flexible vlan dot1q-tunnel mapping items configured on the port and the details.

Hope this configuration will help you for better understanding of QinQ functions.

For any queries and feedback, Plz put comment with your Name and Mail id..


11 comments:

Kalyana Prakash ravi said...

For CCNA, CCNP Online Guide, Visit
www.depacket.com

Unknown said...

QF0721
nhl jerseys
real madrid jersey
chris paul jersey
rolex watches uk
mont blanc outlet
arthur jones jersey,deonte thompson jersey,courtney upshaw jersey,timmy jernigan jersey,jeromy miles jersey,haloti ngata jersey,joe flacco jersey,steve smith sr jersey
chanel outlet,chanel handbags,chanel bags,chanel outlet,chanel 2.55
bears jerseys
cartier love bracelet
oakley sunglasses
redskins jerseys
heat jersey
celtics jerseys
camisetas futbol baratas
the north face uk
rolex watches,swiss watch,replica watches,rolex watches for sale,replica watches uk,rolex watches replica,rolex watches for sales
nike air max 90
burberry sale
kate spade outlet
north face jackets
cheap evening dresses
packers jerseys
stuart weitzman outlet
the north face clearance

xumeiqing said...

151215meiqing
louis vuitton backpack
montblanc
abercrombie
jordan shoes
michael kors outlet online
gucci handbags
canada goose outlet
nike huarache
abercrombie
kate spade handbags
nike air force 1
burberry outlet
nike air max
nike air huarache
toms
replica watches for sale
the north face jackets
uggs for women
pandora jewelry
michael kors handbags
toms shoes
coach outlet store online
fitflops
ray ban wayfarer
coach outlet online
coach factory outlet
mont blanc pens
ray ban sunglasses
mulberry handbags
hollister co
ed hardy clothing
coach outlet
ugg boots outlet
coach outlet
ugg outlet
ugg boots
ugg boots
instyler curling iron
louis vuitton outlet
ugg boots

Unknown said...

2016-1-8 leilei
coach outlet online
michael kors handbags
jordan retro 4
nike air max 95
louis vuitton
louis vuitton purses
nike roshe run
ugg boots
micahel kors
ralph lauren
canada goose jackets
coach factory outlet online
north face outlet
michael kors outlet
sac longchamp
louis vuitton outlet
adidas superstars
louis vuitton outlet
hermes outlet
ugg boots
true religion
coach outlet online
michael kors outlet online
nike air max
louboutin shoes
fake oakleys
nike outlet store
ray ban sunglasses
louis vuitton outlet onlne
coach outlet online
air jordan shoes
tiffany jewelry
ray bans
fitflop sale
louis vuitton outlet
kate spade handbags
louis vuitton
air max 90
ray ban sunglasses
michael kors outlet
michael kors bags

Unknown said...

polo ralph lauren
michael kors outlet online
canada goose sale
chi flat iron
omega replica watches for sale
nike free runs
louis vuitton outlet
ugg outlet
yeezy boost 350 white
michael kors outlet online
adidas nmd r1
tiffany jewelry
rolex watches
armani exchange
mlb jerseys wholesale
moncler outlet online
burberry outlet canada
louis vuitton outlet online
polo ralph lauren outlet
nike air force
christian louboutin uk
asics running shoes
coach factory outlet
fitflop uk
adidas supercolor pink
fitflops outlet
chaussure louboutin
michael kors bags
discount nike air max
supra outlet
louis vuitton bags
ugg boots outlet
ray bans
polo ralph lauren outlet online
20160725caiyan

Unknown said...

nike air max
louis vuitton
toms outlet
michael kors factory outlet
louis vuitton outlet
polo ralph lauren outlet
fitflops sale
asics
tory burch outlet
michael kors canada
20170214lck

Unknown said...

christian louboutin sneakers
michael kors outlet
michael kors outlet
michael kors outlet clearance
coach outlet online
michael kors handbags clearance
ralph lauren outlet
polo ralph lauren
true religion outlet
nike air max thea
2017.3.16chenlixiang

Unknown said...

kobe 9
nike store uk
nike store
coach factory outlet online
oakley sunglasses
cartier watches for women
oakley sunglasses
christian louboutin shoes
true religion sale
fitflops sale clearance
chanyuan2017.03.24

Unknown said...

20170616 junda
bottega veneta outlet online
michael kors factory outlet
mulberry bags
thomas sabo charms
fitflops sale clearance
coach outlet
coach outlet
cartier watches for sale
mac cosmetics sale
cheap ray ban sunglasses

Benson said...

adidas tubular
reebok shoes
nike air max 270
westbrook shoes
balenciaga
jordans
yeezy shoes
kd 10
yeezy shoes
nike air max 97

yanmaneee said...

air jordan 1
golden goose sneakers
kyrie 7
kobe
kyrie 7
supreme hoodie
kyrie 7
jordan shoes
lebron shoes
nike dunks

Post a Comment

Related Posts Plugin for WordPress, Blogger...