Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
322
3.3 VLANs
no vlan {<vlan-id> | <vlan-range>}
Creates a VLAN or range of VLANs, and enters a VLAN context.
The no form of the command deletes the VLAN or VLAN range.
vlan-id
1-4094.
vlan-range
Any range of VLANs.
VLAN 1 is enabled by default.
Config
3.1.1400
admin
switch (config) # vlan 10
switch (config vlan 10) # show vlan
VLAN Name Ports
---- ----------- --------------------------------------
1 default Eth1/2, Eth1/3, Eth1/4/1, Eth1/4/2 ...
10
switch (config vlan 10) #
show vlan
switchport mode
switchport [trunk | hybrid] allowed-vlan
Interfaces are not added automatically to VLAN unless configured with trunk or
hybrid mode with “all” option turned on.
vlan
vlan {<vlan-id> | <vlan-range>}
Syntax Description
Default
Modes/Context
History
Role
Example
Related Commands
Note