class
OVERVIEW
Category:
config
Primary context:
Related Commands
Usage:
[no] class <address-family> <name>
Description: Create a classifier class and enter the class context.
Parameters are address family(ipv4 or ipv6) and class name.
COMMAND STRUCTURE
■
[no] class
-- Enter ipv4 class name (ASCII-STR)
■
[no] class
-- Enter ipv6 class name (ASCII-STR)
■
class
-- Renumber the entries in the class.
■
-- Enter ipv4 class name (ASCII-STR)
■
< 1 to 2147483647 > -- Specify the starting sequence number.
■
< 1 to 2147483646 > -- Specify the increment.
■
-- Enter ipv6 class name (ASCII-STR)
■
< 1 to 2147483647 > -- Specify the starting sequence number.
■
< 1 to 2147483646 > -- Specify the increment.
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
79
©
2009 Hewlett-Packard Development Company, L.P.
Summary of Contents for 6200YL
Page 2: ......
Page 16: ...Introduction 14 2009 Hewlett Packard Development Company L P ...
Page 22: ...Commands 20 2009 Hewlett Packard Development Company L P ...
Page 764: ......