Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Trunking and Subintrfaces

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

4 REPLIES
Cisco Employee

Re: Trunking and Subintrfaces

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

New Member

Re: Trunking and Subintrfaces

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

Re: Trunking and Subintrfaces

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

New Member

Re: Trunking and Subintrfaces

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!

165
Views
0
Helpful
4
Replies
CreatePlease to create content