欢迎来到天天文库
浏览记录
ID:16754901
大小:65.50 KB
页数:16页
时间:2018-08-24
《cisco和h3c路由器交换机基本配置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、Cisco和H3C路由器交换机基本配置H3C路由器和交换机的基本配置交换机:1.基本配置:(1)视图:用户视图[H3C]系统视图[H3C-ui-vty0-4]用户界面视图[H3C-ethernet1/0/1]以太网视图(2)resetsaved-configuration初始化reboot重启system-view进入系统视图[H3C]sysnameH3C设置主机名[H3C]superpassword(level1/2/3)simple/cipherpassword配置特权口
2、令[H3C]save(safely)保存设置配置管理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开启以太网端口Ethernet0/0的流量控制。]undoflow-control关闭以太网端口流量控制]speed10/100/auto]dis
3、playinterfaceethernet0/0配置网关[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页共16页Cisco和H3C路由器交换机基本配置]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静态域名解析]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会话]displaytcpstatus显示当前建立的所有TCP链接情况(2)基于用户Switch[H3C]interfacevlan1[H3C-Vlan-interface1]ipaddress192.168.1.2255.255.255.0]quit[H3C]local-userbob[H3C-lus
此文档下载收益归作者所有