host1:vr1(config-if)#
virtual-router :vrfA
3.
Specify that the VRF perform a secondary routing table lookup.
host1:vr1:vrfA(config-if)#
ip fallback global
ip fallback global
•
Use to specify secondary routing table lookup for an interface in a VRF if an initial
routing table lookup is unsuccessful.
•
Example
host1:vr1:vrfA(config-if)#
ip fallback global
•
Use the
no
version to discontinue secondary routing table lookup.
•
See ip fallback global.
ip vrf forwarding
•
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 437. If no routing protocol—BGP
or any other IGP—is running between the PE router and the CE router, you must use the
Copyright © 2010, Juniper Networks, Inc.
436
JunosE 11.2.x BGP and MPLS Configuration Guide
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...