User Manual
UMN:CLI
V8102
137
Command
Mode
Description
no match protocol
{
icmp
|
igmp
}
no match protocol
{
tcp
|
udp
} [{
srcport
PORT
|
dstport PORT
}]
To specify the action policy of slowpath packet filter for the packets matching the config-
ured match patterns, use the following command.
Command
Mode
Description
action
{
permit
|
drop
}
SP-Filter
Specifies a drop or permit statement of the CPU packet
filter with the configured match pattern.
permit: permits the traffic of entries
drop: discards the traffic of entries
action
{
802dot1q
|
802dot1q-
attach
}
tpid
{ - |
TPID
}
pcp
{ - |
<0-7>
}
vid
{ - |
<1-4094>
} [
tag-
position
<1-8>]
Configures the action to be taken according to the
802.1q tag.
802dot1q: translates 802.1q tag
802dot1q-attach: attaches 802.1q tag
802dot1q-detach: detaches 802.1q tag
tpid: tag protocol ID
TPID: tag protocol ID (ex: 8100)
pcp: priority code point
VLAN: VLAN ID, 1 to 4094
tag-position: VLAN tag position
-: any
action
802dot1q-detach
[
tag-
position
<1-8>]
action rate-limit
<1-1000>
burst-
size
<1-1000>
Sets the bandwidth for classified packets belonging to
specified CPU packet filter
1-1000: permits the number of packets per second
1-1000: size that can be store token
If two or more created slow packet filters match the same packet then the filter having a
higher priority will be processed first. To specify a priority of the slow packet filter, use the
following command.
Command
Mode
Description
priority
<1-65535>
SP-Filter
Sets the priority for the slowpath packet filter.
1-65535: value of priority
To choose the direction of packets to be applied by the configured slowpath packet filter,
use the following command.
Command
Mode
Description
stage
{
cpu-tx
|
cpu-rx
|
vid-
assigned
}
SP-Filter
Selects a type of slowpath packets to be applied by the
user-defined filtering policy.
cpu-tx: filtering for outgoing packets from CPU
cpu-rx: filtering for incoming packets to CPU
vid-assigned: filtering for the incoming packets after
matching VLAN ID assigned