1 # ident "%Z%%M% %I% %E% SMI"
3 # Copyright 2005 Sun Microsystems, Inc. All rights reserved.
4 # Use is subject to license terms.
8 # The contents of this file are subject to the terms of the
9 # Common Development and Distribution License, Version 1.0 only
10 # (the "License"). You may not use this file except in compliance
13 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 # or http://www.opensolaris.org/os/licensing.
15 # See the License for the specific language governing permissions
16 # and limitations under the License.
18 # When distributing Covered Code, include this CDDL HEADER in each
19 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 # If applicable, add the following below this CDDL HEADER, with the
21 # fields enclosed by brackets "[]" replaced with your own identifying
22 # information: Portions Copyright [yyyy] [name of copyright owner]
27 # Mandatory file format version identifier.
30 # Meter traffic from application (identified by source port myport) to
31 # somehost.somedomain, where somehost.somedomain is a valid hostname/IP address.
32 # Mark a packet with AF11 if it does not exceed the committed burst, AF12 if it
33 # exceeds committed burst, but not excess burst and AF13 if it exceeds the
35 # For information on AF PHBs refer to the IPQoS Administration Guide or the
38 # Before this example configuration file can be applied the sport and daddr
39 # parameter values in the ipgpc filter myfilter need to be given actual values.
43 # Name must be ipgpc.classify for ipgpc action.
50 daddr somehost.somedomain
54 next_action meter5mbps
62 # meter5mbps invokes action af11 for a packet that does not exceed the
63 # committed burst, af12 if it exceeds committed burst, but not excess burst
64 # and af13 if it exceeds excess burst.
69 # Committed rate of 5 Mbps.
70 committed_rate 5000000
71 # Committed burst of 5 Mb.
72 committed_burst 5000000
73 # Excess Burst of 10 Mb.
75 # Action global stats enabled.
77 # RED action, mark DSCP with AF13.
79 # YELLOW action, mark DSCP with AF12.
80 yellow_action_name af12
81 # GREEN action, mark DSCP with AF13.
82 green_action_name af11
88 # Mark the DSCP with code point AF13, 001110 = 14.
93 # Enable global stats for action.
95 next_action acct_classaf1
96 # Set all 64 entries of dscp_map to 14 decimal.
101 # Mark the DSCP with code point AF12, 001100 = 12.
107 next_action acct_classaf1
112 # Mark the DSCP with code point AF11, 001010 = 10.
118 next_action acct_classaf1
123 # Account packets for class AF1* (AF11, AF12 and AF13).
130 # Timeout flows if packets not seen for at least 60 secs.
132 # Scan the flow table every 15 secs for removing timed out flows.
134 # Limit number of flow records in the table to 2K.