1.远程管理路由器
认证登录(aaa认证)
- authentication 认证
- authorization 授权
- accounting 审计
[AR]user-interface vty 0 4
//远程登录配置试图
[AR-ui-vty0-4]authentication-mode aaa
//启用aaa认证
[AR-ui-vty0-4]user privilege level 3
//权限级别
配置控制方法
- 添加用户,设置密码
- 选择控制方式
[AR-ui-vty0-4]aaa
//进入aaa配置视图
[AR-aaa]local-user user password cipher 123
//添加用户user,设置密码123
[AR-aaa]local-user user service-type telnet
//选择控制方式 为telnet
远程连接登录
- 第三方软件:SecureCRT、Putty、Xshell等
- 路由器与交换机互相登录
通过远程交换机登录路由器:
<:SW>telnet 192.168.1.254
//连接指定的路由器
Username:user
//用户名
Password:
//密码(注意密码输入时不显示)
<:AR>
2.远程管理交换机
为交换机配置虚拟IP地址
[SW]int v1
//进入虚拟接口vlan配置视图
[SW-Vlanif1]ip address 192.168.1.10 24
//设置交换机虚拟IP地址
aaa认证登录
[SW]user-interface vty 0 4
[SW-ui-vty0-4]authentication-mode aaa
[SW-ui-vty0-4]user privilege level 3
[SW-ui-vty0-4]aaa
[SW-aaa]local-user sw password cipher 123
[SW-aaa]local-user sw service-type telnet
远程登录设备
- 第三方软件:SecureCRT、Putty、Xshell等
- 路由器与交换机互相登录
<:AR>telnet 192.168.1.10
Username:sw
Password:
<:SW>