a peer or peer group that is activated in more than one address family, the values are
affected only for the current address family. The inbound route map is such a parameter;
the following example demonstrates that a BGP session can have a different inbound
route map for each address family.
host1(config-router)#neighbor 1.1.3.4 remote-as 1234
host1(config-router)#neighbor 1.2.3.4 route-map ucast-map in
host1(config-router)#address-family ipv4 multicast
host1(config-router-af)#neighbor 1.2.3.4 activate
host1(config-router-af)#neighbor 1.2.3.4 route-map mcast-map in
host1(config-router-af)#exit-address-family
Table 9: Commands Affecting Only the Current Address Family
for the Specified Peer or Peer Group
neighbor peer-groupneighbor activate
neighbor prefix-listneighbor advertise-map
neighbor prefix-treeneighbor allowas-in
neighbor remote-private-asneighbor as-override
neighbor route-mapneighbor default-originate
neighbor route-reflector-clientneighbor distribute-list
neighbor send-communityneighbor filter-list
neighbor send-labelneighbor local-as
neighbor soft-reconfiguration inboundneighbor maximum-prefix
neighbor unsuppress-mapneighbor next-hop-self
neighbor next-hop-unchanged
Inheritance of Configuration Values
Peer groups inherit all configuration values that are globally configured. However,
attributes configured for a peer group override inherited global configuration values.
Individual peers that are members of peer groups inherit all configuration values from
the peer group. However, attributes configured on a peer override values inherited from
the peer group of which it is a member.
The neighbor commands enable you to control features or set parameters for individual
peers or for peer groups. These commands can be classified into the four categories
shown in Table 10 on page 22, based on whether the command enables a feature or sets
parameters, the levels at which it behaves, and how the no version of the command
compares with the default version.
21Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring BGP Routing