Class - Edge-Core ES3510MA Management Manual

8-port layer 2 fast ethernet switch
Hide thumbs Also See for ES3510MA:
Table of Contents

Advertisement

| Quality of Service Commands
C
36
HAPTER

class

C
U
OMMAND
SAGE
Use the policy-map command to specify the name of the policy map,
and then use the
class
matches the criteria defined in a class map.
A policy map can contain multiple class statements that can be applied
to the same interface with the
Create a Class Map
E
XAMPLE
This example creates a policy called "rd-policy," uses the
specify the previously defined "rd-class," uses the set command to classify
the service that incoming packets will receive, and then uses the
flow
command to limit the average bandwidth to 100,000 Kbps, the burst
rate to 4000 bytes, and configure the response to drop any violating
packets.
Console(config)#policy-map rd-policy
Console(config-pmap)#class rd-class
Console(config-pmap-c)#set cos 0
Console(config-pmap-c)#police flow 10000 4000 conform-action transmit
violate-action drop
Console(config-pmap-c)#
This command defines a traffic classification upon which a policy can act,
and enters Policy Map Class configuration mode. Use the no form to delete
a class map.
S
YNTAX
[no] class class-map-name
class-map-name - Name of the class map. (Range: 1-16 characters)
D
S
EFAULT
ETTING
None
C
M
OMMAND
ODE
Policy Map Configuration
C
U
OMMAND
SAGE
Use the
policy-map
Map configuration mode. Then use the class command to enter Policy
Map Class configuration mode. And finally, use the set command and
one of the police commands to specify the match criteria, where the:
set phb
command sets the per-hop behavior value in matching
packets. (This modifies packet priority for internal processing only.)
set cos
command sets the class of service value in matching
packets. (This modifies packet priority in the VLAN tag.)
– 836 –
command to configure policies for traffic that
service-policy
(page
835) before assigning it to a Policy Map.
command to specify a policy map and enter Policy
command.
class
command to
police

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents