cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
503
Views
3
Helpful
2
Replies

Clear trunk command question

sknorr
Level 1
Level 1

I'm trying to clear all vlans off this port except vlan 1 and 510. Here is the command that I use but, it doesn't seem to work.

(enable) clear trunk 5/14 2-509,511-1005,1025-4094

Removing Vlan(s) 2-509,511-1005,1025-4094 from allowed list.

Port 5/14 allowed vlans modified to 1.

(enable)

show config only shows that vlan 1 is allowed. Why? I want to trunk vlan 510 as well.

clear trunk 5/14 2-1005,1025-4094

set trunk 5/14 nonegotiate dot1q 1

1 Accepted Solution

Accepted Solutions

The command is additive. If 510 was not allowed this command will not allow it, it only adds to the list of not allowed vlans. To add it back use the command specified above.

View solution in original post

2 Replies 2

mdoldan
Level 1
Level 1

Please specify platform ...

ie. Cat 5509 CatOS, Cat 6513 Native Mode, etc..

try this:

set trunk 5/14 on dot1q 1,510

The command is additive. If 510 was not allowed this command will not allow it, it only adds to the list of not allowed vlans. To add it back use the command specified above.