Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 541

Network OS NETCONF Operations Guide
509
53-1003231-02
Configuring and activating an IP route policy
32
<target>
<running/>
</target>
<config>
<ip xmlns="urn:brocade.com:mgmt:brocade-common-def">
<hide-prefix-holder
xmlns="urn:brocade.com:mgmt:brocade-ip-policy>
<prefix-list>
<name>pretest</name>
<instance>2</instance>
<action-ipp>permit</action-ipp>
<prefix-ipp>1.1.0.0/24</prefix-ipp>
</prefix-list>
</hide-prefix-holder>
</ip>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="913"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
b. Create the route map instance.
The following example provides a route-map that permits routes allowed by the prefix list
named pretest.
<rpc message-id="913" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<hide-routemap-holder
xmlns="urn:brocade.com:mgmt:brocade-ip-policy>
<route-map>
<name>test</name>
<action-rm>permit</action-rm>
<instance>1</instance>
<content>
<match>
<ip>
<next-hop>
<prefix-list-rmm-n>pre-test
</prefix-list-rmm-n>
</next-hop>
</ip>
</match>
</content>
</route-map>
</hide-routemap-holder>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="913"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>