A-A+
Cisco的Aux端口拨号登陆路由器设置的方法
这个实验是利用cisco路由器上的aux端口来进行PSTN拨号,以实现远程登陆(登录)。这里有一个案例了,大家可以做一下对比和参考。
物理拓扑图如下:
Cisco 2600的配置:
- Router(config)#do sh run
- Building configuration...
- Current configuration : 694 bytes
- !
- version 12.2
- service timestamps debug uptime
- service timestamps log uptime
- no service password-encryption
- !
- hostname Router
- !
- enable secret 5 $1$94RT$oszONmbov2xujifIZDYRV.
- !
- username cisco privilege 15 secret 5 $1$WRq0$6Po3AC5vGBqD9enmReizk.
- ip subnet-zero
- !
- interface FastEthernet0/0
- no ip address
- shutdown
- duplex auto
- speed auto
- !
- interface Serial0/0
- no ip address
- shutdown
- no fair-queue
- !
- interface Serial0/1
- no ip address
- shutdown
- !
- ip classless
- ip http server
- ip pim bidir-enable
- !
- !
- line con 0
- line aux 0
- password cisco
- login local
- modem InOut
- modem autoconfigure discovery
- transport input all
- speed 115200
- flowcontrol hardware
- line vty 0 4
- login
- !
- !
- end
然后在PC登陆超级终端 里面的参数跟用串口调试路由器是一样的,然后在超级终端输入atdt +电话号码 下面97829是我设置的电话号码 (内部号码,所以直拨了小号):
然后猫就会输出拨号的声音,猫叫大概10s左右就会进入aux登陆界面:
到此,就是实现了AUX远程登录的功能了。