Command:

neighbor peer-group (assigning members)


Mode:

Router(config-router)#

Router(config-router-af)#


Syntax:

neighbor ip-address peer-group peer-group-name
no neighbor ip-address peer-group peer-group-name

 

Syntax Description:

ip-address IP address of the BGP neighbor that belongs to the peer group specified by the peer-group-name argument.
peer-group-name Name of the BGP peer group to which this neighbor belongs.

 

Command Description:

To configure a BGP neighbor to be a member of a peer group, use the neighbor peer-group command in address family or router configuration mode. To remove the neighbor from the peer group, use the no form of this command.

The neighbor at the IP address indicated inherits all the configured options of the peer group.


Example:

The following router configuration mode example assigns three neighbors to the peer group named internal:

Router(config)# router bgp 100
Router(config-router)# neighbor internal peer-group
Router(config-router)# neighbor internal remote-as 100
Router(config-router)# neighbor internal update-source loopback 0
Router(config-router)# neighbor internal route-map set-med out
Router(config-router)# neighbor internal filter-list 1 out
Router(config-router)# neighbor internal filter-list 2 in
Router(config-router)# neighbor 172.16.232.53 peer-group internal 
Router(config-router)# neighbor 172.16.232.54 peer-group internal 
Router(config-router)# neighbor 172.16.232.55 peer-group internal 
Router(config-router)# neighbor 172.16.232.55 filter-list 3 in
 

The following address family configuration mode example assigns three neighbors to the peer group named internal:

Router(config)# router bgp 100
Router(config-router)# address-family ipv4 unicast
Router(config-router-af)# neighbor internal peer-group
Router(config-router-af)# neighbor internal remote-as 100
Router(config-router-af)# neighbor internal update-source loopback 0
Router(config-router-af)# neighbor internal route-map set-med out
Router(config-router-af)# neighbor internal filter-list 1 out
Router(config-router-af)# neighbor internal filter-list 2 in
Router(config-router-af)# neighbor 172.16.232.53 peer-group internal 
Router(config-router-af)# neighbor 172.16.232.54 peer-group internal 
Router(config-router-af)# neighbor 172.16.232.55 peer-group internal 
Router(config-router-af)# neighbor 172.16.232.55 filter-list 3 in


Misconceptions:

None


Related Commands:

address-family ipv4
neighbor peer-group (creating)

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)