558 Network OS NETCONF Operations Guide
53-1003231-02
Configuring BGP
37
Enabling BGP on an RBridge
To enable BGP on an RBridge, configure BGP with the default vrf-name for that RBridge.
1. Issue the <edit-config> RPC to configure the </jointfilesconvert/1441089/bgp> node in the
urn:brocade.com:mgmt:brocade-/jointfilesconvert/1441089/bgp namespace.
2. Under </jointfilesconvert/1441089/bgp> node, set the value of <vrf-name> to 'default'
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3500">
<edit-config>
<target>
<running/>
</target>
<config>
<rbridge-id xmlns="urn:brocade.com:mgmt:brocade-rbridge">
<rbridge-id>188</rbridge-id>
<router xmlns="urn:brocade.com:mgmt:brocade-rbridge">
</jointfilesconvert/1441089/bgp xmlns="urn:brocade.com:mgmt:brocade-/jointfilesconvert/1441089/bgp">
<vrf-name>default</vrf-name>
<//jointfilesconvert/1441089/bgp>
</router>
</rbridge-id>
</config>
</edit-config>
</rpc>
<?xml version="1.0" ?>
<rpc-reply message-id="3500" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Disabling BGP on an RBridge
To disable BGP on an RBridge, enter RBridge ID configuration mode and delete the </jointfilesconvert/1441089/bgp> node.
The following examples disables BGP on the RBridge by deleting the node.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3500">
<edit-config>
<target>
<running/>
</target>
<config>
<rbridge-id xmlns="urn:brocade.com:mgmt:brocade-rbridge">
<rbridge-id>188</rbridge-id>
<router xmlns="urn:brocade.com:mgmt:brocade-rbridge">
</jointfilesconvert/1441089/bgp xmlns="urn:brocade.com:mgmt:brocade-/jointfilesconvert/1441089/bgp"
operation="delete">
<vrf-name>default</vrf-name>
<//jointfilesconvert/1441089/bgp>
</router>
</rbridge-id>
</config>
</edit-config>
</rpc>
<?xml version="1.0" ?>
Comentários a estes Manuais