cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
602
Views
2
Helpful
4
Replies

Cisco C1300 vlan trunk and vlan mapping tunnel for vlan QinQ

Pawel-tb24
Level 1
Level 1

Hi,

Is it possible to set a port in trunk mode with vlan tunnel mapping in Cisco C1300 switches?

I receive both the QinQ vlan and individual 802.1Q vlans from the operator on one port, how do I set the trunk port to remove the s-vlan tag for the QinQ vlan and forward a single 802.1Q vlan?

-- Have a good day, Regards.

4 Replies 4

@Pawel-tb24 Q-in-Q.

C1300 does support 

VLAN translation

Support for VLAN one-to-one mapping, in which customer VLANs (C-VLANs) on an edge interface are mapped to service provider VLANs (S-VLANs), and the original C-VLAN tags are replaced by the specified S-VLAN

Q-in-Q

VLANs transparently cross a service provider network while isolating traffic among customers

https://www.cisco.com/c/en/us/products/collateral/switches/catalyst-1300-series-switches/nb-06-cat1300-ser-data-sheet-cte-en.html

You can check this guide for VLAN translation

https://www.cisco.com/c/en/us/td/docs/switches/campus-lan-switches-access/Catalyst-1200-and-1300-Switches/Admin-Guide/catalyst-1300-admin-guide/vlan-management.html

 

in: te1/0/1: s-vlan tag 200[c-vlan tag: 10,20,30,..] and vlan tag 1000,1001 (802.1Q) ----> out trunk: te1/0/2: c-vlan tag: 10,20,30.. and vlan tag 1000,1001.

interface TenGigabitEthernet1/0/1
description ISP
switchport mode trunk
switchport trunk allowed vlan 200,1000,1001

interface TenGigabitEthernet1/0/2 ??

# only 1000,1001 vlan run, c-vlan: not run
interface TenGigabitEthernet1/0/2
description TRUNK
switchport trunk allowed vlan 200,1000,1001
switchport trunk native vlan 200
--

# olny c-vlan 10, 20, 30: run, 1000,1001: not run

interface TenGigabitEthernet1/0/2
description TRUNK
switchport mode vlan-mapping tunnel
switchport vlan-mapping tunnel 10 200
switchport vlan-mapping tunnel 20 200
switchport vlan-mapping tunnel 30 200

or

interface TenGigabitEthernet1/0/2
description TRUNK
switchport mode customer
switchport general pvid 200
switchport customer vlan 200

@Pawel-tb24 

 I find it confuse and if I were you I would go with GUI interface which seems to be easier for Small Business switches like this one.

FlavioMiranda_0-1737375033171.png

You just need to know exactly what you ISP offer and what you want to do with it. 

There are different between QinQ and vlan mapping' your config is for vlan mapping one to one not QinQ

MHM