好消息,超酷的在线虚拟网络实验室上线了!点击开始实验

为获得更好的浏览效果,建议您使用 Firefox 或者 Chrome 浏览器



4.1.1 PPP不验证

【需求】

RouterARouterB通过PPP互通,不需要进行验证

【组网图】

 

【配置脚本】

RouterA配置脚本

#                                                                              

 sysname RouterA                                                               

#                                                                               

radius scheme system                                                           

#                                                                              

domain system                                         

#                                                                              

interface Serial3/0/0                                                           

 link-protocol ppp                                                             

 ip address 10.1.1.1 255.255.255.0                                             

#                                                                               

interface NULL0                                                                

#                                                                              

user-interface con 0                                                           

user-interface vty 0 4                                                         

#                                                                              

return 

RouterB配置脚本

#                                                                              

 sysname RouterA                                                               

#                                                                               

radius scheme system                                                           

#                                                                              

domain system                                         

#                                                                              

interface Serial3/0/0                                                           

 link-protocol ppp                                                             

 ip address 10.1.1.1 255.255.255.0                                             

#                                                                               

interface NULL0                                                                

#                                                                              

user-interface con 0                                                           

user-interface vty 0 4                                                         

#                                                                              

return 

 

【验证】

通过查看disp int s 3/0/0信息,接口德物理层和链路层的状态都是up状态,并且PPP的LCP和IPCP都是opened状态,说明链路的PPP协商已经成功,并且都可以互相ping通对方的IP地址

 

Serial3/0/0 current state :UP  

Line protocol current state :UP

Description : Serial3/0/0 Interface

The Maximum Transmit Unit is 1500, Hold timer is 10(sec)

Internet Address is 10.1.1.1/24

Link layer protocol is PPP

LCP opened, IPCP opened, OSICP opened

Output queue : (Urgent queuing : Size/Length/Discards)  0/50/0

Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0

Output queue : (FIFO queuing : Size/Length/Discards)  0/75/0

Interface is V35

    121 packets input,  2304 bytes

126 packets output,  2618 bytes

 

X Close
X Close