Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Chapter 1 ACL Commands
Huawei Technologies Proprietary
1-11
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] flow-template user-defined slot 3 sip 0.0.0.0 dip 0.0.0.0 sport dport
dscp
1.1.9 packet-filter
Syntax
I. Command Format Which Only Applies IP Group ACL
In Ethernet port view:
packet-filter
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
[
system-index
index
] ]
undo
packet-filter
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
]
In VLAN view:
packet-filter
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
] [
system-index
index
]
slot
slotid
undo
packet-filter
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
]
slot
slotid
II. Command Format Which Applies IP Group and Link Group ACL at Same
time
In Ethernet port view:
packet-filter
inbound
ip-group
{
acl-number
|
acl-name
} {
rule rule link-group
{
acl-number
|
acl-name
} [
rule rule
[
system-index
index
]
] |
link-group
{
acl-number
|
acl-name
}
rule rule
}
undo
packet-filter
inbound
ip-group
{
acl-number
|
acl-name
} {
rule rule link-group
{
acl-number
|
acl-name
} [
rule rule
] |
link-group
{
acl-number
|
acl-name
}
rule rule
}
III. Command Format Which Only Applies Link Group ACL
In Ethernet port view:
packet-filter
inbound
link-group
{
acl-number
|
acl-name
} [
rule rule
[
system-index
index
]
]
undo
packet-filter
inbound
link-group
{
acl-number
|
acl-name
} [
rule rule
]
View
Ethernet port view, VLAN view
Parameter
inbound
: Performs filtering to the packets received by the interface.