beautypg.com

Applying a peer group to a neighbor – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 410

background image

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

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

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.

device(config-bgp-router)# neighbor 192.168.1.12 peer-group PeerGroup1

device(config-bgp-router)# neighbor 192.168.2.45 peer-group PeerGroup1

device(config-bgp-router)# 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.

NOTE
You must add the peer group before you can add neighbors to it.

Administratively shutting down a session with a BGP4 neighbor

You can prevent the device from starting a BGP4 session with a neighbor by administratively shutting
down the neighbor. This option is very useful for situations in which you want to configure parameters
for a neighbor, but are not ready to use the neighbor. You can shut the neighbor down as soon as you
have added it to the device, configure the neighbor parameters, then allow the device to reestablish a
session with the neighbor by removing the shutdown option from the neighbor.

When you apply the option to shut down a neighbor, the option takes place immediately and remains
in effect until you remove it. If you save the configuration to the startup configuration file, the shutdown
option remains in effect even after a software reload.

Applying a peer group to a neighbor

410

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04