beautypg.com

Binding the policy map to an interface – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 498

background image

466

Network OS NETCONF Operations Guide

53-1003231-02

Port-based Policier

29

pmap1

default

3000

Binding the policy map to an interface

To associate a policy map to an interface and apply policing parameters, perform the following
steps.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-interface workspace.

2. Under the node, include the , ,

, , or node.

3. Under the , , , or

node, include the leaf element and specify the interface in
[rbridge-id/]slot/port format to identify the interface you want to configure.

4. Under the , , , or

node, include the leaf element, and include the delete
operation in the element tag to enable the interface.

5. Under the , , , or

node, include the node element located in the
urn:brocade.com:mgmt:brocade-policer namespace.

6. Under the node, include the following leaf elements:

a. In the leaf element, specify the name of the policy map to bind to the interface for

ingress traffic.

b. In the leaf element, specify the name of the policy to bind to the interface for egress

traffic.

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

The following example binds policymap1 to both ingress and egress traffic on 10 Gb Ethernet
interface 22/0/1.