Switchport Mode - Mellanox Technologies Mellanox SX1018 Command Reference Manual

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

Advertisement

switchport mode

switchport mode {access | trunk | hybrid | access-dcb}
no switchport mode
Sets the switch port mode.
The no form of the command sets the switch port mode to access.
Syntax Description
access
trunk
hybrid
access-dcb
Default
access.
Modes/Context
Config interface ethernet
Config Interface Port Channel
History
3.1.1400
Role
admin
Example
switch (config) # interface ethernet 1/7
switch (config interface ethernet 1/7) # switchport mode access
switch (config interface ethernet 1/7) # show interfaces switchport
Interface
-----------|------------|-------------|---------------------------
Eth1/2
Eth1/3
Eth1/4/1
Eth1/4/2
Eth1/5
Eth1/6
....
Po34
Po4096
switch (config interface ethernet 1/7) #
Related Commands
show vlan
show interfaces switchport
switchport access vlan
switchport [trunk | hybrid] allowed-vlan
vlan
Note
Un-tagged port. 802.1q tagged traffic will be filtered.
egress traffic is un-tagged.
802.1q tagged port, un-tagged traffic will be filtered.
Both 802.1q tagged and un-tagged traffic is allowed on
the port.
Un-tagged port, egress traffic is priority tagged.
|
Mode
| Access vlan |
access
1
access
1
access
1
access
1
access
1
access
1
access
1
access
1
Allowed vlans
Mellanox Technologies
Rev 1.6.2
325

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents