HP Mellanox SX1018 Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet - Page 67

Vlans

Page 67 highlights

Rev 1.6.9 If the physical port is operationally up, this port will be an active member of the aggregation. Consequently, it will be able to convey traffic. 5.2.2 Configuring Link Aggregation Control Protocol (LACP)  To configure LACP: Step 1. Log in as admin. Step 2. Enter config mode. Run: switch > enable switch # configure terminal Step 3. Create a port-channel entity. Run: switch (config) # interface port-channel 1 switch (config interface port-channel 1) # Step 4. Change back to config mode. Run: switch (config interface port-channel 1) # exit switch (config) # Step 5. Enable LACP in the switch. Run: switch (config) # lacp switch (config) # Step 6. Add a physical port to the port-channel. Run: switch (config interface ethernet 1/4) # channel-group 1 mode active/passive switch (config interface ethernet 1/4) # 5.3 VLANs A Virtual Local Area Network (VLAN) is an L2 segment of the network which defines a broadcast domain and is identified by a tag added to all Ethernet frames running within the domain. This tag is called a VLAN ID (VID) and can take a value of 1-4094. 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. Mellanox Technologies 67 Mellanox Technologies Confidential

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

Rev 1.6.9
Mellanox Technologies
67
Mellanox Technologies Confidential
5.2.2
Configuring Link Aggregation Control Protocol (LACP)
To configure LACP:
Step 1.
Log in as admin.
Step 2.
Enter config mode. Run:
Step 3.
Create a port-channel entity. Run:
Step 4.
Change back to config mode. Run:
Step 5.
Enable LACP in the switch. Run:
Step 6.
Add a physical port to the port-channel. Run:
5.3
VLANs
A Virtual Local Area Network (VLAN) is an L2 segment of the network which defines a broad-
cast domain and is identified by a tag added to all Ethernet frames running within the domain.
This tag is called a VLAN ID (VID) and can take a value of 1-4094.
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.
If the physical port is operationally up, this port will be an active member of the aggre-
gation. Consequently, it will be able to convey traffic.
switch > enable
switch # configure terminal
switch (config) # interface port-channel 1
switch (config interface port-channel 1) #
switch (config interface port-channel 1) # exit
switch (config) #
switch (config) # lacp
switch (config) #
switch (config interface ethernet 1/4) # channel-group 1 mode active/passive
switch (config interface ethernet 1/4) #