
1-10
# Apply rule 1 of Layer 2 ACL 4000 on all ports in VLAN 20 to filter outbound packets. Here, it is
assumed that the ACL and its rule numbered 1 and the VLAN are already configured.
[Sysname] packet-filter vlan 20 outbound link-group 4000 rule 1
# Apply rule 2 of user-defined ACL 5000 on all ports in VLAN 30 to filter inbound packets. Here, it is
assumed that the ACL and its rule numbered 2 and the VLAN are already configured.
[Sysname] packet-filter vlan 30 inbound user-group 5000 rule 2
# Apply rule 1 of advanced ACL 3000 and rule 2 of Layer 2 ACL 4000 on all ports in VLAN 40 to filter
inbound packets. Here, it is assumed that the ACLs and their rules and the VLAN are already
configured.
[Sysname] packet-filter vlan 40 inbound ip-group 3000 rule 1 link-group 4000 rule 2
After completing the above configuration, you can use the
display packet-filter
command to view
information about packet filtering.
rule (for Basic ACLs)
Syntax
rule
[
rule-id
] {
deny
|
permit
} [
rule-string
]
undo
rule
rule-id
[
fragment
|
source
|
time-range
]*
View
Basic ACL view
Parameters
Parameters of the rule command
rule-id
: ACL rule ID, in the range of 0 to 65534.
deny
: Drops the matched packets.
permit
: Permits the matched packets.
rule-string
: ACL rule information, which can be a combination of the parameters described in
Table 1-6
.
Содержание 5500-EI Series
Страница 43: ...2 6 ...
Страница 76: ...1 17 ...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46 ...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast ...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 519: ...iii ...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain ...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static ...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2 ...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008 ...
Страница 1111: ...ii xmodem get 3 18 ...
Страница 1314: ...A 44 Z ...