Configuring Bgp/Mpls Vpns; Testing Bgp Policies - Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual

Junose software for e series routing platforms
Table of Contents

Advertisement

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 379.

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
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.
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.
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.
Chapter 1: Configuring BGP Routing
Configuring BGP/MPLS VPNs
157

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents