欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Cisco ios系統(tǒng)中刪除子接口的方法與命令

  發(fā)布時(shí)間:2014-09-28 16:15:46   作者:佚名   我要評(píng)論
之前給Cisco ios 劃分過(guò)子端口,現(xiàn)在想要從新重新劃分VLAN,需要?jiǎng)h除Cisco ios 的子接口該怎么辦?刪除子接口的命令有哪些?請(qǐng)和腳本之家的小編一起來(lái)看一下

  Cisco IOS的概念

  IOS配置通常是通過(guò)基于文本的命令行接口(Command Line Interface,CLI)進(jìn)行的。

  Cisco的網(wǎng)際操作系統(tǒng)(IOS:Internetwork Operating System)是一個(gè)為網(wǎng)際互連優(yōu)化的復(fù)雜的操作系統(tǒng)。是一個(gè)與硬件分離的軟件體系結(jié)構(gòu),隨網(wǎng)絡(luò)技術(shù)的不斷發(fā)展,可動(dòng)態(tài)地升級(jí)以適應(yīng)不斷變化的技術(shù)(軟件)。

  公司內(nèi)網(wǎng)整改,需要重新劃分VLAN,想要?jiǎng)h除Cisco ios 的子接口該怎么辦?刪除子接口的命令有哪些?請(qǐng)和腳本之家的小編一起來(lái)看一下。

  舉個(gè)例子,還原f0/0的所有配置到默認(rèn)。

 ?。╟onfig)# default interface f0/0接口f0/0會(huì)重起。

  例:


復(fù)制代碼
代碼如下:
  C2610XM(config)#default interface fa0/0Building configuration…
  Interface FastEthernet0/0 set to default configurationC2610XM(config)#

  但show run子接口依然存在,重啟后仍然存在。


復(fù)制代碼
代碼如下:
  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
  !

  看來(lái)這個(gè)命令對(duì)子接口無(wú)效。

  也可以用no命令,例:


復(fù)制代碼
代碼如下:
  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子接口


復(fù)制代碼
代碼如下:
  C2610XM(config)#no interface FastEthernet0/0.2Not all config may be removed and may reappear after reactivating the sub-interfaceC2610XM(config)#

  以上就是Cisco ios 刪除子接口的2個(gè)命令,謝謝閱讀,希望能幫到大家,請(qǐng)繼續(xù)關(guān)注腳本之家,我們會(huì)努力分享更多優(yōu)秀的文章。

相關(guān)文章

最新評(píng)論