10-09-2012 02:40 PM - edited 03-07-2019 09:22 AM
Hi, i have two ports configured trunk in CATOS.
by mistake its been put in Vlan 5 as well.
How can i revoke this change? or remove these ports 1/1 and 1/2 from vlan 5?
here is what my config showing.
set vlan 5 1/1-2 ( dont want this )
set trunk 1/1 desirable dot1q 1-1005
set trunk 1/2 desirable dot1q 1-1005
10-09-2012 09:07 PM
Hi,
Example:
Force the port to VLAN 1 (assuming that is your default/native VLAN). If port 1/2 was set to a VLAN 5 and you wanted to remove it, just type below and this will remove from the current vlan
CatosSwitch> (enable)set vlan 1 1/2
Example
CatosSwitch> (enable)clear vlan 5
This command will deactivate all ports on vlan 5
in the entire management domain.
Do you want to continue(y/n) [n]? y
Vlan 5 deleted
Note: Ports are not displayed in the output of the show vlan command (which was assigned to vlan 5) because the removal of VLAN 5 deactivates these ports. The ports are not displayed until you add them back in another VLAN
Refer:
Regards,
Aru
*** Please rate if the post is useful ***
10-10-2012 12:41 AM
Hello Ahmad82pkn,
the combination of commands in CATOS change the native vlan to vlan 5 on trunk ports 1/1 and 1/2.
The ports will act as trunk but a mismatch in native vlan may happen with remote side.
If you want to have the native vlan set to default value, vlan 1, all you need to do is
set vlan 1 1/1-2
In CATOS there isn't an explicit command for setting the native vlan on trunks (at least in versions 6.x. 7.x that I have used) so the association to a vlan of a trunk port is used to tell the switch what is the native vlan.
Hope to help
Giuseppe
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