Configuring Access Mode And Assigning Port Vlan Id (Pvid) To Interfaces; Configuring Hybrid Mode And Assigning Port Vlan Id (Pvid) To Interfaces - Mellanox Technologies Mellanox SX1018 User Manual

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

Advertisement

Each port can have a switch mode of either:
• Access - Access port is a port connected to a host. It can accept only untagged frames,
and assigns them a default configured VLAN (Port VLAN ID). On egress, traffic sent
from the access port is untagged.
• Access-dcb - This mode is Mellanox specific that receives ingress untagged traffic but
sends egress priority tag (VLAN ID = 0)
• Hybrid - Hybrid port is a port connected to either switches or hosts. It can receive both
tagged and untagged frames and assigns untagged frames a default configured VLAN
(Port VLAN ID). It receives tagged frames with VLANs of which the port is a member
(these VLANs' names are allowed). On egress, traffic of allowed VLANs sent from the
Hybrid port is sent tagged, while traffic sent with PVID is untagged.
• Trunk - Trunk port is a port connecting 2 switches. It accepts only tagged frames with
VLANs of which the port is a member. On egress, traffic sent from the Trunk port is
tagged. By default, a Trunk port is, automatically, a member on all current VLANs.
5.3.1

Configuring Access Mode and Assigning Port VLAN ID (PVID) to Interfaces

 To configure Access mode and assign PVID to interfaces:
Log in as admin.
Step 1.
Enter config mode. Run:
Step 2.
switch > enable
switch # configure terminal
Create a VLAN. Run:
Step 3.
switch (config) # vlan 6
switch (config vlan 6) #
Change back to config mode. Run:
Step 4.
switch (config vlan 6) # exit
switch (config) #
Enter the interface context. Run:
Step 5.
switch (config) # interface ethernet 1/36
switch (config interface ethernet 1/36) #
From within the interface context, configure the interface mode to Access. Run:
Step 6.
switch (config interface ethernet 1/36) # switchport mode access
switch (config interface ethernet 1/36) #
From within the interface context, configure the Access VLAN membership. Run:
Step 7.
switch (config interface ethernet 1/36) # switchport access vlan 6
switch (config interface ethernet 1/36) #
Change back to config mode. Run:
Step 8.
switch (config interface ethernet 1/36) # exit
switch (config) #
5.3.2

Configuring Hybrid Mode and Assigning Port VLAN ID (PVID) to Interfaces

 To configure Hybrid mode and assign PVID to interfaces:
Mellanox Technologies
Rev 1.6.2
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents