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

Configuring Trunk Mode VLAN Membership, Configuring Hybrid Mode VLAN Membership

Page 69 highlights

Rev 1.6.9 Step 5. Step 6. Step 7. Step 8. Enter the interface context. Run: switch (config) # interface ethernet 1/36 switch (config interface ethernet 1/36) # From within the interface context, configure the interface mode to Access. Run: switch (config interface ethernet 1/36) # switchport mode hybrid switch (config interface ethernet 1/36) # From within the interface context, configure the Access VLAN membership. Run: switch (config interface ethernet 1/36) # switchport hybrid vlan 6 switch (config interface ethernet 1/36) # Change to config mode again. Run: switch (config interface ethernet 1/36) # exit switch (config) # 5.3.3 Configuring Trunk Mode VLAN Membership  To configure Trunk mode VLAN membership: Step 1. Log in as admin. Step 2. Enter config mode. Run: switch > enable switch # configure terminal Step 3. Create a VLAN. Run: switch (config) # vlan 10 switch (config vlan 10) # Step 4. Change back to config mode. Run: switch (config vlan 10) # exit switch (config) # Step 5. Enter the interface context. Run: switch [standalone: master] (config) # interface ethernet 1/35 switch [standalone: master] (config interface ethernet 1/35) # Step 6. From within the interface context, configure the interface mode to Trunk. Run: switch [standalone: master] (config interface ethernet 1/35) # switchport mode trunk switch [standalone: master] (config interface ethernet 1/35) # 5.3.4 Configuring Hybrid Mode VLAN Membership  To configure Hybrid mode VLAN membership: Step 1. Log in as admin. Step 2. Enter config mode. Run: switch > enable switch # configure terminal Step 3. Create a VLAN. Run: switch (config) # vlan 10 switch (config vlan 10) # Mellanox Technologies 69 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
69
Mellanox Technologies Confidential
Step 5.
Enter the interface context. Run:
Step 6.
From within the interface context, configure the interface mode to Access. Run:
Step 7.
From within the interface context, configure the Access VLAN membership. Run:
Step 8.
Change to config mode again. Run:
5.3.3
Configuring Trunk Mode VLAN Membership
To configure Trunk mode VLAN membership:
Step 1.
Log in as admin.
Step 2.
Enter config mode. Run:
Step 3.
Create a VLAN. Run:
Step 4.
Change back to config mode. Run:
Step 5.
Enter the interface context. Run:
Step 6.
From within the interface context, configure the interface mode to Trunk. Run:
5.3.4
Configuring Hybrid Mode VLAN Membership
To configure Hybrid mode VLAN membership:
Step 1.
Log in as admin.
Step 2.
Enter config mode. Run:
Step 3.
Create a VLAN. Run:
switch (config) # interface ethernet 1/36
switch (config interface ethernet 1/36) #
switch (config interface ethernet 1/36) # switchport mode hybrid
switch (config interface ethernet 1/36) #
switch (config interface ethernet 1/36) # switchport hybrid vlan 6
switch (config interface ethernet 1/36) #
switch (config interface ethernet 1/36) # exit
switch (config) #
switch > enable
switch # configure terminal
switch (config) # vlan 10
switch (config vlan 10) #
switch (config vlan 10) # exit
switch (config) #
switch [standalone: master] (config) # interface ethernet 1/35
switch [standalone: master] (config interface ethernet 1/35) #
switch [standalone: master] (config interface ethernet 1/35) # switchport mode trunk
switch [standalone: master] (config interface ethernet 1/35) #
switch > enable
switch # configure terminal
switch (config) # vlan 10
switch (config vlan 10) #