在路由器连接PC的接口上配置IP地址,测试PC到路由器的连通性
在路由器上开启HTTP或者HTTPS的服务
Router(config)#ip http server
Router(config)#ip http authentication local
创建一个15等级的用户
Router(config)#username jeff privilege 15 password jeff
配置TELNET/SSH启用认证本地数据库
Router(config)#line vty 0 4
Router(config-line)#login local