The
neighbor remote-as
command activated the IPv4 unicast address family for the
peer. The
address-family
command entered the context of the VPNv4 unicast family
and the
neighbor activate
command activated the address family for the peer.
Example 2
The following commands illustrate one way to disable the exchange of routes in the IPv4
unicast address family and enable the exchange of routes in the VPNv4 unicast address
family:
host1:vr1(config)#
router bgp 777
host1:vr1(config-router)#
neighbor 10.26.5.10 remote-as 100
host1:vr1(config-router)#
address-family ipv4 unicast
host1:vr1(config-router-af)#
no neighbor 10.26.5.10 activate
host1:vr1(config-router-af)#
exit-address-family
host1:vr1(config-router)#
address-family vpnv4 unicast
host1:vr1(config-router-af)#
neighbor 10.26.5.10 activate
host1:vr1(config-router-af)#
exit-address-family
In this case, the
no neighbor activate
command specifically disables the IPv4 unicast
address family for that peer alone; no other peers are affected. The VPNv4 unicast address
family is activated for the peer as in Example 1.
Example 3
The following commands illustrate another way to disable the exchange of routes in the
IPv4 unicast address family and enable the exchange of routes in the VPNv4 unicast
address family:
host1:vr1(config)#
router bgp 777
host1:vr1(config-router)#
no bgp default ipv4-unicast
host1:vr1(config-router)#
neighbor 10.26.5.10 remote-as 100
host1:vr1(config-router)#
address-family vpnv4 unicast
host1:vr1(config-router-af)#
neighbor 10.26.5.10 activate
host1:vr1(config-router-af)#
exit-address-family
In this case, the
no bgp default ipv4-unicast
command prevents the automatic enabling
of the IPv4 unicast address family for all peers subsequently configured with the
neighbor
remote-as
command. Previously configured peers are not affected. The VPNv4 unicast
address family is activated for the peer as in Examples 1 and 2.
Using a Single AS Number for All CE Sites
If you want to use the same AS number for all of your CE sites, you can substitute a PE
router’s autonomous system number for that of a neighbor by specifying the neighbor’s
IP address in the
neighbor as-override
command. If you fail to do this, the CE router
recognizes its AS in the AS path of received routes and determines it has discovered a
routing loop; the routes are rejected.
Example
In the following example, the router’s AS number of 777 overrides the neighboring router’s
AS number of 100.
host1:vr1(config)#
router bgp 777
host1:vr1(config-router)#
neighbor 172.16.20.10 remote-as 100
host1:vr1(config-router)#
neighbor 172.16.20.10 update-source loopback0
host1:vr1(config-router)#
address-family ipv4 vrf vpn1
host1:vr1(config-router-af)#
neighbor 172.25.14.12 remote-as 100
447
Copyright © 2010, Juniper Networks, Inc.
Chapter 6: Configuring BGP-MPLS Applications
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...