Cisco IOS的概念
IOS配置通常是通過基于文本的命令行接口(Command Line Interface,CLI)進行的。
Cisco的網際操作系統(IOS:Internetwork Operating System)是一個為網際互連優化的復雜的操作系統。是一個與硬件分離的軟件體系結構,隨網絡技術的不斷發展,可動態地升級以適應不斷變化的技術(軟件)。
公司內網整改,需要重新劃分VLAN,想要刪除Cisco ios 的子接口該怎么辦?刪除子接口的命令有哪些?請和VEVB武林網的小編一起來看一下。
舉個例子,還原f0/0的所有配置到默認。
?。╟onfig)# default interface f0/0接口f0/0會重起。
例:
C2610XM(config)#default interface fa0/0Building configuration…
Interface FastEthernet0/0 set to default configurationC2610XM(config)#
但show run子接口依然存在,重啟后仍然存在。
C2610XM(config)#default inter fa1/0
Building configuration…
Interface FastEthernet1/0 set to default configurationC2610XM(config)#do show run | b interface FastEthernet1/0interface FastEthernet1/0
no ip address
duplex auto
speed auto
!
看來這個命令對子接口無效。
也可以用no命令,例:
C2610XM(config)#no interface fastEthernet 0/0.52Not all config may be removed and may reappear after reactivating the sub-interfaceC2610XM(config)#
這樣就刪除了fa0/0.52子接口
刪除fa0/0.2子接口
C2610XM(config)#no interface FastEthernet0/0.2Not all config may be removed and may reappear after reactivating the sub-interfaceC2610XM(config)#
以上就是Cisco ios 刪除子接口的2個命令,謝謝閱讀,希望能幫到大家,請繼續關注VEVB武林網,我們會努力分享更多優秀的文章。
注:相關教程知識閱讀請移步到網絡基礎知識頻道。