Creating A Vrf; Specifying A Route Distinguisher - Juniper JUNOSE 11.2.X BGP AND MPLS Configuration Manual

For e series broadband services routers - bgp and mpls configuration
Table of Contents

Advertisement

JunosE 11.2.x BGP and MPLS Configuration Guide

Creating a VRF

ip vrf

Specifying a Route Distinguisher

rd
424
host1:vr1(config-router)#redistribute ospf
(Optional) Configure an AS override.
6.
See "Using a Single AS Number for All CE Sites" on page 447 for examples.
(Optional) Force the BGP speaker to accept routes that have the speaker's AS
7.
number in its AS path.
host1:vr1(config-router)#bgp enforce-first-as
Access the desired virtual router context; then create the VRF(s) for that VR.
host1(config)#virtual-router vr1
host1:vr1(config)#ip vrf vrfA
Use to create a VRF or access VRF Configuration mode to configure a VRF.
You must specify a route distinguisher after you create a VRF. Otherwise, the VRF will
not operate.
Example
host1:vr1(config)#ip vrf vrfA
Use the no version to remove a VRF.
Use the wait-for-completion keyword with the no version if you require a synchronous,
deterministic deletion of a VRF, such as when executing Telnet or console commands
by means of an external script. If you do not issue the wait-for-completion keyword
in these circumstances, an ip vrf command issued as soon as the prompt appears
might fail because the router is still deleting the VRF. You can specify a period during
which the CLI waits before it returns a prompt. If you do not specify a wait time, then
the CLI does not return a prompt until the operation completes. You can press Ctrl+c
to break out of the wait period early.
See ip vrf.
The route distinguisher enables you to establish unique VPN-IPv4 addresses to
accommodate the possibility that more than one VPN might use the same IP address
from their private address spaces.
Use to specify a route distinguisher to a VRF.
You can specify either an AS number or an IP address as the first part of the route
distinguisher. Specify some unique integer as the second part.
You must specify a route distinguisher for a VRF. Otherwise, the VRF will not operate.
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.2.x

Table of Contents