A SERVICE OF

logo

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