H3C路由器的登陆用户的限制

对路由器的Telnet和Web的登陆访问控制:新建基本的访控2000,加入容许访问的IP地址,分别对VTY和http服务应该访问2000,保存配置。ide

<h3c>sysui

[h3c]acl number 2000 name loginipspa

[h3c-acl-basic-2000-loginip]rule permit source 192.168.4.5 0日志

[h3c-acl-basic-2000-loginip]rule permit source 192.168.5.6 0blog

[h3c-acl-basic-2000-loginip]quitip

[h3c]user-interface vty ?路由

  INTEGER<0-4>  First user terminal interface number to be configuredterminal

[h3c]user-interface vty 0 4get

[h3c-ui-vty0-4]acl 2000 inbound input

[h3c-ui-vty0-4]quit

[h3c]ip http acl 2000

[h3c]save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

 Validating file. Please wait....

 Configuration is saved to device successfully.

[h3c]quit

如下是配置登陆限制后的日志监控效果

wKiom1QOyHbAOr6HAAFnGIyTLvo091.jpg

相关文章
相关标签/搜索