Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

interfaces dataplane <interface-name> vif <vif-id> vlan <vlan-id>

Creates a vif.

set interfaces dataplane interface-name vif vif-id [ vlan vlan-id ]
delete interfaces dataplane interface-name vif vif-id [ vlan vlan-id ]
show interfaces dataplane interface-name vif vif-id [ vlan vlan-id ]
dataplane interface-name
The name of a data plane interface. For more information about the supported interface name formats, refer to Data Plane Interface.
vif vif-id
Multinode. The ID of a vif. The ID ranges from 1 through 4094.
vlan vlan-id
Multinode. The VLAN ID of a vif, for use with 802.1Q VLAN tagging. The ID ranges from 1 through 4094. Note that only 802.1Q-tagged packets are accepted on Ethernet vifs.

You can define more than one vif for an interface by creating multiple vif configuration nodes.

Configuration mode


interfaces {    
   dataplane interface-name {
      vif vif-id {
         vlan vlan-id
      }
   }
}

Use this command to create a vif. The vifs function as VLAN interfaces, and only 802.1Q tagged packets are accepted.

Note: The interface or bonding group must be defined before a vif can be added. For Ethernet bonded links, group members must also be assigned.

Use the set form of this command to create a vif.

Use the delete form of this command to delete a vif.

Use the show form of this command to display a vif.