Cisco Cisco Packet Data Interworking Function (PDIF)
Subscriber Configuration Mode Commands
▀ qos traffic-police
▄ Command Line Interface Reference, StarOS Release 16
8618
exceed-action
{
drop
|
lower-ip-precedence
|
transmit
}
Default: lower-ip-precedence
Specifies the action to take on packets that exceed the committed-data-rate but do not violate the peak-data-
rate. The following actions are supported:
Specifies the action to take on packets that exceed the committed-data-rate but do not violate the peak-data-
rate. The following actions are supported:
drop
: Drops the packet
lower-ip-precedence
: Transmits the packet after lowering the ip-precedence
transmit
: Transmits the packet
peak-data-rate
bps
Default: 256000
Specifies the peak data-rate for the subscriber in bits per second (bps).
Specifies the peak data-rate for the subscriber in bits per second (bps).
bps
must be an integer from 0 through 4294967295).
violate-action
{
drop
|
lower-ip-precedence
|
transmit
}
Default: drop
Specifies the action to take on packets that exceed both the committed-data-rate and the peak-data-rate. The
following actions are supported:
Specifies the action to take on packets that exceed both the committed-data-rate and the peak-data-rate. The
following actions are supported:
drop
: Drops the packet
lower-ip-precedence
: Transmits the packet after lowering the IP precedence
transmit
: Transmits the packet
no
Disables traffic policing in the specified direction for the current subscriber.
Usage
Use this command to limit the bandwidth a subscriber uses in the uplink and downlink directions.
Important:
If the exceed/violate action is set to “lower-ip-precedence”, the TOS value for the outer packet
becomes “best effort” for packets that exceed/violate the traffic limits regardless of what the
ip user-datagram-tos
copy
command is configured to. In addition, the “lower-ip-precedence” option may also override the configuration of
the
ip qos-dscp
command. Therefore, it is recommended that command not be used when specifying this option.
Details on the QoS traffic policing can be found in the System Administration Guide.
Example
The following command sets an uplink peak data rate of
128000
bps and lowers the IP precedence when the
committed-data-rate and the peak-data-rate are exceeded:
qos traffic-police direction uplink peak-data-rate 128000 violate-action
lower-ip-precedence
lower-ip-precedence
The following command sets a downlink peak data rate of
256000
bps and drops packets when the
committed-data-rate and the peak-data-rate are exceeded:
qos traffic-police direction downlink peak-data-rate 256000 violate-
action drop
action drop