Configuring a peer group – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 89

Advertising
background image

Multi-Service IronWare Routing Configuration Guide

61

53-1003033-02

Configuring a BGP4 peer group

If you remove a parameter from a peer group, the value for that parameter is reset to the
default for all the neighbors within the peer group, unless you have explicitly set that parameter
on individual neighbors. In this case, the value you set on the individual neighbors applies to
those neighbors, while the default value applies to neighbors for which you have not explicitly
set the value.

NOTE

If you enter a command to remove the remote AS parameter from a peer group, the software
makes sure that the peer group does not contain any neighbors. If the peer group contains
neighbors, the software does not allow you to remove the remote AS so that the neighbors in
the peer group that are using the remote AS do not lose connectivity to the device.

You can override neighbor parameters on an individual neighbor basis:

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 BGP4 configuration level.

Brocade(config-bgp)# neighbor PeerGroup1 peer-group

Brocade(config-bgp)# neighbor PeerGroup1 description “EastCoast Neighbors”

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

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

Brocade(config-bgp)# neighbor PeerGroup1 capability as4 enable|disable

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 capability of PeerGroup1 to utilize a four-byte AS number

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.

Advertising