cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
707
Views
0
Helpful
5
Replies

VLAN remove

Anukalp S
Level 1
Level 1

Hi Please tell me if below command can exclude vlan 30 over tunk port, rest all vlan allowed.

 

2960# int te1/1

           switchport mode trunk

           switchport trunk vlan remove 30

           exit

5 Replies 5

Jaderson Pessoa
VIP Alumni
VIP Alumni

Hello Anuklp,

Far as i know, this command will remove only vlan 30 in a trunk port.
vlan guide.JPG
best regards,

Jaderson Pessoa.

Jaderson Pessoa
*** Rate All Helpful Responses ***

kapydan88
Level 4
Level 4

Which ios do you use?

 

General, this should be "switchport trunk allow vlan remove 30"

Yes, you're right. The command is "switchport trunk allowed vlan remove/add/except etecetera.
Jaderson Pessoa
*** Rate All Helpful Responses ***

Thankyou Kapydan, & Jaderson


@Anukalp S wrote:

Hi Please tell me if below command can exclude vlan 30 over tunk port, rest all vlan allowed.

 

2960# int te1/1

           switchport mode trunk

           switchport trunk vlan remove 30

           exit


YES it will.

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking products for a $25 gift card