UMN:CLI
User Manual
V8102
136
To configure one or more packet filter match pattern(s), use the following command.
Command
Mode
Description
match vid
<1-4094>
[
tag-position
<1-8>]
SP-Filter
Classifies a VLAN ID.
VLAN: VLAN ID
match cos
<0-7>
Classifies a queue of CPU RX/TX packets.
0-7: CoS queue number
match interface
{
management
|
vlan VLANS
|
loopback
|
giga-
bitethernet IFPORT
|
tengiga-
bitethernet
IFPORT
|
gpon
IFPORT
|
channelgroup GROUP
}
Classifies an interface.
match 802dot1q tpid
{ - |
TPID
}
pcp
{ - |
<0-7>
}
vid
{ - |
<1-
4094>
} [
tag-position
<1-8>]
Classifies an 802.1q tag.
tpid: tag protocol ID
TPID: tag protocol ID (ex: 8100)
pcp: priority code point
tag-position: VLAN tag position
-: any
match offset
<0-127>
data HEX
[{
desc DESC
|
mask MASK
[
desc DESC
]}]
Classifies an offset.
0-127: begin position, max 127 bytes
HEX: hex value (ex: ffaa, up to 16 bytes)
MASK: hex value (ex: f0f0)
DESC: description up to 16 bytes
match offset
<0-127>
length
<1-
16>
data HEX
[
mask MASK
]
match ethertype
{
ip
|
arp
|
ETHERTYPE
}
Classifies a protocol based VLAN Ethernet type.
ETHERTYPE: selects Ethernet type (hex digit: 0806)
match protocol
{
icmp
|
igmp
[
reportv2
|
reportv1
|
leave
|
query
]}
Classifies an IGMP/ICMP packet.
Match protocol
{
tcp
|
udp
}
[{
srcport
PORT
|
dstport PORT
}]
Classifies an TCP/UDP packet.
To delete the configured slow path filter match pattern(s), use the following command.
Command
Mode
Description
no match vid
<1-4094>
[
tag-position
<1-8>]
SP-Filter
Deletes a specified packet-classifying
pattern for each option.
No
match cos
<0-7>
no
match interface
{
management
|
vlan VLANS
|
loopback
|
gigabitethernet IFPORT
|
tengiga-
bitethernet IFPORT
|
gpon IFPORT
|
chan-
nelgroup GROUP
}
no
match 802dot1q tpid
{ - |
TPID
}
pcp
{ - |
<0-
7>
}
vid
{ - |
<1-4094>} [
tag-position
<1-8>]
no
match offset
<0-127>
data HEX
[
mask
MASK
]
no match ethertype
{
ip
|
arp
|
ETHERTYPE
}