資源描述:
《cisco和h3c路由器交換機(jī)基本配置》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、Cisco和H3C路由器交換機(jī)基本配置H3C路由器和交換機(jī)的基本配置交換機(jī):1.基本配置:(1)視圖:用戶視圖[H3C]系統(tǒng)視圖[H3C-ui-vty0-4]用戶界面視圖[H3C-ethernet1/0/1]以太網(wǎng)視圖(2)resetsaved-configuration初始化reboot重啟system-view進(jìn)入系統(tǒng)視圖[H3C]sysnameH3C設(shè)置主機(jī)名[H3C]superpassword(level1/2/3)simple/cipherpassword配置特權(quán)口
2、令[H3C]save(safely)保存設(shè)置配置管理IP[H3C]interfacevlan1[H3C-Vlan-interface1]ipaddress192.168.1.2255.255.255.0]undoipadd配置端口[H3C]interfacee1/0/2[H3C-ethernet1/0/2]duplexauto/full/half]flow-control開啟以太網(wǎng)端口Ethernet0/0的流量控制。]undoflow-control關(guān)閉以太網(wǎng)端口流量控制]speed10/100/auto]dis
3、playinterfaceethernet0/0配置網(wǎng)關(guān)[H3C]iproute-static0.0.0.00.0.0.0192.168.1.1配置Aux口令[H3C]user-interfaceaux07[H3C-ui-aux0-7]authentication-modepassword]setauthenticationpasswordsimple/cipherwnt]userprivilegelevel0/1/2/3配置Console口令[H3C]user-interface0[H3C-ui0]authent
4、ication-modepassword]setauthenticationpasswordsimple/cipherwnt]userprivilegelevel0/1/2/3配置vty口令[H3C]user-interfacevty04[H3C-ui-vty0-4]authentication-modepasswordlocatedintheTomb,DongShenJiabang,deferthenextdayfocusedontheassassination.Linping,Zhejiang,1ofwhich
5、liquorwinemasters(WuzhensaidinformationisCarpenter),whogotAfewbayonets,duetomissedfatal,whennightcame第15頁(yè)共16頁(yè)Cisco和H3C路由器交換機(jī)基本配置]setauthenticationpasswordsimple/cipherwnt]userprivilegelevel0/1/2/3查看的命令[H3C]displayhistory-command[H3C]displayversion[H3C]displayc
6、urrent-configuration[H3C]displaysaved-configuration[H3C]displayinterface[H3C]displayipinterface[H3C]displayinterfaceethernet(0/0)[H3C]displayiphost顯示域名解析表2.telnet(1)基于vty[H3C]iphosthostnameip-address靜態(tài)域名解析]displayiphost[H3C]interfacevlan1[H3C-Vlan-interface1]i
7、paddress192.168.1.2255.255.255.0]quit[H3C]user-interfacevty04[H3C-ui-vty0-4]authentication-modepassword(none/password/scheme)]setauthenticationpasswordsimple/cipherwnt]userprivilegelevel0/1/2/3]quit(按Ctrl+]鍵,斷開telnet)>(按Ctrl+K鍵,斷開telnet)[H3C]displayusersa
8、ll]displayusers顯示連接本地的telnet會(huì)話]displaytcpstatus顯示當(dāng)前建立的所有TCP鏈接情況(2)基于用戶Switch[H3C]interfacevlan1[H3C-Vlan-interface1]ipaddress192.168.1.2255.255.255.0]quit[H3C]local-userbob[H3C-lus