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

Page 90

Advertising
background image

62

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Configuring a BGP4 peer group

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

[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]
[maxas-limit in [num |disable]
[maximum-prefix num [threshold] [teardown]]
[next-hop-self]
[password string]
[prefix-list string in | out]
[remote-as as-number]
[remove-private-as]
[route-map in | out map-name]
[route-reflector-client]
[send-community]
[soft-reconfiguration inbound]
[shutdown]
[timers keep-alive num hold-time num]
[update-source loopback num ethernet slot/portnum | loopback num | ve num]
[weight num]
[local-as as-num]

The ip-addr |peer-group-name parameters indicate whether you are configuring a peer group or an
individual neighbor. You can specify a peer group name or IP address with the neighbor command.
If you specify a peer group name, you are configuring a peer group. If you specify a neighbor IP
address, you are configuring that individual neighbor. Use the ip-addr parameter if you are
configuring an individual neighbor instead of a peer group. Refer to

“Configuring BGP4 neighbors”

on page 47 and

“Configuring a BGP4 peer group”

on page 60.

The remaining parameters are the same ones supported for individual neighbors. Refer to

“Configuring BGP4 neighbors”

on page 47 and

“Configuring a BGP4 peer group”

on page 60.

Applying a peer group to a neighbor

After you configure a peer group, you can add neighbors to the group. When you add a neighbor to
a peer group, you are applying all the neighbor attributes specified in the peer group to the
neighbor.

To add neighbors to a peer group, enter commands such as the following.

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

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

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

The commands in this example add three neighbors to the peer group “PeerGroup1”. As members
of the peer group, the neighbors automatically receive the neighbor parameter values configured
for the peer group. You also can override the parameters on an individual neighbor basis. For
neighbor parameters not specified for the peer group, the neighbors use the default values.

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

The ip-addr parameter specifies the IP address of the neighbor.

The peer-group-name parameter specifies the peer group name.

Advertising