Layer 2 Switching Commands
698
User Guidelines
The simple form of the police command uses a single data rate and burst size,
resulting in two outcomes: conform and violate. Conforming packets are
colored green and non-conforming packets are colored red for use by the
WRED mechanism. Only one style of police command (simple, single-rate or
two-rate) is allowed for a given class instance in a particular policy. The
command can be used to pre-color packets prior to policing.
Packets pre-colored red are not re-colored by the policer.
Example
The following example configures a single rate ingress meter with packets
received at a rate below 1000 Kbps and 4096 byte burst size are transmitted
and packets above that rate are dropped. The transmitted packets are colored
green should the operator desire to configure a WRED drop policy.
console(config-policy-classmap)#police-simple 1000 64 conform-action
transmit violate-action drop
police-single-rate
Use the
police-single-rate
command to implement a single-rate Three Color
Market (srTCM) per RFC 2697.
NOTE:
This command is not available on the N1500 Series switches.
Syntax
police-single-rate
datarate burstsize excess-burstsize
conform-action
action
exceed-action
action
violate-action
action
• datarate—Data rate in kilobits per second (Kbps). (Range 1-4294967295)
• burstsize—Burst size in kilobits per seconds (Kbps). (Range 1-128)
• excess-burstsize—Excess burst size in kilobits per seconds (Kbps). (Range
1-128)
• action—The action to take according to the color. Select one:
–
drop
: Drop the packet.
–
set-prec-transmit
ip-prec: Remark the IP precedence in the packet to
ip-prec and transmit. (Range 0-7)
Summary of Contents for N1100-ON
Page 2: ......
Page 4: ......
Page 258: ...Using the CLI 258 ...
Page 488: ...Layer 2 Switching Commands 488 Operational State Querier Operational version 1 ...
Page 656: ...Layer 2 Switching Commands 656 10 ...
Page 1128: ...Audio Visual Bridging Commands 1128 ...
Page 1186: ...Data Center Technology Commands 1186 ...
Page 1435: ...Layer 3 Routing Commands 1435 Number of Joins 7 Number of Groups 1 ...
Page 2330: ......
Page 2331: ...www dell com support dell com Printed in the U S A ...
Page 2332: ......