交換機配置命令大全
交換機配置命令的學習需要我們仔細和用心,同時還要講求方法,下面這些基礎性的東西,希望通過分類能讓大家有一個更深的認識。
交換機配置命令——VTP
為了將交換機配置成一個集羣的命令交換機,首先要給管理接口分配一個IP地址,然後使用下列命令: switch(config)# cluster enable cluster-name
為了從一條中繼鏈路上刪除VLAN,可使用下列命令:
switch(enable) clear trunk module/port vlan-range
用show vtp domain 顯示管理域的參數.
用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 nt 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 nt 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/nterface
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/nterface multipoint
router(config-if)# ip address ip-address subnet-mask
router(config-if)# lane client ethernet elan-num
router(config-if)# interface atm module/nterface multipoint
router(config-if)# ip address ip-address subnet-name
router(config-if)# lane client ethernet elan-name
router(config-if)# …
-
2017年春晚新年搶紅包攻略
春節到,福到運到紅包到,下面一起來看看2017年春晚新年搶紅包攻略吧,祝大家紅包多多!更多消息請關注應屆畢業生網!一、支付寶口令紅包支付寶將口令紅包作為今年的紅包大戰的重頭戲。推出了中文口令,輸入字數要在6-12個字。並新增了男女紅包、討紅包和隨機紅包等方式...
-
路由器NAT功能介紹及配置
隨着Internet的網絡迅速發展,為了解決IP地址短缺這個問題,出現了多種解決方案。下面小編幾紹一種在目前網絡環境中比較有效的方法即地址轉換(NAT)功能。一、NAT簡介NAT(NetworkAddressTranslation)的功能,就是指在一個網絡內部,根據需要可以隨意自定義的IP地址,而不...
-
關於tplink路由器給手機限速怎麼設置的方法
下文將為大家講解關於關於tplink路由器給手機限速怎麼設置的方法的方法,圖文結合,相信可以為您帶來幫助!首先,我們連接好路由器之後,打開IE或者其他瀏覽器,在瀏覽器地址欄裏輸入,回車。其他型號的路由器可能輸入的IP不一樣,具體情況,請參考路由器的.説明書。我們會看到...
-
詳解核心交換機的TRUNK功能
在調試、維護Cisco交換機的過程中,瞭解醫一些方法對於提高調試交換機的效率非常有幫助,在此,小編將積累的幾點小經驗介紹一下,供大家參考。一、如何讓自己輸入命令時不受到系統信息的干擾相信很多網管員朋友都遇到過這樣的麻煩:即通過串口線連接到交換機的CONSOLE口...