To limit the exchange of routes to those from within the address family and to set other
desired BGP parameters:
1.
Access Router Configuration mode and create peers and peer groups. These peers
and peer groups are in the default IPv4 address family.
host1(config)#
router bgp 100
host1(config-router)#
neighbor 10.10.2.2 remote-as 100
host1(config-router)#
neighbor 10.10.3.3 remote-as 100
host1(config-router)#
neighbor ibgp peer-group
2.
In Router Configuration mode, create the address family within which the router
exchanges addresses; this creation accesses Address Family Configuration mode.
host1(config-router)#
address-family vpn4 unicast
3.
From within the address family, activate individual neighbors or peer groups to
exchange routes from within the current address family. These peers or peer groups
must first be created in the IPv4 address family.
host1(config-router-af)#
neighbor ibgp activate
4.
If you have activated a peer group, from within the address family add peers as
members of the peer group. These peers must first be created in the IPv4 address
family.
host1(config-router-af)#
neighbor 10.10.2.2 peer-group ibgp
host1(config-router-af)#
neighbor 10.10.3.3 peer-group ibgp
5.
From within the address family, configure BGP parameters for the address family.
6.
Exit Address Family Configuration mode.
host1:vr1(config-router-af)#
exit-address-family
address-family
•
Use to configure the router or VRF to exchange IPv4 or IPv6 addresses by creating the
specified address family.
•
IPv4 and IPv6 addresses can be exchanged in unicast, multicast, or VPN mode.
•
The default setting is to exchange IPv4 addresses in unicast mode from the default
router.
•
Creating an address family for a VRF automatically disables both synchronization and
automatic summarization for that VRF.
•
This command takes effect immediately.
•
Examples
host1:vr1(config-router)#
address-family ipv4 multicast
host1:vr1(config-router)#
address-family ipv4 unicast
host1:vr1(config-router)#
address-family ipv4 unicast vrf vr2
host1:vr1(config-router)#
address-family vpn4 unicast
host1:vr1(config-router)#
address-family ipv6 unicast
•
Use the
no
version to disable the exchange of a type of prefix.
•
See address-family.
45
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...