1-11
Configuration procedure
Table 1-8
Apply an ACL to a port
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Apply an ACL to the port
packet-filter
inbound
acl-rule
Required
For description on the
acl-rule
argument, refer to
ACL
Command
.
You cannot assign an ACL to a member port of a port group.
Configuration example
# Apply ACL 2000 to GigabitEthernet 1/0/1 to filter the inbound packets.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] packet-filter inbound ip-group 2000
Displaying ACL Configuration
After the above configuration, you can execute the
display
commands in any view to view the ACL
running information and verify the configuration.
Table 1-9
Display ACL configuration
Operation
Command
Description
Display a configured ACL or
all the ACLs
display
acl
{
all
|
acl-number
}
Display a time range or all
the time ranges
display
time-range
{
all
|
time-name
}
Display the information
about packet filtering
display packet-filter
{
global | interface
interface-type interface-number | port-group
[
group-id
]
|
unitid unit-id | vlan
[
vlan-id
]
}
Display the information
about remaining ACL
resources
display acl remaining entry
In any view.
Содержание Switch 4800G PWR 24-Port
Страница 165: ...1 8 4 mac address es found on port GigabitEthernet1 0 2 ...
Страница 214: ...ii Displaying and Maintaining System Guard 4 1 ...
Страница 445: ...ii ...
Страница 727: ...i Table of Contents Appendix A Acronyms A 1 ...
Страница 730: ...A 3 VOD Video On Demand W WRR Weighted Round Robin X XID eXchange Identification XRN eXpandable Resilient Networking ...