Skip to content

Commit 86ef8c5

Browse files
committed
add gearbox phy show commands
1 parent 3b0071e commit 86ef8c5

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

doc/Command-Reference.md

+52
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
* [ECN](#ecn)
4444
* [ECN show commands](#ecn-show-commands)
4545
* [ECN config commands](#ecn-config-commands)
46+
* [Gearbox](#gearbox)
47+
* [Gearbox show commands](#gearbox-show-commands)
4648
* [Interfaces](#interfaces)
4749
* [Interface Show Commands](#interface-show-commands)
4850
* [Interface Config Commands](#interface-config-commands)
@@ -2257,6 +2259,56 @@ The list of the WRED profile fields that are configurable is listed in the below
22572259
22582260
Go Back To [Beginning of the document](#) or [Beginning of this section](#ecn)
22592261
2262+
## Gearbox
2263+
2264+
This section explains all the Gearbox PHY show commands that are supported in SONiC.
2265+
2266+
### Gearbox show commands
2267+
This sub-section contains the show commands that are supported for gearbox phy.
2268+
2269+
**show gearbox interfaces status**
2270+
2271+
This command displays information about the gearbox phy interface lanes, speeds and status. Data is displayed for both MAC side and line side of the gearbox phy
2272+
2273+
- Usage:
2274+
```
2275+
show gearbox interfaces status
2276+
```
2277+
2278+
- Example:
2279+
2280+
```
2281+
home/admin# show gearbox interfaces status
2282+
PHY Id Interface MAC Lanes MAC Lane Speed PHY Lanes PHY Lane Speed Line Lanes Line Lane Speed Oper Admin
2283+
-------- ----------- ----------- ---------------- ----------- ---------------- ------------ ----------------- ------ -------
2284+
1 Ethernet0 25,26,27,28 10G 200,201 20G 206 40G up up
2285+
1 Ethernet4 29,30,31,32 10G 202,203 20G 207 40G up up
2286+
1 Ethernet8 33,34,35,36 10G 204,205 20G 208 40G up up
2287+
2288+
```
2289+
2290+
**show gearbox phys status**
2291+
2292+
This command displays basic information about the gearbox phys configured on the switch.
2293+
2294+
- Usage:
2295+
```
2296+
show gearbox phy status
2297+
```
2298+
2299+
- Example:
2300+
2301+
```
2302+
/home/admin# show gearbox phys status
2303+
PHY Id Name Firmware
2304+
-------- ------- ----------
2305+
1 sesto-1 v0.1
2306+
2307+
```
2308+
2309+
Go Back To [Beginning of the document](#) or [Beginning of this section](#gearbox)
2310+
2311+
22602312
## Update Device Hostname Configuration Commands
22612313
22622314
This sub-section of commands is used to change device hostname without traffic being impacted.

0 commit comments

Comments
 (0)