Optional Icmp Match Criteria - HP 3500 Series Advanced Traffic Management Manual

Switch software
Hide thumbs Also See for 3500 Series:
Table of Contents
Classifier-Based Software Configuration
Traffic Classes
8-14
Example. Figure 8-3 shows an example of two class configurations:
"AdminTraffic" selects the administrative traffic sent to, and received
from, the IPv4 address of an administrator's PC.
"http" selects HTTP traffic sent to TCP ports 80, 443, and 8080, and
excludes HTTP traffic sent to, and received from, TCP port 1214.
HP Switch(config)# class ipv4 AdminTraffic
HP Switch(config-class)# match ip 15.29.16.1/10 any
HP Switch(config-class)# match ip any 15.29.16.1/10
HP Switch(config-class)# exit
HP Switch(config)# class ipv4 http
HP Switch(config-class)# match tcp any any eq 80
HP Switch(config-class)# match tcp any any eq 443
HP Switch(config-class)# match tcp any any eq 8080
HP Switch(config-class)# ignore tcp any eq 1214 any
HP Switch(config-class)# ignore tcp any any eq 1214
HP Switch(config-class)# exit
Figure 8-3. Example of a Class Configuration

Optional ICMP Match Criteria

To more precisely define the ICMP packets that you want to match in an IPv4
or IPv6 traffic class, use the optional parameter settings described in this
section. For example, instead of matching or ignoring all ICMP traffic, you can
configure a class that matches only a specific ICMP packet type by entering
its numeric value.
Context: Class configuration
Syntax:
[no] [seq-number] < match | ignore > icmp
< source-address > < destination-address >
[ icmp-type-number | icmpv4-type-name | icmpv6-type-name ]
[ ip-dscp codepoint ] [ precedence precedence-value ]
[ tos tos-value ] [ vlan vlan-id ]
If you enter icmp as the IP protocol type in a match/ignore
statement, you can optionally specify an ICMP packet type
to more precisely define match criteria for a traffic class.
Enter the optional ICMP match criteria immediately after
the destination address (DA) value in the command syn-
tax; for example:
HP Switch(config-class)# match icmp any any host-
unknown
HP Switch(config-class)# match icmp any any 3 7
Table of Contents
loading

Table of Contents