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

相關文章
相關標籤/搜索