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

Network OS NETCONF Operations Guide
569
53-1003231-02
Configuring DHCP Relay
39
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1202" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
DHCP server and client interface on different VRF instances
If the DHCP server is on a different Virtual Routing and Forwarding (VRF) instances than the
interface where the client is connected, use the <server-vrf-name> node.
NOTE
If the <server-vrf-name> node is not used, it is assumed that the DHCP server and client interface
are on the same VRF instance.
1. Issue the <edit-config> RPC to configure the <interface> node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <interface> node, include the <gigabitethernet>, <tengigabitethernet>,
<fortygigabitethernet>, <hundredgigabitethernet>, or <port-channel> node element.
3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,
<hundredgigabitethernet>, or <port-channel> node, include the <name> element and set its
value to the name of the interface for which you want to configure user-priority mappings.
4. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,
<hundredgigabitethernet>, or <port-channel> node, include the <dhcp> element located in
the urn:brocade.com:mgmt:brocade-dhcp namespace.
5. Set the <relay-ip-addr> node to the IP address for the DHCP server.
6. Set the <server-vrf-name> node to the VRF name.
<rpc message-id="1202" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>1/3/1</name>
<dhcp xmlns=”urn:brocade.com:mgmt:brocade-dhcp”>
<dhcp>
<relay>
<relay-ip-addr>100.1.1.2</relay-ip-addr>
<server-vrf-name>blue</server-vrf-name>
</fabric-isl>
</fabric>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>