Switchport {Hybrid, Trunk} Allowed Vlan - Mellanox Technologies Mellanox SX1018 Command Reference Manual

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

Advertisement

switchport {hybrid, trunk} allowed vlan

switchport {hybrid, trunk} allowed vlan {<vlan> | add <vlan> | remove <vlan>
all | except <vlan> | none}
Sets the port allowed VLANs.
vlan
Syntax Description
add
remove
all
except
none
Default
N/A
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 hybrid allowed-vlan
all
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
....
Po34
Po4096
switch (config interface ethernet 1/7) #
Related Commands
show vlan
show interfaces switchport
switchport access vlan
switchport mode
vlan
Note
This command is not applicable for interfaces with port mode access or access-dcb.
VLAN ID (1-4094) or VLAN range.
Add VLAN or range of VLANs.
Remove VLANs or range of VLANs.
Add all VLANs in available in the VLAN table.
New vlans that will be added to the vlan table will be
added automatically.
Add all VLANs expect this VLAN or VLAN range.
Remove all VLANs.
|
Mode
| Access vlan |
access
1
access
1
access
1
access
1
access
1
access
1
hybrid
1
access
1
access
1
Allowed vlans
1, 10
Mellanox Technologies
Rev 1.6.2
327

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents