Configuring bgp global mode – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 591

Advertising
background image

Network OS NETCONF Operations Guide

559

53-1003231-02

Configuring BGP

37

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

Configuring BGP global mode

Configurations that are not specific to address-family configuration are available in the BGP global
configuration mode. The nodes supporting BGP global configuration mode are:

always-compare-med—Allow comparing MED from different neighbors

as-path-ignore—Ignore AS_PATH length for best route selection

capability—Set capability

cluster-id—Configure Route-Reflector Cluster-ID

compare-med-empty-aspath—Allow comparing MED from different neighbors even with empty
as-path attribute.

compare-routerid—Compare router-id for identical BGP paths

default-local-preference—Configure default local preference value

distance—Define an administrative distance

enforce-first-as—Enforce the first AS for EBGP routes

fast-external-fallover—Reset session if link to EBGP peer goes down

install-igp-cost—Install IGP cost to next hop instead of MED value as BGP route cost

local-as—Configure local AS number

log-dampening-debug—Log dampening debug messages

maxas-limit—Impose limit on number of ASes in AS-PATH attribute

med-missing-as-worst—Consider routes missing MED attribute as least desirable

neighbor—Specify a neighbor router

timers—Adjust routing timers

For complete information on all of these nodes, refer to the BGP parameters defined in the
brocade-bgp YANG module. For information about the brocade-bgp YANG module, refer to the
Network OS YANG Reference Manual.

The following illustrates the configuration of remote AS number for neighbor 1.1.1.1.

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 <router-bgp-attributes> node.

4. Under the <router-bgp-attributes> node, configure the nodes for global BGP configuration.

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

Advertising