Referring to VLAN interfaces in commands
To refer to a vif within an interfaces command, such as show interfaces or set interfaces, specify the whole path to the vif configuration node, as in the following example.
show interfaces dataplane dp0p1p2 vif 40
When referring to the same vif within other commands—for example, enabling RIP on the interface—use the format of if-x.vlan-id, where if-x is the interface type plus the interface identifier (for example, dp0p1p2) and vlan-id is the VLAN ID (and also the identifier of the vif). The following example refers to the vif on VLAN 40 configured under the dp0p1p2 interface.
set protocols rip interface dp0p1p2.40