Topology
1. Jump into the configuration mode.
root@vqfx-re> configure
Entering configuration mode
{master:0}[edit]
root@vqfx-re#
2. Create vlans.
root@vqfx-re# set vlans internal vlan-id 50
3. Assign interfaces to the vlan.
root@vqfx-re# set interfaces xe-0/0/4 unit 0 family ethernet-switching interface-mode access vlan members internal
Note: Default interface mode is 'access' if not specified.
4. Commit the changes.
root@vqfx-re# commit
5. Verify the changes made.
root@vqfx-re> show vlans
Routing instance VLAN name Tag Interfaces
default-switch default 1
default-switch internal 50 xe-0/0/4.0*
Different CLI modes
% - shell mode
> - Operational mode
# - Configuration mode
To use the operational command at the configuration mode use "run" at the beginning of the command
Example: root@vqfx-re#run show vlans
0 Comments