Enabling bgp on an rbridge, Disabling bgp on an rbridge – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 590

Advertising
background image

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 <bgp> node in the

urn:brocade.com:mgmt:brocade-bgp namespace.

2. Under <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">

<bgp xmlns="urn:brocade.com:mgmt:brocade-bgp">

<vrf-name>default</vrf-name>

</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 <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">

<bgp xmlns="urn:brocade.com:mgmt:brocade-bgp"

operation="delete">

<vrf-name>default</vrf-name>

</bgp>

</router>

</rbridge-id>

</config>

</edit-config>

</rpc>

<?xml version="1.0" ?>

Advertising