line vty 0 4上面用access-class 5 out 只能限制 telnet 的播出,
lili_switch(config)#access-list 5 permit host 61.164.69.169 lili_switch(config)#access-list 5 permit 192.168.0.0 0.0.255.255 lili_switch(config)#exit lili_switch#telnet 61.164.69.169 Trying 61.164.69.169 ... Open User Access Verification P
lili_switch(config)#access-list 5 permit host 61.164.69.169
lili_switch(config)#access-list 5 permit 192.168.0.0 0.0.255.255
lili_switch(config)#exit
lili_switch#telnet 61.164.69.169
Trying 61.164.69.169 ... Open
User Access Verification
Password:
Password:
Password:
% Bad passwords
[Connection to 61.164.69.169 closed by foreign host]
lili_switch#telnet 61.164.69.168
Trying 61.164.69.168 ...
% Connections to that host not permitted from this terminal
lili_switch#telnet 61.164.69.166
Trying 61.164.69.166 ...
% Connections to that host not permitted from this terminal
lili_switch#
上一篇: 为什么会造成PHP人才奇缺