1,Telnet的配置
目前創(chuàng)新互聯(lián)建站已為超過千家的企業(yè)提供了網(wǎng)站建設(shè)、域名、雅安服務(wù)器托管、綿陽服務(wù)器托管、企業(yè)網(wǎng)站設(shè)計、河西網(wǎng)站維護等服務(wù),公司將堅持客戶導(dǎo)向、應(yīng)用為本的策略,正道將秉承"和諧、參與、激情"的文化,與客戶和合作伙伴齊心協(xié)力一起成長,共同發(fā)展。
Switch>
Switch>enable //進入特權(quán)模式
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服務(wù)
Switch(config)#username admin privilege 15password 0 admin //創(chuàng)建用戶名和密碼,15代表權(quán)值,0代表密碼為明文
Switch(config)#authentication line vty login local //認(rèn)證方式為本地用戶認(rèn)證
2端口配置
(1) 配置端口速率和雙工模式
Switch#config
Switch(config)#interfaceEthernet 1/0/1
Switch(config-if-ethernet1/0/1)#speed-duplex auto //端口速率為自動協(xié)商(默認(rèn)選項)
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) 設(shè)置端口收,發(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)路就關(guān)閉該端口
Switch(config-if-port-range)#exit
Switch(config)#loopback-detectioncontrol-recovery time360 //配置端口環(huán)路檢測的默認(rè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://bm7419.com/article40/igsdho.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供企業(yè)建站、用戶體驗、移動網(wǎng)站建設(shè)、ChatGPT、電子商務(wù)、面包屑導(dǎo)航
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)