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

Network OS NETCONF Operations Guide
561
53-1003231-02
Configuring BGP
37
•
default-metric—Set metric of redistributed routes
•
maximum-paths—Forward packets over multiple paths
•
multipath—Enable multipath for iBGP or EBGP neighbors only
•
neighbor—Specify a neighbor router
•
network—Specify a network to announce via BGP
•
next-hop-enable-default—Enable default route for BGP next-hop lookup
•
next-hop-recursion—Perform next-hop recursive lookup for BGP route
•
redistribute—Redistribute information from another routing protocol
•
rib-route-limit—Limit BGP rib count in routing table
•
static-network—Special network that do not depends on IGP and always treat as best route in
BGP
•
table-map—Map external entry attributes into routing table
•
update-time—Configure IGP route update interval
For complete information on all of these nodes, refer to the BGP parameters are defined in the
brocade-bgp YANG module. For information about the brocade-bgp YANG module, refer to the
Network OS YANG Reference Manual.
This configuration example configures the neighbor with a weight of 20.
1. Issue the <edit-config> RPC to configure the <bgp> node in the
urn:brocade.com:mgmt:brocade-bgp namespace.
2. Under the <vrf-name> node, open the <router-bgp-cmds-holder> node.
3. Under the <router-bgp-cmds-holder> node, open the <address-family> node.
4. Under the <address-family> node, open the <ipv4> node.
5. Under the <ipv4> node, open the <ipv4-unicast> node.
6. Under the <ipv4-unicast> node, configure the nodes for IPv4 unicast address configuration.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3501">
<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>
<router-bgp-cmds-holder>
<address-family>
<ipv4>
<ipv4-unicast>
<af-ipv4-neighbor-address-holder>
<af-ipv4-neighbor-address>
<af-ipv4-neighbor-address>1.1.1.1
</af-ipv4-neighbor-address>
<af-nei-weight>20</af-nei-weight>
</af-ipv4-neighbor-address>
</af-ipv4-neighbor-address-holder>
</ipv4-unicast>