Switchport Access - Mellanox Technologies Mellanox SX1018 Command Reference Manual

Ethernet managed blade switch
Hide thumbs Also See for Mellanox SX1018:
Table of Contents

Advertisement

switchport access

switchport access vlan <vlan-id>
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
Default
1
Modes/Context
Config interface ethernet
Config Interface Port Channel
History
3.1.1400
3.2.0500
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
-----------|------------|-------------|---------------------------
Eth1/2
Eth1/3
Eth1/4/1
Eth1/4/2
Eth1/5
Eth1/6
Eth1/7
....
Po4096
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.
1-4094.
Initial version
Format change (removed hybrid and access-dcb
options). Previous command format was: "switchport
{hybrid | access-dcb | access} vlan <vlan-id>"
|
Mode
| Access vlan |
access
1
access
1
access
1
access
1
access
1
access
1
access
10
access
1
Allowed vlans
Mellanox Technologies
Rev 1.6.2
326

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents