OcNOS-SP : Layer 3 Guide : Fundamental Layer 3 Command Reference : Fundamental Layer 3 Commands : ip vrf
ip vrf
This command creates a user-defined VRF (Virtual Routing and Forwarding) RIB (Routing Information Base), assigns a VRF identifier, and switches to VRF mode.
Use the no parameter with command to remove a VRF RIB.
Note: On configuration of user-defined VRF with ip vrf WORD CLI, lo.WORD interface configuration will not be displayed in show running-config even though lo.WORD interface, default IPv4 address and default IPv6 address are present in system. To display the interface lo.WORD, ip address 127.0.0.1/8 and ipv6 address ::1/128 configurations in show running configuration user needs to explicitly configure the same from CLI. This is due to a restriction with scaled VRF configurations in a single commit.
Command Syntax
ip vrf WORD
no ip vrf WORD
Parameter
WORD
VRF identifier
Default
By default, no user-defined VRFs exist, only the default VRF.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip vrf myVRF
(config-vrf)#
Last modified date: 10/16/2023