set l3-interface vlan-interface vrf


The set l3-interface vlan-interface vrf command is used to bind the Layer 3 VLAN interface to the VRF.


Command Syntax

set l3-interface vlan-interface <interface-name> vrf <vrf-name>


Parameter

Parameter

Description

vlan-interface <interface-name>

Specifies a Layer 3 VLAN interface. 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 Layer 3 VLAN 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 Layer 3 VLAN interface is in the default VRF if not explicitly bound to any VRF.


Example

•  Bind the Layer 3 VLAN interface VLAN10 to the VRF vrf1.

admin@Xorplus# set l3-interface vlan-interface vlan10 vrf vrf1
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.