host1(config-router-af)#
ip route-type both
■
Use the
no
version to restore the default value, unicast.
■
See ip route-type.
■
See ipv6 route-type.
Configuring BGP/MPLS VPNs
The BGP multiprotocol extensions enable the exchange of BGP information within
different types of address families. The VPN IPv4 address family enables you to
configure the router to provide IPv4 VPN services over an MPLS backbone. These
VPNs are often referred to as BGP/MPLS VPNs. For detailed information, see
“Configuring BGP-MPLS Applications” on page 373.
Testing BGP Policies
You can analyze and check your BGP routing policies on your network before you
implement the policies. Use the
test ip bgp neighbor
and
test bgp ipv6 neighbor
commands to test the outcome of a BGP policy. The commands output display the
routes that are advertised or accepted if the specified policy is implemented.
BGP routes must be present in the forwarding table for this command to work
properly. If you run the policy test on incoming routes, soft reconfiguration (configured
with the
neighbor soft reconfiguration in
command) must be in effect.
NOTE:
You can use the standard redirect operators to redirect the test output to
network or local files. See
JUNOSe System Basics Configuration Guide
.
The output of these commands is always speculative. It does not reflect the current
state of the router.
test bgp ipv6 neighbor
test ip bgp neighbor
■
Use to test the effect of BGP policies on a router without implementing the policy.
■
You can apply the test to routes advertised to peers or received from peers.
■
You can test the following kinds of policies: distribute lists, filter lists, prefix lists,
prefix trees, or route maps. If you do not specify a policy, then the test uses
whatever policies are currently in effect on the router.
NOTE:
If you test the current policies, the results might vary for routes learned before
the current policies were activated if you did not clear the forwarding table when
the policies changed.
Configuring BGP/MPLS VPNs
■
157
Chapter 1: Configuring BGP Routing
Summary of Contents for JUNOSE
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 719: ...Part 6 Index Index on page 685 Index 683...
Page 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...