Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Port persists on vlan1, even after doing 'native vlan 9'

My goal is to unassign all ports from vlan1.

I did the 'switchport trunk native vlan 9'. However, port g0/24 persists on vlan1.

What am I missing?

sw2#show run int g0/24

Building configuration...

Current configuration : 226 bytes

!

interface GigabitEthernet0/24

switchport trunk encapsulation dot1q

switchport trunk native vlan 9 <===========================

switchport trunk allowed vlan 9

switchport mode trunk

speed 100

duplex full

end

sw2#show vlan

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Gi0/24, Gi0/25, Gi0/26

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: Port persists on vlan1, even after doing 'native vlan 9'

Hello Marlon,

'switchport access vlan x' will be effective when port is an access port again

From a technical point of view if the port is a trunk and vlan1 is not permitted on it you can say it is not part of vlan1.

This show reports administrative information.

Hope to help

Giuseppe

5 REPLIES
Purple

Re: Port persists on vlan1, even after doing 'native vlan 9'

Thats because the access vlan is still 1 , if you change the access port to 9 it will change , switchport access vlan 9 . Are those trunks working currently , usually a trunk will not even show what the access vlan is if the trunk is working. The show vlan command tells you what vlan the port would be in if it was in access mode and not trunk mode.

New Member

Re: Port persists on vlan1, even after doing 'native vlan 9'

Traffic is flowing and I can get to other devices via the trunk.

Hey, is there any implication in doing the 'switchport access vlan x' on a port which is actually on a trunk?

I always thought that or you are in trunk or you are in 'mode access'... that's new to me.

Hall of Fame Super Silver

Re: Port persists on vlan1, even after doing 'native vlan 9'

Hello Marlon,

'switchport access vlan x' will be effective when port is an access port again

From a technical point of view if the port is a trunk and vlan1 is not permitted on it you can say it is not part of vlan1.

This show reports administrative information.

Hope to help

Giuseppe

New Member

Re: Port persists on vlan1, even after doing 'native vlan 9'

As mentioned on your other post below, this is because either gig 0/24 is down or not trunking. It's got nothing to with native vlans. The port is considered to be in administratively configured vlan(vlan 1 if not conigured) if it can not beceome a trunk.

show int gig 0/24 switchport should help

http://forum.cisco.com/eforum/servlet/NetProf;jsessionid=F5FBE89F4279D5CCDB2646773121B968.SJ1B?page=netprof&forum=Network%20Infrastructure&topic=LAN%2C%20Switching%20and%20Routing&topicID=.ee71a04&fromOutline=&CommCmd=MB%3Fcmd%3Ddisplay_location%26lo...

-Rakesh

New Member

Re: Port persists on vlan1, even after doing 'native vlan 9'

You have to put the interface on the other end of the trunk link in native vlan 9 as well.

146
Views
0
Helpful
5
Replies