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

Network OS NETCONF Operations Guide
555
53-1003231-02
Configuring VRF
36
<vrf-name>orange</vrf-name>
<route-distiniguisher>19:1</route-distiniguisher>
<address-family>
<ipv4>
<max-route>399</max-route>
</ipv4>
</address-family>
<ip>
<vrf-router-id>11.1.1.1</vrf-router-id>
</ip>
</vrf>
</rbridge-id>
<rpc-reply message-id="2600" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
2. Configure VRF on the interface.
NOTE
Once VRF is configured on an interface, all Layer 3 configurations on the interface are
removed, and you must configure them again.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2607" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<rbridge-id xmlns xmlns="urn:brocade.com:mgmt:brocade-rbridge">
<rbridge-id>1</rbridge-id>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<ve>
<name>128</name>
<vrf xmlns="urn:brocade.com:mgmt:brocade-ip-config">
<forwarding>red</forwarding>
</vrf>
</ve>
</interface>
</rbridge-id>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2607" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
3. Configure the static routes. The static route and ARP must be configured under address family
mode.
<route>
<static-route-nh-vrf>
<static-route-next-vrf-dest>44.4.4.4/32</static-route-next-vrf-dest>
<next-hop-vrf>default-vrf</next-hop-vrf>
<static-route-next-hop>2.2.2.2</static-route-next-hop>
</static-route-nh-vrf>
</route>