CatOS: Change Native Vlan for Vtp/trunking

Unanswered Question
Jun 4th, 2008

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
glen.grant Wed, 06/04/2008 - 11:27

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

dmooreami Wed, 06/04/2008 - 12:36

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

Jon Marshall Wed, 06/04/2008 - 12:40


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.


dmooreami Wed, 06/04/2008 - 12:45

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

I now understand. Thanks guys!

Francois Tallet Wed, 06/04/2008 - 12:47

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.




This Discussion