HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Application Gu - Page 33

Configuring trunk groups (CLI example)

Page 33 highlights

Configuring trunk groups (CLI example) 1. On Switch 1, configure trunk groups 5 and 3: >> # /cfg/l2/trunk 5 >> Trunk group 5# add 23 >> Trunk group 5# add 24 >> Trunk group 5# ena >> Trunk group 5# apply >> # /cfg/l2/trunk 3 >> Trunk group 3# add 21 >> Trunk group 3# add 22 >> Trunk group 3# ena >> Trunk group 3# apply >> Trunk group 3# save 2. On Switch 2, configure trunk groups 4 and 2: >> # /cfg/l2/trunk 4 >> Trunk group 4# add 23 >> Trunk group 4# add 24 >> Trunk group 4# ena >> Trunk group 4# apply >> # /cfg/l2/trunk 2 >> Trunk group 2# add 21 >> Trunk group 2# add 22 >> Trunk group 2# ena >> Trunk group 2# apply >> Trunk group 2# save (Select trunk group 5) (Add port 23 to trunk group 5) (Add port 24 to trunk group 5) (Enable trunk group 5) (Make your changes active) (Select trunk group 3) (Add port 21 to trunk group 3) (Add port 22 to trunk group 3) (Enable trunk group 3) (Make your changes active) (Save for restore after reboot) (Select trunk group 4) (Add port 23 to trunk group 4) (Add port 24 to trunk group 4) (Enable trunk group 4) (Make your changes active) (Select trunk group 2) (Add port 21 to trunk group 2) (Add port 22 to trunk group 2) (Enable trunk group 2) (Make your changes active) (Save for restore after reboot) NOTE: In this example, two switches are used. Any third-party device supporting link aggregation should be configured manually. Connection problems could arise when using automatic trunk group negotiation on the third-party device. 3. Examine the trunking information on each switch using the following command: >> /info/l2/trunk (View trunking information) Information about each port in each configured trunk group will be displayed. Make sure that trunk groups consist of the expected ports and that each port is in the expected state. Ports and trunking 33

  • 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
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

Ports and trunking 33
Configuring trunk groups (CLI example)
1.
On Switch 1, configure trunk groups 5 and 3:
>> # /cfg/l2/trunk 5
(Select trunk group 5)
>> Trunk group 5# add 23
(Add port 23 to trunk group 5)
>> Trunk group 5# add 24
(Add port 24 to trunk group 5)
>> Trunk group 5# ena
(Enable trunk group 5)
>> Trunk group 5# apply
(Make your changes active)
>> # /cfg/l2/trunk 3
(Select trunk group 3)
>> Trunk group 3# add 21
(Add port 21 to trunk group 3)
>> Trunk group 3# add 22
(Add port 22 to trunk group 3)
>> Trunk group 3# ena
(Enable trunk group 3)
>> Trunk group 3# apply
(Make your changes active)
>> Trunk group 3# save
(Save for restore after reboot)
2.
On Switch 2, configure trunk groups 4 and 2:
>> # /cfg/l2/trunk 4
(Select trunk group 4)
>> Trunk group 4# add 23
(Add port 23 to trunk group 4)
>> Trunk group 4# add 24
(Add port 24 to trunk group 4)
>> Trunk group 4# ena
(Enable trunk group 4)
>> Trunk group 4# apply
(Make your changes active)
>> # /cfg/l2/trunk 2
(Select trunk group 2)
>> Trunk group 2# add 21
(Add port 21 to trunk group 2)
>> Trunk group 2# add 22
(Add port 22 to trunk group 2)
>> Trunk group 2# ena
(Enable trunk group 2)
>> Trunk group 2# apply
(Make your changes active)
>> Trunk group 2# save
(Save for restore after reboot)
NOTE:
In this example, two switches are used. Any third-party device supporting link aggregation should be
configured manually. Connection problems could arise when using automatic trunk group negotiation on the
third-party device.
3.
Examine the trunking information on each switch using the following command:
>> /info/l2/trunk
(View trunking information)
Information about each port in each configured trunk group will be displayed. Make sure that trunk groups consist of
the expected ports and that each port is in the expected state.