When configuring VRF on a device, pay attention to the following points:
• Enable IP routing function before using VRF function.
• Default VRF supports static routing and other routing protocols (BGP, OSPF, RIP, PIM, IGMP). However, the user-defined VRFs can only be configured with static routing, but do not support other routing protocols.
• VRRP supports VRF function by binding the Layer 3 VLAN interface to a specified VRF.
• A switch supports a maximum of 128 VRFs.
• A Layer 3 VLAN interface can’t belong to more than one VRF, but one VRF can be bound to multiple Layer 3 VLAN interfaces. This is limited by the maximum number of Layer 3 VLAN interfaces a switch supports. A switch supports a maximum of 255 Layer 3 VLAN interfaces.
• Loopback interface can be used only in the default VRF.
• Management interfaces Eth0 and Eth1 cannot be bound to a user-defined VRF and are attached in the default VRF.
• All VRFs share the same Layer 3 routing resources in ASIC, including the L2 and L3 hardware forwarding tables. The total number of routes supported is limited by the size of the TCAM. When the VRF is deleted, all the corresponding hardware and software resources will be released.