HP Mellanox SX1018 Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 334
switchport access, switchport access vlan <vlan-id>, no switchport access vlan
View all HP Mellanox SX1018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 334 highlights
Rev 1.6.9 switchport access switchport access vlan no switchport access vlan Sets the port access VLAN. The no form of the command sets the port access VLAN to 1. Syntax Description vlan-id 1-4094. Default 1 Configuration Mode Config Interface Ethernet Config Interface Port Channel History 3.1.1400 Initial version 3.2.0500 Format change (removed hybrid and access-dcb options). Previous command format was: "switchport {hybrid | access-dcb | access} vlan " Role admin Example switch (config) # interface ethernet 1/7 switch (config interface ethernet 1/7) # switchport access vlan 10 switch (config interface ethernet 1/7) # show interfaces switchport Interface | Mode | Access vlan | Allowed vlans Eth1/2 access 1 Eth1/3 access 1 Eth1/4/1 access 1 Eth1/4/2 access 1 Eth1/5 access 1 Eth1/6 access 1 Eth1/7 access 10 .... Po4096 access 1 switch (config interface ethernet 1/7) # Related Commands show vlan show interfaces switchport switchport mode switchport [trunk | hybrid] allowed-vlan vlan Note This command is not applicable for interfaces with port mode trunk. only one option ("access", "access-dcb" or "hybrid") is applicable to configure on the port, depends on the switchport mode of the port. Mellanox Technologies 334 Mellanox® Technologies Confidential