Command Reference Guide

DiffServ Class Commands
CLI Command Reference
September 2014 Page 632
HP Moonshot Switch Module CLI Command Reference
match secondary-cos
This command adds to the specified class definition a match condition for the secondary Class of Service value
(the inner 802.1Q tag of a double VLAN tagged packet). The value may be from 0 to 7.
match destination-address mac
This command adds to the specified class definition a match condition based on the destination MAC address
of a packet. The
macaddr parameter is any layer 2 MAC address formatted as six, two-digit hexadecimal
numbers separated by colons (e.g., 00:11:22:dd:ee:ff). The
macmask parameter is a layer 2 MAC address bit
mask, which need not be contiguous, and is formatted as six, two-digit hexadecimal numbers separated by
colons (e.g., ff:07:23:ff:fe:dc).
match dstip
This command adds to the specified class definition a match condition based on the destination IP address of
a packet. The
ipaddr parameter specifies an IP address. The ipmask parameter specifies an IP address bit mask
and must consist of a contiguous set of leading 1 bits.
match dstip6
This command adds to the specified class definition a match condition based on the destination IPv6 address
of a packet.
Default none
Format
match secondary-cos 0-7
Mode Class-Map Config
Ipv6-Class-Map Config
Default none
Format
match destination-address mac macaddr macmask
Mode Class-Map Config
Ipv6-Class-Map Config
Default none
Format
match dstip ipaddr ipmask
Mode Class-Map Config
Default none
Format
match dstip6 destination-ipv6-prefix/prefix-length
Mode Ipv6-Class-Map Config