交換機配置命令

時間:2024-09-05 23:33:38 網絡技術 我要投稿

交換機配置命令大全

  為了將交換機配置成一個集群的命令交換機,首先要給管理接口分配一個IP地址,然后使用下列命令: switch(config)# cluster enable cluster-name

  為了從一條中繼鏈路上刪除VLAN,可使用下列命令:

  switch(enable) clear trunk module/port vlan-range

  用show vtp domain 顯示管理域的VTP參數.

  用show vtp statistics顯示管理域的VTP參數.

  交換機配置命令——TrBRF

  在Catalyst交換機上定義TrBRF的命令如下:

  switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]

  在Catalyst交換機上定義TrCRF的命令如下:

  switch (enable) set vlan vlan-num [name name] type trcrf {ring hex-ring-num|decring decimal-ring-num} parent vlan-num

  在創建好TrBRF VLAN之后,就可以給它分配交換機端口.對于以太網交換,可以采用如下命令給VLAN分配端口:

  switch(enable) set vlan vlan-num mod-num/port-num

  命令show spantree顯示一個交換機端口的STP狀態.

  交換機配置命令——LES和BUS

  配置一個ELAN的LES和BUS,可以使用下列命令:

  ATM (config)# interface atm number.subint multioint

  ATM(config-subif)# lane serber-bus ethernet elan-name

  配置LECS:

  ATM(config)# lane database database-name

  ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address

  ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address

  ATM(lane-config-databade)# name …

  創建完數據庫后,必須在主接口上啟動LECS.命令如下:

  ATM(config)# interface atm number

  ATM(config-if)# lane config database database-name

  ATM(config-if)# lane config auto-config-atm-address

  將每個LEC配置到一個不同的ATM子接口上.命令如下:

  ATM(config)# interface atm number.subint multipoint

  ATM(config)# lane client ethernet vlan-num elan-num

  用show lane server 顯示LES的狀態.

  用show lane bus顯示bus的狀態.

  用show lane database顯示LECS數據庫可內容.

  用show lane client顯示LEC的狀態.

  用show module顯示已安裝的模塊列表.

  交換機配置命令——VLAN

  用物理接口建立與VLAN的連接:

  router# configure terminal

  router(config)# interface media module/port

  router(config-if)# description description-string

  router(config-if)# ip address ip-addr subnet-mask

  router(config-if)# no shutdown

  用中繼鏈路來建立與VLAN的連接:

  router(config)# interface module/port.subinterface

  router(config-ig)# encapsulation[isl|dotlq] vlan-number

  router(config-if)# ip address ip-address subnet-mask

  用LANE 來建立與VLAN的連接:

  router(config)# interface atm module/port

  router(config-if)# no ip address

  router(config-if)# atm pvc 1 0 5 qsaal

  router(config-if)# atm pvc 2 0 16 ilni

  router(config-if)# interface atm module/port.subinterface multipoint

  router(config-if)# ip address ip-address subnet-mask

  router(config-if)# lane client ethernet elan-num

  router(config-if)# interface atm module/port.subinterface multipoint

  router(config-if)# ip address ip-address subnet-name

  router(config-if)# lane client ethernet elan-name

  router(config-if)# …

【交換機配置命令】相關文章:

華為交換機配置命令08-07

華為交換機配置命令10-23

思科交換機的高級配置命令08-23

華為交換機基本配置命令07-23

交換機基本配置命令大全09-09

Extreme交換機基礎配置命令07-26

思科交換機的基本配置命令07-06

華為交換機基本配置命令匯總10-15

華為交換機端口的批量配置命令05-20

華為交換機基本配置命令大全08-25

亚洲制服丝袜二区欧美精品,亚洲精品无码视频乱码,日韩av无码一区二区,国产人妖视频一区二区
亚洲国产一区二区波多野结衣 | 亚洲欧美在线人成最新按摩 | 婷婷久久綜合九色综合 | 亚洲少妇毛多水多 | 日韩精品加勒比在线观看 | 在线亚洲中文精品第1页 |