•
Use the
no
version to remove an entry from the table.
•
See neighbor remote-as
Configuring BGP Peer Groups
You will often want to apply the same policies to most or all of the peers of a particular
BGP speaker. Update policies are usually defined by route maps, filter lists, and distribution
lists. You can reduce the configuration effort by defining a peer group made up of these
peers.
A peer group is defined relative to a particular BGP speaker. Figure 11 on page 28 shows
two peer groups,
eastcoast
and
leftcoast
. Each of these peer groups is defined for router
Chicago, the hub router. Routers Boston, NY, and Miami have no knowledge of being
members of Router Chicago’s
eastcoast
peer group. Similarly, routers SanFran, LA, and
SanDiego have no knowledge of being members of router Chicago’s
leftcoast
peer group.
The following commands configure the
eastcoast
peer group on router Chicago:
host1(config)#
router bgp 23
host1(config)#
route-map wtset permit 10
host1(config-route-map)#
set weight 25
host1(config-route-map)#
exit
host1(config-router)#
neighbor eastcoast peer-group
host1(config-router)#
neighbor eastcoast route-map wtset in
host1(config-router)#
neighbor 10.6.6.2 remote-as 12
host1(config-router)#
neighbor 10.6.6.2 peer-group eastcoast
host1(config-router)#
neighbor 10.7.3.2 remote-as 12
host1(config-router)#
neighbor 10.7.3.2 peer-group eastcoast
host1(config-router)#
neighbor 10.4.4.2 remote-as 12
host1(config-router)#
neighbor 10.4.4.2 peer-group eastcoast
The following commands configure the
leftcoast
peer group on router Chicago:
host1(config-router)#
neighbor leftcoast peer-group
host1(config-router)#
neighbor 10.3.3.2 remote-as 78
host1(config-router)#
neighbor 10.3.3.2 peer-group leftcoast
host1(config-router)#
neighbor 10.3.2.2 remote-as 2143
host1(config-router)#
neighbor 10.3.2.2 peer-group leftcoast
host1(config-router)#
neighbor 10.3.1.2 remote-as 136
host1(config-router)#
neighbor 10.3.1.2 peer-group leftcoast
The multiprotocol extensions to BGP enable the exchange of information within different
types of
address families. By
default, peers and peer groups exist in the unicast IPv4
address family and exchange unicast IPv4 addresses. For information on configuring and
activating BGP peer groups within address families, see “Configuring the Address Family”
on page 43.
27
Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring BGP Routing
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...