06-27-2022 05:38 AM
I am configuring a trunk port on 2 switches. when i show vlan the ports are coming up on Vlan 1. The new ports are mirrored to other actual trunk ports on said switch but they are not on VLAN 1. in fact they are not on any VLAN (not the problem).
how do i take my new trunk port out of vlan 1?
06-27-2022 05:56 AM
The question is bit tricky - post the below config :
show vlan
show run interface x/x (this is trunk port)
if the vlan1 not required you do not like to extend you can remove vlan1 from trunk ( default cisco vlan is VLAN1)
if they are not show any VLAN in the config means, show belong to VLAN1
show vla give you what port belong to what vlan
06-27-2022 06:47 AM
INT CONFIG
switchport trunk native vlan 4000
switchport trunk allowed vlan 2-4094
switchport mode trunk
switchport nonegotiate
ip arp inspection trust
udld port
spanning-tree bpduguard disable
spanning-tree link-type point-to-point
ip dhcp snooping trust
i cant bring over vlan info due to separate computer running CLI, but it still shows on vlan 1
06-27-2022 06:55 AM
You config is ok, but
Are this config between cisco and other vendor?
06-27-2022 07:00 AM
negative, both switches are cisco 2960x
06-27-2022 07:19 AM
Sw 2960x with SFP if don't the port is work
show interface check the
media type
06-27-2022 07:07 AM
Still not clear to use what was the ASK here, Cisco Native VLAN 1, it will be all over the switches.
if the switch port not change from vlan1 to other port the VLAN belong to 1 only ?
if the tunk not carrying the VLAN 1, but they locally resides in the switch.
06-27-2022 07:10 AM
i guess im just confused, because i have other trunk ports (that i didnt configure) that are not in any Vlans.
06-27-2022 09:15 AM
So what is now, did you able to manage to fix the issue ?
06-27-2022 05:57 AM
Show vlan and you see port that meaning the port is access not trunk.
Go to port you config as trunk and config
Switchport mode trunk
06-27-2022 06:39 AM
Hi
Sticking with your question and know nothing about your config:
"how do i take my new trunk port out of vlan 1?"
switchport trunk allowed vlan remove 1
06-27-2022 06:43 AM
>...when i show vlan the ports are coming up on Vlan 1.
- What do you mean by that ? In general it's not advised to remove vlan 1 from trunk port as it carries all sorts of native cisco protocols
such as stp and others , better not to be worries by that.
M.
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