■
Use to assign a VRF to an interface or subinterface by forwarding the interface
from the VR to the VRF. This command also enables you to specify secondary
routing table lookup for a VRF if an initial routing table lookup is unsuccessful.
■
Forwarding the interface removes the IP configuration from the interface. You
must reassign an IP address to the interface after you issue this command.
■
The
ip vrf forwarding
command changes the prompt to indicate that the CLI is
now in Interface Configuration mode within the child VRF. This condition persists
only for as long as you are configuring attributes on the given interface within
the VRF. Entering a top-level command, such as
interface
, within this VRF context
takes the CLI out of the VRF context back to the parent VR context.
■
When you issue the
ip vrf forwarding
command from within the Interface
Configuration or Subinterface Configuration mode of the parent VR, the IP address
and other attributes of the interface are deleted from the interface. You must
then reconfigure the IP attributes in the context of the VRF after issuing the
command.
■
Example
host1:vr1(config-if)#
ip vrf forwarding vrfA
host1:vr1:vrfA(config-if)#
ip address 10.12.4.5 255.255.255.0
or
host1:vr1(config-if)#
ip vrf forwarding vrfA fallback global
host1:vr1:vrfA(config-if)#
ip address 10.12.4.5 255.255.255.0
■
Use the
no
version to remove the interface assignment or discontinue secondary
routing table lookup.
■
See ip vrf forwarding.
Adding Static Routes to a VRF
Consider the network structure shown in Figure 92 on page 430. If no routing
protocol—BGP or any other IGP—is running between the PE router and the CE router,
you must use the
ip route vrf
command to add a static route in the customer's VRF
for each prefix in that customer's site.
Each of these static routes must point to the link connecting the PE router to the CE
router. Typically, you redistribute these static routes in the VRF's address family in
BGP or use
network
commands to make those prefixes reachable from other CE
routers in the same VPN.
Configuring BGP VPN Services
■
429
Chapter 5: Configuring BGP-MPLS Applications
Содержание JUNOSE
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Страница 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 346: ...310 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 535: ...There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 499 Chapter 5 Configuring BGP MPLS Applications...
Страница 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 592: ...556 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 642: ...606 VPLS Configuration Example with LDP Signaling JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 719: ...Part 6 Index Index on page 685 Index 683...
Страница 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...