1,Telnet的配置
目前創(chuàng)新互聯(lián)建站已為超過千家的企業(yè)提供了網站建設、域名、雅安服務器托管、綿陽服務器托管、企業(yè)網站設計、河西網站維護等服務,公司將堅持客戶導向、應用為本的策略,正道將秉承"和諧、參與、激情"的文化,與客戶和合作伙伴齊心協(xié)力一起成長,共同發(fā)展。
Switch>
Switch>enable //進入特權模式
Switch#config //進入全局配置模式
Switch(config)#interface vlan 1 //進入接口配置模式,VLAN1代表整個交換機的端口,三層交換機可以指定多個VLAN IP,并且都可以用Telnet
Switch(config-if-vlan 1)#ip address 10.1.1.1 255.255.255.0 //配置VLAN1的IP地址
Switch(config-if-vlan 1)#no shutdown //激活VLAN1
Switch(config-fi-vlan 1)#exit
Switch(config)#telnet-server enable //開啟Telnet服務
Switch(config)#username admin privilege 15password 0 admin //創(chuàng)建用戶名和密碼,15代表權值,0代表密碼為明文
Switch(config)#authentication line vty login local //認證方式為本地用戶認證
2端口配置
(1) 配置端口速率和雙工模式
Switch#config
Switch(config)#interfaceEthernet 1/0/1
Switch(config-if-ethernet1/0/1)#speed-duplex auto //端口速率為自動協(xié)商(默認選項)
force10-full //10兆全雙工
force10-half //10兆半雙工
force100-full //100兆全雙工
force100-fx //100兆光雙工
force100-half //100兆半雙工
force10g-full //10G全雙工
force1g-full //1000兆雙工
force1g-half //1000半雙工
switch(config-if-ethernet1/0/1)#exit
(2) 設置端口收,發(fā)數(shù)據(jù)占用的寬帶
switch(config)#interface ethernet1/0/2
switch(config-if-ethernet1/0/2)#bandwidthcontrol 10000both //收發(fā)數(shù)據(jù)帶寬10M
1000receive //接收數(shù)據(jù)帶寬1M
1000 transmit //發(fā)送數(shù)據(jù)帶寬1M
KB為單位
(3) 端口鏡像
Switch(config)#monitor session1 sourec interface ethent 1/0/1-10 both //將鏡像組1的1-10端口收,發(fā)的數(shù)據(jù)進行鏡像
Switch(config)monitor session1 destinationinternet 1/0/24 //將鏡像組1的收,發(fā)的數(shù)據(jù)鏡像到24號端口
(4) 端口環(huán)路檢測
Switch(config)#loopback-detectioninterval-time30 15 //配置單端口環(huán)路檢測報文的發(fā)送間隔,有環(huán)路30秒發(fā)1次,沒環(huán)路時15發(fā)一次
Switch(config)#interface Ethernet 1/0/1-24
Switch(config-if-port-range)#loopback-detection special-vlan 1 //整個交換機的端口都開啟端口環(huán)路檢測
Switch(config-if-port-range)#loopback-detectioncontrolshutdown //如發(fā)現(xiàn)端口有環(huán)路就關閉該端口
Switch(config-if-port-range)#exit
Switch(config)#loopback-detectioncontrol-recovery time360 //配置端口環(huán)路檢測的默認時間
(5) 端口聚合
Switch(config)#port-group1 //創(chuàng)建端口組1,端口組號不能與其他交換機組號相同
Switch(config)#interface Ethernet 1/0/1-2
Switch(config-if –port-range)#port-group1 mode no //將1-2端口加入到1端口組,模式為手動。
mode passive //主動模式
mode active //被動模式
注:如果第一臺交換機端口配置了手動模式,那么另一臺交換機的端口也要是手動模式。如果一臺交換機為主動,那另一臺就是被動。
本文題目:神州數(shù)碼交換機的基本配置
文章源于:http://aaarwkj.com/article40/igsdho.html
成都網站建設公司_創(chuàng)新互聯(lián),為您提供企業(yè)建站、用戶體驗、移動網站建設、ChatGPT、電子商務、面包屑導航
聲明:本網站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)