Configuring a peer group – Brocade BigIron RX Series Configuration Guide User Manual

Page 933

Advertising
background image

BigIron RX Series Configuration Guide

855

53-1002484-04

Configuring a BGP4 peer group

27

If you do not specify a parameter for an individual neighbor, the neighbor uses the value in the
peer group.

If you set the parameter for the individual neighbor, that value overrides the value you set in
the peer group.

If you add a parameter to a peer group that already contains neighbors, the parameter value is
applied to neighbors that do not already have the parameter explicitly set. If a neighbor has
the parameter explicitly set, the explicitly set value overrides the value you set for the peer
group.

If you remove the setting for a parameter from a peer group, the value for that parameter
changes to the default value for all the neighbors in the peer group that do not have that
parameter individually set.

Configuring a peer group

To configure a peer group, enter commands such as the following at the BGP configuration level.

BigIron RX(config-bgp)# neighbor PeerGroup1 peer-group

BigIron RX(config-bgp)# neighbor PeerGroup1 description EastCoast_Neighbors

BigIron RX(config-bgp)# neighbor PeerGroup1 remote-as 100

BigIron RX(config-bgp)# neighbor PeerGroup1 distribute-list out 1

The commands in this example configure a peer group called “PeerGroup1” and set the following
parameters for the peer group:

A description, “EastCoast Neighbors”

A remote AS number, 100

A distribute list for outbound traffic

The software applies these parameters to each neighbor you add to the peer group. You can
override the description parameter for individual neighbors. If you set the description parameter
for an individual neighbor, the description overrides the description configured for the peer group.

Syntax: neighbor <peer-group-name> peer-group

The <peer-group-name> parameter specifies the name of the group and can be up to 80
characters long. The name can contain special characters and internal blanks. If you use internal
blanks, you must use quotation marks around the name. For example, the command neighbor “My
Three Peers” peer-group is valid, but the command neighbor My Three Peers peer-group is not
valid.

Syntax: [no] neighbor <ip-addr> |<peer-group-name>

[advertisement-interval <num>]
[default-originate [route-map <map-name>]]
[description <string>]
[distribute-list in | out <num,num,...> | <acl-num> in | out]
[ebgp-multihop [<num>]]
[filter-list in | out <num,num,...> | <acl-num> in | out | weight]
[maximum-prefix <num> [<threshold>] [teardown]]
[next-hop-self]
[password [0 | 1] <string>]
[prefix-list <string> in | out]
[remote-as <as-number>]
[remove-private-as]
[route-map in | out <map-name>]

Advertising