beautypg.com

Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 539

background image

Network OS NETCONF Operations Guide

507

53-1003231-02

Configuring a route map

32

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-ip-policy namespace.

2. Under the node, include a node element for each

instance of the route map.

3. Under the node, include the following elements.

a. In the element, specify the route map name.

b. In the element, specify “permit” or “deny”.

c. In the element, specify the instance ID.

d. Specify the / hierarchy of node elements.

4. Under the node, specify one of the following:

An node element, containing a leaf element that defines the interface
next-hop interface to be used for matching. For example:

0/1

/ node elements, containing a leaf element that specifies an IP prefix list
to be used for next-hop matching. For example:

pre-test

The following example configures a route-map named test that comprises two instances; instance
1 denies entry for any routes whose next-hop interface is te 0/1, and instance 2 allows entry for
routes whose next-hop matches the IP subnets specified in the prefix-list pre-test (not shown).
Additionally, each matched route has its tag set to 5000.

test

deny

1

0/1

test

permit

2