The RIP and OSPF protocols also enable you to specify a VRF and configure the protocol without actually entering the VRF context.
For example, for OSPF you might issue the following command and then complete OSPF configuration tasks for VRF A:
- host1(config)#router ospf 100 vrf vrfa
For RIP, you create the RIP process, specify the address family for the VRF, and specify redistribution of BGP routes for VRF A:
- host1(config)#router rip 100
- host1(config-router)#address-family ipv4 vrf
vrfa
- host1(config-router-af)#redistribute bgp
At this point you proceed with RIP configuration for the VRF. For information about configuring IS-IS, OSPF, or RIP as the IGP, see the JUNOSe IP, IPv6, and IGP Configuration Guide. For information about configuring BGP as the IGP, see Configuring BGP Routing .
virtual-router
- host1(config)#virtual-router :vrfsouthie
- host1:default:southie(config)#
- host1(config)#virtual-router boston:southie
- host1:boston:southie(config)#
- “ Cannot delete a VRF with this command”