cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
402
Views
0
Helpful
4
Replies

Trunking and Subintrfaces

benh_jr
Level 1
Level 1

Once I have finished configuring subinterfaces on my router port, how do I go back and remove a particular subinterface?

4 Replies 4

Prashanth Krishnappa
Cisco Employee
Cisco Employee

C2621-B#conf term

Enter configuration commands, one per line. End with CNTL/Z.

C2621-B(config)#no interface fastEthernet 0/0.1

% Not all config may be removed and may reappear after reactivating the sub-interface

C2621-B(config)#end

It works! Thank you very much! Have a great day!

steve.barlow
Level 7
Level 7

To delete a subinterface:

router(config-if)#int s0.2

router(config-subif)#ip add 200.200.200.200 255.0.0.0

router(config-subif)#int s0.3

router(config-subif)#ip add 100.100.100.100 255.0.0.0

router(config-subif)#exit

router(config)#no int s0.2

% Not all config may be removed and may reappear after reactivating the sub-interface

router(config)#

or if you only want to remove the vlan and not the whole subinterface:

router(config-subif)#no encapsulation dot1q xxx and no bridge-group xxx

Hope it helps.

Steve

Thanks, Steve. I couldn't find it anywhere! I will give it a shot this morning. I had to run away last night before I lost my mind. Have a great day!