Posted on May 5, 2017 1:54 am
 |  Asked by Brent Ingram
 |  6741 views
RESOLVED
0
0
Print Friendly, PDF & Email

Hello

I am looking at purchasing some DCS-7050S switches and wanting to know if there is any way to translate a VLAN that is received as a C-VLAN to an standard vlan
i.e to map a C-VLAN to an S-VLAN

Here is an example
eth 1 is a dot1q-tunnel and receives a number of vlans

SVID: 100 with CVID’s of 200, 400 & 600

I want to map CVID 400 from eth1 to a VLAN that I can pass as a standard VLAN trunk to another port.
e.g eth4 being a trunk and passing that CVID  400 as something like VLAN 40

It could be the other way where the CVID is mapped on the input port (eth1) to VLAN 40 to then be trunked out eth4.

I hope I have explained it so that people can understand it.

Regards
Brent

0
Posted by Brent Ingram
Answered on May 6, 2017 9:10 pm

Hi Erik

Thanks for your response.
I had thought about doing it via a loop-back cable.  But I had hoped that there may have been a smart way to map a SVID:CVID to a local VLAN without the need to tie up a couple of ports.

But at least that is a usable option anyway.

Thanks for your help

Brent

0
Posted by Stephen
Answered on May 9, 2017 3:27 am

Brett – this may also accomplish what you’re looking for:

interface Ethernet1

   switchport mode trunk

   switchport vlan mapping 100 inner 400 40

!

interface Ethernet4

   switchport mode trunk

   switchport vlan mapping 400 40

!

This will map the outer tag of 100 (service), and inner tag of 400 (customer) on Ethernet4 to the vlan 40. The on Ethernet4 it will tag those packets with the customer VLAN of 400. 

0
Posted by Brent Ingram
Answered on May 15, 2017 1:19 am

Hi Stephen

Yes that will do exactly what I need.

Many thanks for your help.

Regards
Brent

0
Posted by Brent Ingram
Answered on June 6, 2017 5:46 am

Just for anyone that comes across this topic, unfortunately the suggestion to use “switchport vlan mapping 100 inner 400 40” is not possible as the 7050 doesn’t support it dual tag manipulation.

However Erik’s suggested method of using a loopback cable will work.

Post your Answer

You must be logged in to post an answer.