660 QoS Commands
match dstip
Use the match dstip command in Class-Map Configuration mode to add a
match condition based on the destination IP address of a packet.
Syntax
match dstip
ipaddr
ipmask
•
ipaddr
— Specifies a valid IP address.
•
ipmask
— Specifies a valid IP address bit mask. Note that even though this
parameter is similar to a standard subnet mask, it does not need to be
contiguous.
Default Configuration
This command has no default configuration.
Command Mode
Class-Map Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example displays adding a match condition using the specified
IP address and bit mask.
console(config-classmap)#match dstip 10.240.1.1
10.240.0.0
match dstip6
The match dstip6 command adds a match condition based on the
destination IPv6 address of a packet.
Syntax
match dstip6
destination-ipv6-prefix/prefix-length
•
destination-ipv6-prefix
—IPv6 prefix in IPv6 global address format.
2CSPC4.X8100-SWUM102.book Page 660 Friday, March 15, 2013 8:56 AM