欢迎来到天天文库
浏览记录
ID:35926899
大小:67.50 KB
页数:14页
时间:2019-04-25
《神码配置实验(全)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、路由sshaaaauthenticationloginsshlocalaaaauthenticationenabledefaultenableenablepassword0123456usernameadminpassword0123456ipsshdenableipsshdauth-methodsshipsshdauth-retries5ipsshdtimeout60TELNETR1_config#aaaauthenticationlogindefaultlocalR1_config#aaaauthenticationenabledefaultenableR1_config#enable
2、password0ruijieR1_config#linevty04R1_config_line#loginauthenticationdefaultR1_config_line#password0cisco方法2,不需要经过3A认证R1_config#aaaauthenticationlogindefaultnoneR1_config#aaaauthenticationenabledefaultenableR1_config#enablepassword0ciscoR1_config#linevty04R1_config_line#loginauthenticationdefaultCH
3、AP认证单向认证,密码可以不一致R2_config#aaaauthenticationppptestlocalR2_config#usernameR2password0123456R2_config_s0/2#encpppR2_config_s0/2#pppauthenticationchaptestR2_config_s0/2#pppchaphostnameR1R1_config#aaaauthenticationppptestlocalR1_config#usernameR1password0123456R1_config_s0/1#encpppR1_config_s0/1#pppau
4、thenticationchaptestR1_config_s0/1#pppchaphostnameR2pap认证双向认证,密码要求一致R2_config#aaaauthenticationppptestlocalR2_config#usernameR2password0123456R2_config_s0/2#encpppR2_config_s0/2#pppauthenticationpaptestR2_config_s0/2#ppppapsent-usernameR1password123456R1_config#aaaauthenticationppptestlocalR1_conf
5、ig#usernameR1password0123456R1_config_s0/1#encpppR1_config_s0/1#pppauthenticationpaptestR1_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的D
6、CERouter-A_config_s1/1#frame-relaymap192.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设置优先级,为备,
7、默认为100vrrp1preempt开启抢占vrrp1trackinterfaceSerial0/230追踪上行接口,防止上行接口DOWN了,自动降低优先级RIP验证,只有V2支持验证interfaceSerial0/2接口起验证和配密码ipripauthenticationsimpleiprippassword123456RIP改单播routerripnei192.168.1.1RIP定时器routerriptimer
此文档下载收益归作者所有