一、思科¶
1、保证路由可通 2、设置登录认证方式 (1)设置虚拟终端线路号并进入虚拟线路终端配置模式(全局配置模式下)
Switch(config)#line vty <0-15>
(2)配置认证方式为无认证(虚拟线路终端配置模式下)
Switch(config-line)#no login
(3)配置认证方式为密码认证(虚拟线路终端配置模式下)
Switch(config-line)#login local
(4)配置虚拟线路登录认证密码-仅在密码认证时需要配置
Switch(config-line)#password <password>
3、创建本地用户并设置权限和密码(全局配置模式下,仅本地认证方式需要)
Switch(config)#user <user-name> [privilege <0-15>] password|secret <password>
4、配置特权模式登录密码(全局配置模式下)
Switch(config)#enable password|secret <password>
5、配置默认网关(全局配置模式下)
Switch(config)#ip default-gateway <gateway-ip>