01-20-2025 02:16 AM
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.
01-20-2025 02:32 AM
@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 |
You can check this guide for VLAN translation
01-20-2025 03:07 AM
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
01-20-2025 04:11 AM
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.
You just need to know exactly what you ISP offer and what you want to do with it.
01-20-2025 04:17 AM
There are different between QinQ and vlan mapping' your config is for vlan mapping one to one not QinQ
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide