No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring an ACL on the SSH Server

Configuring an ACL on the SSH Server

Run the ssh [ ipv6 ] server acl { acl-number | acl-name } command in the system view to configure an access control list (ACL) on the SSH server to control access rights of SSH clients.

# Configure an ACL numbered 2000 on the SSH server to allow the client with source IP address 10.10.10.10 to log in to the server.

<HUAWEI> system-view
[~HUAWEI] acl 2000
[*HUAWEI-acl4-basic-2000] rule permit source 10.10.10.10 0
[*HUAWEI-acl4-basic-2000] quit
[*HUAWEI] ssh server acl 2000
[*HUAWEI] commit
# Configure an ACL named huawei on the SSH server.
<HUAWEI> system-view
[~HUAWEI] acl name huawei
[*HUAWEI-acl4-advance-huawei] rule permit tcp
[*HUAWEI-acl4-advance-huawei] quit
[*HUAWEI] ssh server acl huawei
[*HUAWEI] commit
Translation
Download
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 143787

Downloads: 3160

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next