set l3-interface routed-interface vrf
The set l3-interface routed-interface vrf command is used to bind the layer 3 routed interface or sub-interface to the VRF.
Command Syntax
set l3-interface routed-interface<interface-name> vrf <vrf-name>
Parameter
Parameter | Description |
routed-interface <interface-name> | Specifies a routed interface name or sub-interface name. The value is a string. |
vrf <vrf-name> | Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>]. |
Usage Guidelines
By binding the routed interfaces or sub-interfaces to different VRFs, the system segregates the IP routing table, ARP table, hardware forwarding table and host hardware forwarding table of different VRFs in customer edge devices.
Note that: The routed interfaces or sub-interfaces are in the default VRF if not explicitly bound to any VRF.
Example
• Bind the routed interface rif-te4 to the VRF vrf1.
admin@Xorplus# set l3-interface routed-interface rif-te4 vrf vrf1 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.