OcNOS-SP : System Management Guide : System Management Command Reference : Interface Commands : ip vrf forwarding
ip vrf forwarding
This command associates an interface with a VRF.
Use the no parameter with this command to unbind an interface.
Note: When you give this command in interface configuration or subinterface configuration mode of the parent VR, the IP address and other attributes of the interface are deleted from the interface. After giving this command, the IP attributes must then be configured in the context of the VRF.
Note: The Out Of Band (OOB) management port is part of the “management” VRF. Also, this port cannot be moved out of “management” VRF.
Command Syntax
ip vrf forwarding WORD
no ip vrf forwarding WORD
Parameter
WORD
Name of the VRF.
Default
No default value is specified
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip vrf myVRF
(config-vrf)#exit
(config)#interface eth1
(config-if)#ip vrf forwarding myVRF
Last modified date: 10/19/2023