beautypg.com

Configuring the policy map – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 496

background image

464

Network OS NETCONF Operations Guide

53-1003231-02

Port-based Policier

29

Configuring the policy map

A policy map can contain multiple classification maps. Configure a policy map to associate QoS and
policing parameters to traffic belonging to these classification maps. You can apply only one policy
map per interface per direction (ingress and egress).

To configure a policy map, add a class map, and configure QoS and policing parameters for the
class map, perform the following steps. For a complete description of all the policy map attributes,
refer to the brocade-policer YANG module and the Network OS Administrator’s Guide.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-policer namespace.

2. Under the node, include the leaf element and specify a name for the

policy map.

The name for the policy map must be a character string up to 64 characters.

To delete a policy map, include the delete operation in the element tag.

3. Under the node, include a node element for each policy map you want

to configure.

4. Under the node, include the node and specify a name for the class.

Note that the class map name in the following example matches the name provided when you
create the class map (refer to

“Configuring a class map”

on page 461).

5. Under the node, configure the QoS and policing attributes for the class map using the

following leaf node elements:

a. In the element, specify the committed information rate (CIR).

b. In the element, specify the committed burst size (CBS).

c. In the element, specify the exceeded information rate (EIR).

d. In the element, specify the exceeded burst size (EBS).

e. In the element, specify the police priority map name.

f.

In the element, specify the DSCP priority for conforming traffic.

g. In the element, specify the IP precedence value for conforming traffic.

h. In the element, specify the traffic class value for conforming traffic.

i.

In the element, specify the DCSP priority for exceeded traffic.

j.

In the element, specify the IP precedence value for exceeded traffic.

k. In the element, specify the traffic class value for exceeded traffic.

To delete any parameter include the delete operation in the element tag.

6. Issue the RPC to save the running-config file to the startup-config file.