Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

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. 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 vlan-interface interface vlan10 vrf vrf1
admin@Xorplus# commit
  • No labels