Foundry Configuration Guide for the FESX, FSX, and FWSX
21 - 20 © Foundry Networks, Inc. December 2005
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>]
[route-reflector-client]
[send-community]
[soft-reconfiguration inbound]
[shutdown]
[timers keep-alive <num> hold-time <num>]
[update-source loopback <num>]
[weight <num>]
Syntax: The <ip-addr> | <peer-group-name> parameter indicates 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’s 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. See “Adding BGP4 Neighbors” on page 21-12.
The remaining parameters are the same ones supported for individual neighbors. See “Adding BGP4 Neighbors”
on page 21-12.
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:
FESX424 Router(config-bgp-router)# neighbor 192.168.1.12 peer-group PeerGroup1
FESX424 Router(config-bgp-router)# neighbor 192.168.2.45 peer-group PeerGroup1
FESX424 Router(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 (except parameters that govern outbound traffic) on an individual neighbor basis. For
neighbor parameters not specified for the peer group, the neighbors use the default values.
Syntax: 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 Layer 3 Switch 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 the
Layer 3 Switch, configure the neighbor parameters, then allow the Layer 3 Switch to re-establish a session with
the neighbor by removing the shutdown option from the neighbor.