Commit 7ab2f5b
Mike Heath
Fix link speeds enum
It appears the documentation is in error when it says that link speed 4
is 10 Gbps. I have a TL-SG3210XHP-M2 with 8 2.5 Gbps ports and 2 10
Gbps SFP+ ports. The `switch_ports` CLI command reports the max speed
of the 2.5 Gbps ports as 'SPEED_10_GBPS' and errors on the SFP+ ports
saying that '5' is not a valid value for `LinkSpeed`.
I also have a TL-SX3016F switch with 16 SFP+ 10 Gbps ports which fails.
This commit fixes the issues with both switches.1 parent 4c5005a commit 7ab2f5b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
0 commit comments