交換機配置命令大全
交換機配置命令的學習需要我們仔細和用心,同時還要講求方法,下面這些基礎性的東西,希望通過分類能讓大家有一個更深的認識。
交換機配置命令——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)# …
-
資訊保安考試試題附答案
國家資訊保安水平考試是由中國資訊保安測評中心實施培養國家網路空間安全人才的專案。下面是小編精心整理的資訊保安考試試題附答案,歡迎大家分享。一、選擇題試題1:入侵檢測系統使用入侵檢測技術對網路和系統進行監視,並根據監視結果採取不同的處理,最大限度降低...
-
木馬病毒的概念及原理
木馬全稱是特洛伊木馬(TrojanHorse),原指古希臘士兵藏在木馬內進入敵方城市從而佔領敵方城市的故事。下面是YJBYS小編整理的木馬病毒的概念及原理,希望可以幫到你!在Internet上,特洛伊木馬指一些程式設計人員在其可從網路上下載(Download)的應用程式或遊戲中,包含...
-
2017年計算機網路技術考試鞏固試題「附答案」
一、選擇題1).下列方式中,利用主機應用系統漏洞進行攻擊的是()。攻擊B.暴力攻擊C.源路由欺騙攻擊注入攻擊正確答案:D答案解析:漏洞入侵是指黑客利用網路系統的漏洞,採用針對該漏洞的工具或自己設計的針對該漏洞的工具等方式進行入侵、攻擊的行為。比較著名的漏洞入...
-
2017年春晚新年搶紅包攻略
春節到,福到運到紅包到,下面一起來看看2017年春晚新年搶紅包攻略吧,祝大家紅包多多!更多訊息請關注應屆畢業生網!一、支付寶口令紅包支付寶將口令紅包作為今年的紅包大戰的重頭戲。推出了中文口令,輸入字數要在6-12個字。並新增了男女紅包、討紅包和隨機紅包等方式...