/
set vlan-interface interface vrf

set vlan-interface interface vrf


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


Command Syntax

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


Parameter

Parameter

Description

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.


Usage Guidelines

By binding a Layer 3 VLAN interface to a VRF, the system segregates the IP routing table, ARP table, hardware forwarding table and host hardware forwarding table of different VRFs in customer edge devices.


Example

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

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

Copyright © 2025 Pica8 Inc. All Rights Reserved.