11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>spolicepoliceUse the police policy-map class configuration comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>alone switchto define a policer for classified traffic. A policer defines a maximum permissible rate of transmission,a maximum burst size for transmissions, <strong>and</strong> an action to take if either maximum is exceeded. Use theno form of this comm<strong>and</strong> to remove an existing policer.police rate-bps burst-byte [exceed-action {drop | policed-dscp-transmit}]no police rate-bps burst-byte [exceed-action {drop | policed-dscp-transmit}]Syntax Descriptionrate-bps Specify the average traffic rate in bits per second (b/s). The range is 1000000to 1000000000.burst-byte Specify the normal burst size in bytes. The range is 8000 to 1000000.exceed-action dropexceed-actionpoliced-dscp-transmit(Optional) When the specified rate is exceeded, specify that the switch dropthe packet.(Optional) When the specified rate is exceeded, specify that the switchchanges the Differentiated Services Code Point (DSCP) of the packet to thatspecified in the policed-DSCP map <strong>and</strong> then sends the packet.DefaultsNo policers are defined.Comm<strong>and</strong> ModesPolicy-map class configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesWhen configuring hierarchical policy maps, you can only use the police policy-map comm<strong>and</strong> in asecondary interface-level policy map.The port ASIC device, which controls more than one physical port, supports 256 policers on the switch(255 user-configurable policers plus 1 policer reserved for internal use). The maximum number ofconfigurable policers supported per port is 63. Policers are allocated on dem<strong>and</strong> by the software <strong>and</strong> areconstrained by the hardware <strong>and</strong> ASIC boundaries. You cannot reserve policers per port. There is noguarantee that a port will be assigned to any policer.To return to policy-map configuration mode, use the exit comm<strong>and</strong>. To return to privileged EXEC mode,use the end comm<strong>and</strong>.Policing uses a token-bucket algorithm. You configure the bucket depth (the maximum burst that istolerated before the bucket overflows) by using the burst-byte option of the police policy-map classconfiguration comm<strong>and</strong> or the mls qos aggregate-policer global configuration comm<strong>and</strong>. You configurehow quickly (the average rate) the tokens are removed from the bucket by using the rate-bps option ofthe police policy-map class configuration comm<strong>and</strong> or the mls qos aggregate-policer globalconfiguration comm<strong>and</strong>. For more information, see the software configuration guide for this release.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-427

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!