Command Reference Guide

DiffServ Class Commands
CLI Command Reference
September 2014 Page 636
HP Moonshot Switch Module CLI Command Reference
match srcl4port
This command adds to the specified class definition a match condition based on the source layer 4 port of a
packet using a single keyword or numeric notation. To specify the match condition as a single keyword
notation, the value for
portkey is one of the supported port name keywords (listed below). The currently
supported
portkey values are: domain, echo, ftp, ftpdata, http, smtp, snmp, telnet, tftp, www. Each of these
translates into its equivalent port number, which is used as both the start and end of a port range.
To specify the match condition as a numeric value, one layer 4 port number is required. The port number is an
integer from 0 to 65535.
match vlan
This command adds to the specified class definition a match condition based on the value of the layer 2 VLAN
Identifier field (the only tag in a single tagged packet or the first or outer tag of a double VLAN tagged packet).
The VLAN ID is an integer from 0 to 4093.
match secondary-vlan
This command adds to the specified class definition a match condition based on the value of the layer 2
secondary VLAN Identifier field (the inner 802.1Q tag of a double VLAN tagged packet). The secondary VLAN
ID is an integer from 0 to 4093.
Default none
Format
match srcl4port {portkey | 0-65535}
Mode Class-Map Config
Ipv6-Class-Map Config
Default none
Format
match vlan 0-4093
Mode Class-Map Config
Ipv6-Class-Map Config
Default none
Format
match secondary-vlan 0-4093
Mode Class-Map Config
Ipv6-Class-Map Config