欢迎来到天天文库
浏览记录
ID:42742688
大小:67.50 KB
页数:14页
时间:2019-09-20
《神州数码路由交换配置命令(全)》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、路由sshaaaauthenticationloginsshlocalaaaauthenticationenabledefaultenableenablepassword0123456usernameadminpassword0123456ipsshdenableipsshdauth-methodsshipsshdauth-retries5ipsshdtimeout60TELNETR1_config#aaaauthenticationlogindefaultlocalR1_config#aaaauthen
2、ticationenabledefaultenableR1_config#enablepassword0ruijieR1_config#linevty04R1_config_line#loginauthenticationdefaultR1_config_line#password0cisco方法2,不需要经过3A认证R1_config#aaaauthenticationlogindefaultnoneR1_config#aaaauthenticationenabledefaultenableR1_con
3、fig#enablepassword0ciscoR1_config#linevty04R1_config_line#loginauthenticationdefaultCHAP认证单向认证,密码可以不一致R2_config#aaaauthenticationppptestlocalR2_config#usernameR2password0123456R2_config_s0/2#encpppR2_config_s0/2#pppauthenticationchaptestR2_config_s0/2#ppp
4、chaphostnameR1R1_config#aaaauthenticationppptestlocalR1_config#usernameR1password0123456R1_config_s0/1#encpppR1_config_s0/1#pppauthenticationchaptestR1_config_s0/1#pppchaphostnameR2pap认证双向认证,密码要求一致R2_config#aaaauthenticationppptestlocalR2_config#usernameR
5、2password0123456R2_config_s0/2#encpppR2_config_s0/2#pppauthenticationpaptestR2_config_s0/2#ppppapsent-usernameR1password123456R1_config#aaaauthenticationppptestlocalR1_config#usernameR1password0123456R1_config_s0/1#encpppR1_config_s0/1#pppauthenticationpa
6、ptestR1_config_s0/1#ppppapsent-usernameR2password123456FRRouter-A_config_s1/1#encapsulationframe-relay!封装帧中继协议Router-A_config_s1/1#frame-relaylocal-dlci17!设置本地DLCI号Router-A_config_s1/1#frame-relayintf-typedce!配置FR的DCERouter-A_config_s1/1#frame-relaymap192
7、.168.1.2pvc17broadcast!配置DLCI与对端IP的映射VrrpIntg0/4vrrp1associate192.168.20.254255.255.255.0vrrp1priority120设置优先级,为主vrrp1preempt开启抢占vrrp1trackinterfaceSerial0/130追踪上行接口,防止上行接口DOWN了,自动降低优先级Intg0/6vrrp1associate192.168.20.254255.255.255.0vrrp1priority100设置优先级,
8、为备,默认为100vrrp1preempt开启抢占vrrp1trackinterfaceSerial0/230追踪上行接口,防止上行接口DOWN了,自动降低优先级RIP验证,只有V2支持验证interfaceSerial0/2接口起验证和配密码ipripauthenticationsimpleiprippassword123456RIP改单播routerripnei192.168.1.1RIP定时器routerriptimer
此文档下载收益归作者所有