A-A+

Cisco的Aux端口拨号登陆路由器设置的方法

2015年11月21日 站长资讯 暂无评论

这个实验是利用cisco路由器上的aux端口来进行PSTN拨号,以实现远程登陆(登录)。这里有一个案例了,大家可以做一下对比和参考。

物理拓扑图如下:

Cisco 2600的配置:

  1. Router(config)#do sh run                         
  2. Building configuration...                          
  3.    
  4. Current configuration : 694 bytes                                  
  5. !  
  6. version 12.2             
  7. service timestamps debug uptime                                
  8. service timestamps log uptime                              
  9. no service password-encryption                               
  10. !  
  11. hostname Router                
  12. !  
  13. enable secret 5 $1$94RT$oszONmbov2xujifIZDYRV.                                                
  14. !  
  15. username cisco privilege 15 secret 5 $1$WRq0$6Po3AC5vGBqD9enmReizk.                                                                    
  16. ip subnet-zero               
  17. !  
  18. interface FastEthernet0/0                          
  19.  no ip address               
  20.  shutdown          
  21.  duplex auto             
  22.  speed auto            
  23. !  
  24. interface Serial0/0                    
  25.  no ip address               
  26.  shutdown          
  27.  no fair-queue               
  28. !  
  29. interface Serial0/1                    
  30.  no ip address               
  31.  shutdown          
  32. !  
  33. ip classless             
  34. ip http server               
  35. ip pim bidir-enable                    
  36. !  
  37. !   
  38. line con 0           
  39. line aux 0           
  40.  password cisco                
  41.  login local             
  42.  modem InOut             
  43.  modem autoconfigure discovery  
  44.  transport input all  
  45.  speed 115200  
  46.  flowcontrol hardware  
  47. line vty 0 4  
  48.  login  
  49. !  
  50. !  
  51. end  

然后在PC登陆超级终端 里面的参数跟用串口调试路由器是一样的,然后在超级终端输入atdt +电话号码 下面97829是我设置的电话号码 (内部号码,所以直拨了小号):

然后猫就会输出拨号的声音,猫叫大概10s左右就会进入aux登陆界面:

到此,就是实现了AUX远程登录的功能了。

标签:

给我留言