欢迎来到天天文库
浏览记录
ID:32657952
大小:97.96 KB
页数:9页
时间:2019-02-14
《h3c路由器和交换机的基本配置1》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、交换机:1.基本配置:⑴视图:<1130用户视图[H3C]系统视图[H3C-ui-vtyO-4]用户界面视图[H3C-ethernet1/0/1]以太网视图(2)resetsaved-configuration初始化reboot重启system-view进入系统视图[H3C]sysnameH3C设置主机名LH3C]superpassword(level1/2/3)si叩le/cipherpassword配置特权口令[II3C]save(safely)保存设置配置管理IP[H3C]interfacevlan1[H3C-Vlan-interfacel]ipa
2、ddress192.168.1.2255.255.255.0]undoipadd配置端口[H3C]interfaceel/0/2[H3C-ethernet1/0/2]duplexauto/ful1/half]flow-control开启以太网端口EthernetO/O的流量控制。Jundoflow-control关闭以太网端口流量控制]speed10/100/auto[displayinterfaceethernetO/O配置网关[H3C]iproute-static0.0.0.00.0.0.0192.168.1.1配置Aux口令[II3C]user-interfaceaux07[H3
3、C-ui-auxO-7]authentication-modepasswordJsetauthenticationpasswordsiniple/cipherwntJuserprivilegelevel0/1/2/3配置Console口令[H3C]user-interface0[H3C-uiO]authentication-modepassword]setauthenticationpasswordsiniple/cipherwnt]userprivilegelevel0/1/2/3配置vty口令[II3C]user-interfacevty04[H3C-ui-vtyO-4]authe
4、ntication-modepassword]setauthenticationpasswordsimple/cipherwntJuserprivilegelevel0/1/2/3查看的命令[H3C]displayhistory-command[H3C]displayversion[H3C]displaycurrent-configuration[H3C]displaysaved-configuration[H3C]displayinterface[H3C]displayipinterface[H3C]displayinterfaceethernet(0/0)[H3C]displayi
5、phost显示域名解析表1.telnet(1)基于vty[H3C]iphosthostnameip-address静态域名解析]displayiphost[H3C]interfacevlan1[H3C-Vlan-interfacel]ipaddress192.168.1.2255.255.255.0]quit[H3C]user-interfacevty04[H3C-ui-vtyO-4]authentication-modepassword(none/password/scheme)]setauthenticationpasswordsimple/cipherwntJuserprivil
6、egelevel0/1/2/3]quit(按Ctrl+]键,断开telnet)>(按Ctrl+K键,断开telnet)[H3C]displayusersall]displayusers显示连接本地的telnet会话Jdisplaytcpstatus显示当前建立的所有TCP链接情况(2)基于用户Switch[H3C]interfacevlan1[H3C-Vlan-interfacel]ipaddress192.168.1.2255.255.255.0]quit[H3C]local-userbob[H3C~1user-bob]passwordsimple/cipherwnt]se
7、rvice-typetelnetlevel0/1/2/3]quit[H3C]superpasswordsimple/cipherwnt[H3C]user-interfacevty04[H3C-ui-vtyO-4]authentication-modescheme]quit[H3C]domainsystem[H3C-isp-system]authenticationdefaultlocaltelnetIP2.vlan(1)可用命令[H3
此文档下载收益归作者所有