Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
415
Mellanox Technologies Confidential
Step 6. From within the interface context, configure the interface mode to Trunk. Run:
5.3.4 Configuring Hybrid Mode VLAN Membership
To configure Hybrid mode VLAN membership:
Step 1. Log in as admin.
Step 2. Enter config mode. Run:
Step 3. Create a VLAN. Run:
Step 4. Change back to config mode. Run:
Step 5. Enter the interface context. Run:
Step 6. From within the interface context, configure the interface mode to Hybrid. Run:
Step 7. From within the interface context, configure the allowed VLAN membership. Run:
Step 8. Change to config mode again. Run:
switch [standalone: master] (config interface ethernet 1/35) # switchport mode trunk
switch [standalone: master] (config interface ethernet 1/35) #
switch > enable
switch # configure terminal
switch (config) # vlan 10
switch (config vlan 10) #
switch (config vlan 10) # exit
switch (config) #
switch (config) # interface ethernet 1/35
switch (config interface ethernet 1/35) #
switch (config interface ethernet 1/35) # switchport mode hybrid
switch (config interface ethernet 1/35) #
switch (config interface ethernet 1/35) # switchport hybrid allowed-vlan add 10
switch (config interface ethernet 1/35) #
switch (config interface ethernet 1/35) # exit
switch (config) #