annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 
cancel
808
Visites
10
Compliment
5
Réponses

dot1q tunnel : how it works?

axelhauguel
Level 1
Level 1

Dear All

I have order a cogent Global Peer Exchange port to transport my network between two locations.

On dashboard, I can "request" a VLAN to cogent (cogent port is set up as trunk). My "LAN" VLAN is VLAN 50, and VLAN 50 is not available on cogent port.

So, I want to transport my VLAN 50 under "cogent VLAN". I'have concluded I must use dot1q tunnel function on my Cisco N9K FX.

I'have write some commands to set up the port on my side : 

Cogent VLAN : 807 and 808 

My LAN VLAN : 50 and 100

N9K-PAR-2(config)# int port-channel 800
N9K-PAR-2(config-if)#   description "GPE"
N9K-PAR-2(config-if)#   switchport mode dot1q-tunnel
N9K-PAR-2(config-if)#   switchport vlan mapping 50 dot1q-tunnel 807 
N9K-PAR-2(config-if)#   switchport vlan mapping 100 dot1q-tunnel 808 
N9K-PAR-2(config-if)# no shut
N9K-PAR-2(config-if)# exit
N9K-PAR-2(config)# sh int port-channel 800 vlan mapping 
Interface Po800:
Original VLAN                      Translated VLAN 
---------------                    ----------------- 
50                                        807 
100                                       808 


N9K-PAR-2(config)#

So far it looks like it's set up fine. But when I do a "show running-config", it does not see my two VLANs 807 / 808:

interface port-channel800
  description "GPE"
  switchport mode dot1q-tunnel
  switchport vlan mapping 50,100 dot1q-tunnel 807 
  spanning-tree port type edge

N9K-PAR-2(config)#

In the running config, he see both lan on dot1q-tunnel 807. But.. that not I have set UP !

Is there another way to process or it's a bug ?

 

 

5 RÉPONSES 5

because it tunnel VLAN not VLAN assign to Access port. 

Hi ! 

Happy to see you again !

mmh what do you understand by that please? I need to set what pvid ? 

can you draw topology ?

I'have attached topology scheme in first post, "scheme.jpg"