A network administrator needs to allow only one Telnet connection to a router. For anyone viewing the confguration and issuing the show run command, the password for Telnet access should be encrypted.Which set of commands will accomplish this task?
A、
service password-encryption
access-list 1 permit 192.168.1.0 0.0.0.255
line vty 0 4
login
password cisco
access-class 1
B、
enable password secret
line vty 0
login
password cisco
C、
service password-encryption
line vty 1
login
password cisco
D、
service password-encryption
line vty 0 4
login
password cisco
【正确答案】
C
【答案解析】
首先密码加密的命令为service password-encyption 题目要求只能有一个人连接懂啊路由器.那么我们就开启一个vty线路.然后设置password并且配置login就OK了
提交答案
关闭