VLAN & 802.1q

Post Reply
Spack

VLAN & 802.1q

Post by Spack »

Hi all,

I'm trying to tag a port but I have a problem on its VLAN's assignment...
Let me explain: for example I have a VLAN with the ID 2 and I want to put a tagged port in this VLAN:

Code: Select all

vlan 2 enable
vlan 2 802.1q 1/2
No problem since here but if the port is already assigned to the VLAN as default port, I need first to remove it:

Code: Select all

vlan 2 no port default 1/2
vlan 2 802.1q 1/2
But when I do that, my port is naturally assigned to VLAN 2 as a qtagged port but it's also assigned to VLAN 1 as default port:

Code: Select all

show vlan 2 port
port     type       status
------+--------+-------
1/2      qtagged  forwarding

show vlan 1 port
port     type       status
------+--------+-------
1/2      default    forwarding
Why does this happened? The problem is if I have and IP address assigned to my VLAN 1 the port alos takes this IP address and I don't want that... :?
benny

Re: VLAN & 802.1q

Post by benny »

You could create a vlan 3, disable that vlan and assign it as default. Only the tagged vlan would be "active" on that port.

-benny
Post Reply

Return to “OmniSwitch 6850 / 6850E”