pass term res 路由器 ip 地址 con out shu tel 特权
配置路由器 IP 地址
然后用命令 ip address x.x.x.x x.x.x.x 配置 IP 地址.具体命令如下:
Router2800>enable (进入特权模式)
Router2800#configure termial (进入全局配置模式)
Router2800(config)#int f0/1 (进入接口配置模式)
Router2800(config-if)#ip address 192.168.0.1 255.255.255.0 (为接口分配 IP 地址和掩码)
Router2800(config-if)#no shutdown (启用接口)
Router2800(config-if)#ex (退出接口模式)
远程登录配置
首先路由器要设置远程登录密码(在被远程的路由器上设置)
line vty 0 4 (允许 5 台设备登录)
passwork + 密码
login
其次全局模式下也要键入配置密码
enable password + 密码 (这个密码不安全)
最后才能实现远程登录
telnet + 远程登录的地址
如果要设置一个安全的密码,如下
R2# en
R2#conf t
R2(config)#enable secret 密码
思科路由器 IP 地址 远程登录配置
来源: http://www.bubuko.com/infodetail-2465584.html