Version 7.2 743 Mediant MSBR
Reference Guide 75. Layer-3 Commands
75.2.2.82 Virtual Routing and Forwarding (VRF) Commands
These commands implement dynamic routing protocols (BGP, OSPF, PIM, and RIP) with
Virtual Routing and Forwarding (VRF) tagging. One BGP, one OSPF, one PIM, and one RIP
protocol can be enabled per VRF table. Up to five dynamic routing protocols can be enabled
in all defined VRF tables.
75.2.2.82.1 ip vrf
This command enables a dynamic routing protocol on a VRF.
Syntax
ip vrf <vrf-name> {enable bgp|ospf|pim|rip]
no ip vrf <vrf-name>
Command Description
vrf-name Defines the VRF name (up to 64 bytes).
Default
NA
Note
Up to 32 VRF’s may be defined.
A VRF which is associated with interfaces cannot be deleted (need first to disassociate
the interfaces).
Command Mode
Privileged User
Related Commands
ip route vrf, ip vrf forwarding, show ip vrf
Example
This example defines a VRF called XXIP.
(config-data)# ip vrf XXIP
75.2.2.82.2 ip vrf forwarding
This command associates an interface with a given vrf.
Syntax
ip vrf forwarding <string>
no ip vrf forwarding