Page 281 / 400 Scroll up to view Page 276 - 280
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Quality of Service (QoS) Commands
11-19
202-10088-01, March 2005
The DiffServ CLI does not necessarily require that users associate only one traffic class to one
policy. In fact, multiple traffic classes can be associated with a single policy, each defining a
particular treatment for packets that match the class definition. When a packet satisfies the
conditions of more than one class, preference is based on the order in which the classes were added
to the policy, with the foremost class taking highest precedence.
This set of commands consists of policy creation/deletion, class addition/removal, and individual
policy attributes. Note that the only way to remove an individual policy attribute from a class
instance within a policy is to remove the class instance and re-add it to the policy. The values
associated with an existing policy attribute can be changed without removing the class instance.
The CLI command root is
policy-map
.
assign-queue
This command modifies the queue id to which the associated traffic stream is assigned. The
queueid is an integer from 0 to n-1, where n is the number of egress queues supported by the
device.
Format
assign-queue <queueid>
Mode
Policy-Class-Map Config
drop
This command specifies that all packets for the associated traffic stream are to be dropped at
ingress.
Format
drop
Mode
Policy-Class-Map Config
mark secondary-cos
This command marks all packets for the associated traffic stream with the specified secondary
class of service value (the inner 802.1Q tag of a double VLAN tagged packet) in the priority field
of the 802.1p header. If the packet does not already contain this header, one is inserted. The CoS
value is an integer from 0 to 7.
Format
mark secondary-cos <0-7>
Mode
Policy-Class-Map Config
Page 282 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
11-20
Quality of Service (QoS) Commands
202-10088-01, March 2005
redirect
This command specifies that all incoming packets for the associated traffic stream are redirected to
a specific egress interface (physical port or port-channel).
Format
redirect <slot/port>
Mode
Policy-Class-Map Config
conform-color
This command is used to enable color-aware traffic policing and define the conform-color and
exceed-color class maps used. Used in conjunction with the police command where the fields for
the conform level (for simple, single-rate, and two-rate policing) and optionally the exceed level
(for single-rate and two-rate policing) are specified. The <
class-map-name
> parameter is the
name of an existing Diffserv class map, where different ones must be used for the conform and
exceed colors.
Format
conform-color <class-map-name> [exceed-color <class-
map-name>]
Mode
Policy-Class-Map Config
bandwidth kbps
This command identifies a minimum amount of bandwidth to be reserved for the specified class
instance within the named policy using an absolute rate notation. The committed information rate
is specified in kilobits-per-second (Kbps) and is an integer from 1 to 4294967295.
Note:
The actual bandwidth allocation does not occur until the policy is attached to an interface in
a particular direction.
Note:
The bandwidth kbps and percent commands are alternative ways to specify the same
bandwidth policy attribute.
Format
bandwidth kbps <1-4294967295>
Mode
Policy-classmap Config
Restrictions
The sum of the committed information rate values for all band-
width and expedite commands defined within a policy must not
exceed the available link bandwidth of the interface to which that
policy is assigned. Violation of this requirement shall prevent
successful attachment of a policy to the interface, or shall cause
this command to fail if the policy is already in service on one or
more interfaces.
Policy Type
Out
Page 283 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Quality of Service (QoS) Commands
11-21
202-10088-01, March 2005
Incompatibilities
Expedite (all forms)
bandwidth percent
This command identifies a minimum amount of bandwidth to be reserved for the specified class
instance within the named policy using a relative rate notation. The committed information rate is
specified as a percentage of total link capacity and is an integer from 1 to 100.
Note:
The actual bandwidth allocation does not occur until the policy is attached to an interface in
a particular direction.
Note:
The bandwidth kbps and percent commands are alternative ways to specify the same
bandwidth policy attribute.
Format
bandwidth percent <1-100>
Mode
Policy-classmap Config
Restrictions
The sum of the committed information rate values for all band-
width and expedite commands defined within a policy must not
exceed the available link bandwidth of the interface to which that
policy is assigned. Violation of this requirement shall prevent
successful attachment of a policy to the interface, or shall cause
this command to fail if the policy is already in service on one or
more interfaces.
Policy Type
Out
Incompatibilities
Expedite (all forms)
class
This command creates an instance of a class definition within the specified policy for the purpose
of defining treatment of the traffic class through subsequent policy attribute statements. The
<
classname>
is the name of an existing DiffServ class. Note that this command causes the
specified policy to create a reference to the class definition.
Note:
The CLI mode is changed to Policy-classmap Config when this command is successfully
executed.
Format
class <classname>
Mode
Policy-Map Config
Page 284 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
11-22
Quality of Service (QoS) Commands
202-10088-01, March 2005
no class
This command deletes the instance of a particular class and its defined treatment from the
specified policy. <
classname>
is the names of an existing DiffServ class. Note that this command
removes the reference to the class definition for the specified policy.
Format
no class <classname>
Mode
Policy-Map Config
expedite kbps
This command identifies the maximum guaranteed amount of bandwidth to be reserved for the
specified class instance within the named policy using an absolute rate notation. The committed
information rate is specified in kilobits-per-second (Kbps) and is an integer from 1 to 4294967295.
The optional committed burst size is specified in kilobytes (KB) as an integer from 1 to 128, with
a default of 4.
Note:
The actual bandwidth allocation does not occur until the policy is attached to an interface in
a particular direction.
Note:
The expedite kbps and percent commands are alternative ways to specify the same expedite
policy attribute.
Format
expedite kbps <1-4294967295> [1-128]
Mode
Policy-classmap Config
Restrictions
The sum of the committed information rate values for all band-
width and expedite commands defined within a policy must not
exceed the available link bandwidth of the interface to which that
policy is assigned. Violation of this requirement shall prevent
successful attachment of a policy to the interface, or shall cause
this command to fail if the policy is already in service on one or
more interfaces.
Policy Type
Out
Incompatibilities
Bandwidth (all forms), Shape Peak
expedite percent
This command identifies the maximum guaranteed amount of bandwidth to be reserved for the
specified class instance within the named policy using a relative rate notation. The committed
information rate is specified as a percentage of total link capacity and is an integer from 1 to 100.
The optional committed burst size is specified in kilobytes (KB) as an integer from 1 to 128, with
a default of 4.
Page 285 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Quality of Service (QoS) Commands
11-23
202-10088-01, March 2005
Note:
The actual bandwidth allocation does not occur until the policy is attached to an interface in
a particular direction.
Note:
The expedite kbps and percent commands are alternative ways to specify the same expedite
policy attribute.
Format
expedite percent <1-100> [1-128]
Mode
Policy-classmap Config
Restrictions
The sum of the committed information rate values for all band-
width and expedite commands defined within a policy must not
exceed the available link bandwidth of the interface to which that
policy is assigned. Violation of this requirement shall prevent
successful attachment of a policy to the interface, or shall cause
this command to fail if the policy is already in service on one or
more interfaces.
Policy Type
Out
Incompatibilities
Bandwidth (all forms), Shape Peak
mark cos
This command marks all packets for the associated traffic stream with the specified class of
service value in the priority field of the 802.1p header. If the packet does not already contain this
header, one is inserted. The CoS value is an integer from 0 to 7.
Default
1
Format
mark-cos <0-7>
Mode
Policy-classmap Config
Policy Type
In
mark ip-dscp
This command marks all packets for the associated traffic stream with the specified IP DSCP
value.
The <dscpval> value is specified as either an integer from 0 to 63, or symbolically through one of
the following keywords:
af11, af12, af13, af21, af22, af23, af31, af32, af33, af41,
af42, af43, be, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, ef.
Format
mark ip-dscp <dscpval>
Mode
Policy-classmap Config

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top