OVERVIEW
Category:
Primary context:
Related Commands
Usage:
[no] class <address-family> <name>
Description: Create a classifier class and enter the class context.
COMMAND STRUCTURE
■ [no] class
ipv4
■ [no] class
ipv6
■ class
resequence
ipv4
-- Enter ipv4 class name (ASCII-STR)
■
start-seq-num
■
incr-num
■
ipv6
-- Enter ipv6 class name (ASCII-STR)
■
start-seq-num
■
incr-num
■
EXAMPLES
Example: class
AdminTraffic" selects the administrative traffic sent to, and received from, the IPv4 address of an
administrator's PC:
ProCurve(config)# class ipv4 AdminTraffic
ProCurve(class-config)# match ip 15.29.16.1/10 any
ProCurve(class-config)# match ip any 15.29.16.1/10
ProCurve(class-config)# exit
Example: class
http" selects HTTP traffic sent to TCP ports 80, 443, and 8080, and excludes HTTP traffic sent to, and
received from, TCP port 1214:
ProCurve(config)# class ipv4 http
ProCurve(class-config)# match tcp any any eq 80
ProCurve(class-config)# match tcp any any eq 443
ProCurve(class-config)# match tcp any any eq 8080
ProCurve(class-config)# ignore tcp any eq 1214 any
ProCurve(class-config)# ignore tcp any any eq 1214
ProCurve(class-config)# exit
COMMAND DETAILS
incr-num (p. 80)
ipv4 (p. 80)
© 2009 Hewlett-Packard Development Company, L.P.
config
policy (page 398)
Parameters are address family(ipv4 or ipv6) and class name.
-- Enter ipv4 class name (ASCII-STR)
-- Enter ipv6 class name (ASCII-STR)
-- Renumber the entries in the class.
< 1 to 2147483647 > -- Specify the starting sequence number.
< 1 to 2147483646 > -- Specify the increment.
< 1 to 2147483647 > -- Specify the starting sequence number.
< 1 to 2147483646 > -- Specify the increment.
ipv6 (p. 80)
resequence (p. 80)
(p. 80)
(p. 80)
(p. 80)
(p. 80)
(p. 80)
(p. 80)
(p. 80)
start-seq-num (p. 80)
class
(p. 80)
(p. 80)
79