HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 82

Configuring path costs of ports

Page 82 highlights

Configuring path costs of ports Path cost is a parameter related to the rate of a port. On a spanning tree device, a port can have different path costs in different MSTIs. Setting appropriate path costs allows VLAN traffic flows to be forwarded along different physical links, achieving VLAN-based load balancing. You can have the device automatically calculate the default path cost, or you can configure the path cost for ports. Specifying a standard for the device to use when it calculates the default path cost CAUTION: If you change the standard that the device uses to calculate the default path costs, you restore the path costs to the default. You can specify a standard for the device to use in automatic calculation for the default path cost. The device supports the following standards: • dot1d-1998-The device calculates the default path cost for ports based on IEEE 802.1d-1998. • dot1t-The device calculates the default path cost for ports based on IEEE 802.1t. • legacy-The device calculates the default path cost for ports based on a private standard. Table 13 shows the mappings between the link speed and the path cost. Table 13 Mappings between the link speed and the path cost Link speed 0 10 Mbps 100 Mbps 1000 Mbps Port type Path cost IEEE 802.1d-1998 N/A 65535 Single port Aggregate interface containing 2 Selected ports Aggregate interface 100 containing 3 Selected ports Aggregate interface containing 4 Selected ports Single port Aggregate interface containing 2 Selected ports Aggregate interface 19 containing 3 Selected ports Aggregate interface containing 4 Selected ports Single port Aggregate interface 4 containing 2 Selected ports IEEE 802.1t 200,000,000 2,000,000 Private standard 200,000 2000 1,000,000 1800 666,666 1600 500,000 200,000 100,000 1400 200 180 66,666 160 50,000 140 20,000 20 10,000 18 73

  • 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
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231

73
Configuring path costs of ports
Path cost is a parameter related to the rate of a port. On a spanning tree device, a port can have different
path costs in different MSTIs. Setting appropriate path costs allows VLAN traffic flows to be forwarded
along different physical links, achieving VLAN-based load balancing.
You can have the device automatically calculate the default path cost, or you can configure the path cost
for ports.
Specifying a standard for the device to use when it calculates
the default path cost
CAUTION:
If you change the standard that the device uses to calculate the default path costs, you restore the path
costs to the default.
You can specify a standard for the device to use in automatic calculation for the default path cost. The
device supports the following standards:
dot1d-1998
—The device calculates the default path cost for ports based on IEEE 802.1d-1998.
dot1t
—The device calculates the default path cost for ports based on IEEE 802.1t.
legacy
—The device calculates the default path cost for ports based on a private standard.
Table 13
shows the mappings between the link speed and the path cost.
Table 13
Mappings between the link speed and the path cost
Link speed
Port type
Path cost
IEEE 802.1d-1998
IEEE 802.1t
Private standard
0
N/A
65535
200,000,000
200,000
10 Mbps
Single port
100
2,000,000
2000
Aggregate interface
containing 2 Selected ports
1,000,000
1800
Aggregate interface
containing 3 Selected ports
666,666
1600
Aggregate interface
containing 4 Selected ports
500,000
1400
100 Mbps
Single port
19
200,000
200
Aggregate interface
containing 2 Selected ports
100,000
180
Aggregate interface
containing 3 Selected ports
66,666
160
Aggregate interface
containing 4 Selected ports
50,000
140
1000 Mbps
Single port
4
20,000
20
Aggregate interface
containing 2 Selected ports
10,000
18