summaryrefslogtreecommitdiff
path: root/usr/src/man/man4ipp/ipqos.4ipp
blob: b533697e0a2804ffb9dece9dfa1ad6df0e78441d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
'\" te
.\"  Copyright (c) 2002, Sun Microsystems Inc.
.\"  All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH IPQOS 4IPP "Feb 25, 2002"
.SH NAME
ipqos \- IP Quality of Service
.SH DESCRIPTION
.sp
.LP
\fBipqos\fR is an implementation of the Differentiated Services model defined
in \fIRFC2475: An Architecture for Differentiated Services\fR, which defines
the following entities: multi-field classifier, meter, marker, and dropper. The
Solaris implementation of \fBipqos\fR adds a flow accounting entity.
.sp
.LP
These entities can be combined into processing paths that constitute a series
of actions that are performed on groups of flows. The classifier groups
together flows and directs them in a given processing path. Classifier
configuration and path construction are achieved using the \fBipqosconf\fR(8)
command.
.sp
.LP
A summary of the \fBipqos\fR entities follows. For more information, refer to
the corresponding man page for each entity.
.sp
.ne 2
.na
\fBipgpc\fR
.ad
.RS 21n
An implementation of the classifier defined in the model. \fBipgpc\fR has been
extended and is able to select traffic based on IP header parameters, user id,
project id, interface name, interface group and direction.
.RE

.sp
.ne 2
.na
\fBtokenmt, tswtclmt\fR
.ad
.RS 21n
These modules implement different metering algorithms. \fBtokenmt\fR implements
both \fIRFC2697: A Single Rate Three Color Marker \fR and \fIRFC 2698: A Two
Rate Three Color Marker\fR. \fItswtclmt\fR implements \fIRFC2859: A Time
Sliding Window Three Color Marker\fR. These modules only implement the metering
functions defined in the RFCs.
.RE

.sp
.ne 2
.na
\fBdlcosmk\fR
.ad
.RS 21n
A marker entity that allows the setting of the user priority field of Ethernet
frames as defined in the \fIIEEE 802.1D\fR specification. \fBdlcosmk\fR is only
available with VLAN capable       network interfaces.
.RE

.sp
.ne 2
.na
\fBdscpmk\fR
.ad
.RS 21n
A marker entity that enables the setting of the Differentiated Services Code
Point Value in the IP header as defined in \fIRFC 2474: Definition of the
Differentiated Services Field (DS Field)\fR in the IPv4 and IPv6 headers.
.RE

.sp
.ne 2
.na
\fBflowacct\fR
.ad
.RS 21n
An accounting module that utilizes the Solaris extended accounting facility.
\fBflowacct\fR logs all flows with parameters used to build a charge back
mechanism.
.RE

.SH STATISTICS
.sp
.LP
\fBipqos\fR modules export statistics through the \fBkstat\fR facility.
Exported statistics contain the following common parameters:
.sp
.ne 2
.na
\fBmodule\fR
.ad
.RS 12n
module name
.RE

.sp
.ne 2
.na
\fBinstance\fR
.ad
.RS 12n
dynamic parameter identifying a specific instance
.RE

.sp
.ne 2
.na
\fBname\fR
.ad
.RS 12n
a string  for global statistics (for example, ipgpc global stat) or a class
name for per-class statistics for a classifier action
.RE

.sp
.LP
To verify classifier configuration, generate traffic for each of the configured
classes and check that the statistic counters for the expected class are
increased. If you're unsure about the parameters for your traffic, you can use
\fBsnoop\fR(8) to determine them.
.sp
.LP
Some actions have the instance id of the next configured action in their
statistics. This instance id can be used to follow the action processing path.
Instance id's -1 and -2 are the built-in actions continue and drop,
respectively.
.sp
.LP
Examples:
.sp
.LP
To retrieve all statistics for ipgpc:
.sp
.LP
 \fBkstat -m ipgpc\fR
.sp
.LP
To retrieve statistics for the class http:
.sp
.LP
 \fBkstat -m ipgpc -c http\fR
.SH SEE ALSO
.sp
.LP
.BR dlcosmk (4IPP),
.BR dscpmk (4IPP),
.BR flowacct (4IPP),
.BR ipgpc (4IPP),
.BR tokenmt (4IPP),
.BR tswtclmt (4IPP),
.BR ipqosconf (8)
.sp
.LP
\fIRFC 2475, An Architecture for Differentiated Services\fR S. Blake, D. Black,
M. Carlson, E. Davies, Z. Wang, W. Weiss \(em The Internet Society, 1998
.sp
.LP
\fIRFC 2474, Definition of the Differentiated Services Field (DS Field) in the
IPv4 and IPv6 Headers\fR K. Nichols, S. Blake, F. Baker, D. Black \(em The
Internet Society, 1998
.sp
.LP
\fIRFC 2697, A Single Rate Three Color Marker\fR J. Heinanen, R. Guerin \(em
The Internet Society, 1999
.sp
.LP
\fIRFC 2698, A Two Rate Three Color Marker\fR J. Heinanen, R. Guerin \(em The
Internet Society, 1999
.sp
.LP
\fIRFC 2859, A Time Sliding Window Three Colour Marker (TSWTCM)\fR W. Fang, N.
Seddigh, B. Nandy \(em The Internet Society, 2000