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

CatOS: Change Native Vlan for Vtp/trunking

By default it is 1, but the company changed it to 20 for some reason.

I know how to set the native vtp trunk in Native mode, but how do you do it in CatOS. Searching hasn't turned up anything useful.

7 REPLIES
Purple

Re: CatOS: Change Native Vlan for Vtp/trunking

Use "set vlan X slot/port " . X is the vlan you want as native.

New Member

Re: CatOS: Change Native Vlan for Vtp/trunking

no, I want to change the native vlan that delivers VTP trunking info from Vlan20 to Vlan1.

in native mode:

switchport trunk native vlan 20

would set the vtp info from Vlan1 to Vlan20.

I don't think it is possible to change the native VTP vlan1 in CatOS v8.3x.

However, if a Cat switch running Native code sets its native vlan to 20, then the CatOS will comply on its end. If anyone knows differently please let me know

Hall of Fame Super Blue

Re: CatOS: Change Native Vlan for Vtp/trunking

Doug

Glen is correct in what he said. To set the native vlan on a trunk link on CatOS you set the port into the vlan you want so to set the native VTP to vlan 20 on CatOS

set vlan 20 3/1

which sets the native vlan on port 3/1 to vlan 20. Remember that 3/1 is a trunk port not an access port ie.

set vlan 20 3/1 on an access port would put 3/1 into vlan 20. But on a trunk the port is not allocated to any one particular vlan. By using

set vlan 20 3/1 on a trunk port you are setting the native vlan.

Jon

New Member

Re: CatOS: Change Native Vlan for Vtp/trunking

ah, I see. was looking at the command from an access port view, not a trunk view.

I now understand. Thanks guys!

Re: CatOS: Change Native Vlan for Vtp/trunking

VTP is always sent with a Tag of 1 on a trunk regardless of what the native VLAN is and even if VLAN 1 is not in the list of allowed VLANs. Have a read of the 'Catalyst Control Plane Protocols' section of this document:

http://www.cisco.com/warp/public/473/103.html

HTH

Andy

Re: CatOS: Change Native Vlan for Vtp/trunking

VTP is always using vlan 1 for its communication, regardless of the native vlan. So changing the native in that case is of no use.

Regards,

Francois

Re: CatOS: Change Native Vlan for Vtp/trunking

Let me rephrase in fact;-) It has no use for VTP communication!

4135
Views
0
Helpful
7
Replies
CreatePlease to create content