Foundry Networks Switch and Router Installation And Configuration Manual page 706

Switch and router
Table of Contents

Advertisement

Foundry Switch and Router Installation and Configuration Guide
Configuring a Peer Group
To configure a BGP4 peer group, use either of the following methods.
USING THE CLI
To configure a peer group, enter commands such as the following at the BGP configuration level:
BigIron(config-bgp-router)# neighbor PeerGroup1 peer-group
BigIron(config-bgp-router)# neighbor PeerGroup1 description "EastCoast Neighbors"
BigIron(config-bgp-router)# neighbor PeerGroup1 remote-as 100
BigIron(config-bgp-router)# 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. However, you cannot override the remote AS
and distribute list parameters for individual neighbors. Since these parameters control outbound traffic, the
parameters must have the same values for all neighbors within 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>] [next-hop-self]
[password <string>] [prefix-list <string>]
[remote-as <as-number>] [remove-private-as]
[route-map in | out <map-name>] [route-reflector-client]
[send-community] [shutdown] [timers keep-alive <num> hold-time <num>]
[update-source loopback <num>] [weight <num>]
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 19-14.
The remaining parameters are the same ones supported for individual neighbors. See "Adding BGP4 Neighbors"
on page 19-14.
USING THE WEB MANAGEMENT INTERFACE
You cannot configure peer group parameters using the Web management interface.
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 a neighbor to a peer group, use either of the following methods.
19 - 24
December 2000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents