i am using extreme x460-24t switch.
My aim is to feed packet (say ping) from laptop to port , say IN , and get double tagged packet out from another port (say OUT). Also double tagged packet is fed in OUT and should come out untagged from IN.
My laptop is connected to port 1 of switch . laptop has ip 10.0.0.2/24 . I run ping 10.0.0.1 in laptop.
I want switch to put inner vlan tag 100 and outer vlan tag 500 on this ping packet.
So the packet that comes out of port 5 has outer vlan tag 500 and inner vlan tag 100 .
I am trying this setup currently (Don't know if it is the right way)
Port 1 is set untagged for vlan 100 .
port 2 is set tagged for vlan 100.
port 3 is connected to port 2 via ethernet cable.(feeding one port of switch from another , is that ok ? )
We have vman named five_hundred set for tag 500.
port 3 is added as untagged member of this vman.
port 4 is tagged member of this vman .
So , I should get double tagged packets out from port 4.
And , double tagged packets fed to port 4 should come out unatgged from port 1.