beautypg.com

Configuring bgp4 neighbors, Configuring bgp4, Neighbors – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 75

background image

Multi-Service IronWare Routing Configuration Guide

47

53-1003033-02

Configuring BGP4 neighbors

Configuring BGP4 neighbors

Because BGP4 does not contain a peer discovery process, for each BGP4 neighbor (peer), you
must indicate the IP address and the AS number of each neighbor. Neighbors that are in different
ASs communicate using EBGP. Neighbors within the same AS communicate using IBGP.

NOTE

If the device has multiple neighbors with similar attributes, you can simplify configuration by
configuring a peer group, then adding individual neighbors to it. The configuration steps are similar,
except you specify a peer group name instead of a neighbor IP address when configuring the
neighbor parameters, then add individual neighbors to the peer group. Refer to

“Configuring a BGP4

peer group”

on page 60.

NOTE

The device attempts to establish a BGP4 session with a neighbor as soon as you enter a command
specifying the IP address of the neighbor. If you want to completely configure the neighbor
parameters before the device establishes a session with the neighbor, you can administratively shut
down the neighbor. Refer to

“Administratively shutting down a session with a BGP4 neighbor”

on

page 63.

To add a BGP4 neighbor with an IP address 10.157.22.26 remote-as 100, enter the following
command.

Brocade(config-bgp)# neighbor 10.157.22.26 remote-as 100

The neighbor’s ip-addr must be a valid IP address.

The neighbor command has additional parameters, as shown in the following syntax:

Syntax: [no] neighbor {ip-addr | peer-group-name}

{
[activate]
[advertisement-interval seconds
[allowas-in num ]
[bfd holdover-interval num ]
[bfd min-tx num min-rx num multiplier num ]
[capability as4 [enable | disable] ]
[capability orf prefixlist [send | receive] ]
[default-originate [route-map map-name] ]
[description string]
[distribute-list in | out num,num,... | acl-num localin | out]
[ebgp-btsh]
[ebgp-multihop num ]
[enforce-first-as]
[filter-list access-list-name [ in | out ]]
[local-as as-num [no-prepend] ]
[maxas-limit in [num |disable]
[maximum-prefix num [ threshold ] [teardown]
[next-hop-self]
[password string]
[peer-group group-name ]
[prefix-list string in | out]
[remote-as as-number]
[remove-private-as]