1、运营商广域网链路类型丰富,与路由器E1口对接的线缆接口可能有多种情况,还可能需要通过协议转换器做协议转换。就需要根据实际情况,选择合适的线缆接头和转接头。
2、配置RSR-A路由,进入E1的controller接口,配置为E1成帧模式RSR-A(config)#controller e1 3/1/0 //进入E1/CE1控制接口RSR-A(config-controller)#using e1 //选择模式,这里配置为E1模式
3、配置RSR-A路由,进入虚拟生成的serial接口,配置PPP封装RSR-A(config)拭貉强跳#interface Serial 3/1/0:0 //controller接口虚拟出来的serial口,虚拟出来的接口编号是在controller接口编号上加”:0“RSR-A (config-if - Serial 3/1/0:0)# encapsulation PPP //封装为PPP,两端封装模式必须一致RSR-A(config-if -Serial 3/1/0:0)#ip address 172.16.1.1 255.255.255.252 //配置IP
4、配置RSR-B路由,进入E1的controller接口,配置为E1成帧模式RSR-B(config)#controller e1 4/1/0 //进入E1/CE1控制接口RSR-B(config-controller)#using e1 //选择模式,这里配置为E1模式
5、配置RSR-B路由,进入虚拟生成的serial接口,配置PPP封装RSR-B(config)#interface Serial 4/1/0:0RSR-B (config-if - Serial 4/1/0:0)# encapsulation PPP RSR-B(config-if -Serial 4/1/0:0)#ip address 172.16.1.2 255.255.255.252 //配置IP
6、配置验证1、通过show interface serial 3/1/0 :0具体接口,确认接口协商状态。物理和协议都up说明协商OK。RSR-A#sho interfaces serial 3/1/0:0Index(dec):62 (hex):3eSerial 3/1/0:0 is UP , line protocol is UP Hardware is Serial2、通过ping测试链路是否联通RSR-A#ping 172.16.1.2Sending 5, 100-byte ICMP Echoes to 172.16.1.2, timeout is 2 seconds: < press Ctrl+C to break >!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms