1,Telnet的配置
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 15 password 0 admin //創建用戶名和密碼,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 //端口速率為自動協商(默認選項)
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) 設置端口收,發數據占用的寬帶
switch(config)#interface ethernet1/0/2
switch(config-if-ethernet1/0/2)#bandwidthcontrol 10000 both //收發數據帶寬10M
1000 receive //接收數據帶寬1M
1000 transmit //發送數據帶寬1M
KB為單位
(3) 端口鏡像
Switch(config)#monitor session1 sourec interface ethent 1/0/1-10 both //將鏡像組1的1-10端口收,發的數據進行鏡像
Switch(config)monitor session1 destination internet 1/0/24 //將鏡像組1 的收,發的數據鏡像到24號端口
(4) 端口環路檢測
Switch(config)#loopback-detectioninterval-time 30 15 //配置單端口環路檢測報文的發送間隔,有環路30秒發1次,沒環路時15發一次
Switch(config)#interface Ethernet 1/0/1-24
Switch(config-if-port-range)#loopback-detection special-vlan 1 //整個交換機的端口都開啟端口環路檢測
Switch(config-if-port-range)#loopback-detectioncontrol shutdown //如發現端口有環路就關閉該端口
Switch(config-if-port-range)#exit
Switch(config)#loopback-detectioncontrol-recovery time 360 //配置端口環路檢測的默認時間
(5) 端口聚合
Switch(config)#port-group 1 //創建端口組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 //被動模式
注:如果第一臺交換機端口配置了手動模式,那么另一臺交換機的端口也要是手動模式。如果一臺交換機為主動,那另一臺就是被動。
另外有需要云服務器可以了解下創新互聯scvps.cn,海內外云服務器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務器、裸金屬服務器、高防服務器、香港服務器、美國服務器、虛擬主機、免備案服務器”等云主機租用服務以及企業上云的綜合解決方案,具有“安全穩定、簡單易用、服務可用性高、性價比高”等特點與優勢,專為企業上云打造定制,能夠滿足用戶豐富、多元化的應用場景需求。
標題名稱:神州數碼交換機的基本配置-創新互聯
網頁URL:http://m.kartarina.com/article42/ccgeec.html
成都網站建設公司_創新互聯,為您提供定制開發、品牌網站制作、手機網站建設、用戶體驗、電子商務、網站內鏈
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯