cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
475
Views
0
Helpful
2
Replies

command syntax to remove vlan off gig interface

jemorton
Level 1
Level 1

here is the interface:

interface FastEthernet3/1

description TR_cscaf-106-a_2/1

no ip address

logging event trunk-status

duplex full

stack-mib portname TR_cscaf-106-a_2_1

switchport

switchport trunk encapsulation isl

switchport trunk allowed vlan 240,558,629,640,659,906,942-944,947,948

switchport mode trunk

rmon collection history 33 owner "root@glacier [1119041195564]" buckets 50 interval 30

I want to remove one vlan off the trunk, can someone tell me where I can find docs on the command syntax to do thsi?

thx!

2 Replies 2

Bobby Thekkekandam
Cisco Employee
Cisco Employee

Hi,

under the interface configuration mode, simply issue the command

Router(config-if)#switchport trunk allowed vlan remove ?

WORD VLAN IDs of the allowed VLANs when this port is in trunking mode

and add the vlan# that you want to remove.

here's the documentation:

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/122sx/cmdref/s1.htm#wp1022676

HTH,

Bobby

jemorton
Level 1
Level 1

Thank you. Helps very much.