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

S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.
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 a Packet Filtering Rule Based on the Source IP Address Segment

Configuring a Packet Filtering Rule Based on the Source IP Address Segment

To allow packets from a host to pass and reject packets from other hosts on the same network segment, configure rules in an ACL. For example, to allow packets from the host at 192.168.1.3 to pass and reject packets from other hosts on the network segment 192.168.1.0/24, configure the following rules in ACL 2001 and set the description of ACL 2001 to "Permit only 192.168.1.3 through."
<HUAWEI> system-view
[HUAWEI] acl 2001
[HUAWEI-acl-basic-2001] rule permit source 192.168.1.3 0
[HUAWEI-acl-basic-2001] rule deny source 192.168.1.0 0.0.0.255
[HUAWEI-acl-basic-2001] description permit only 192.168.1.3 through

Related Information

Support Community

Videos

Configure ACL

Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 84098

Downloads: 12095

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