Skip to content

Commit

Permalink
Include configuring laser frequency and tx power (sonic-net#2437)
Browse files Browse the repository at this point in the history
Update CLI examples to reflect recent changes of adding these two config CLIs.

config interface transceiver frequency
config interface transceiver tx-power
  • Loading branch information
qinchuanares authored and preetham-singh committed Nov 18, 2022
1 parent 03ac7b4 commit abc4383
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4116,6 +4116,36 @@ This command is used to enable or disable low-power mode for an SFP transceiver
Disabling low-power mode for port Ethernet0... OK
```

**config interface transceiver frequency**

This command is used to set the coherent module laser frequency

- Usage:
```
config interface transceiver frequency <interface_name> <frequency_value>
```

- Examples:
```
user@sonic:~# config interface transceiver frequency Ethernet0 196100
Setting laser frequency to 196100 GHz on port Ethernet0
```

**config interface transceiver tx_power**

This command is used to set the coherent module tx power

- Usage:
```
config interface transceiver tx_power <interface_name> <tx_power_value>
```

- Examples:
```
user@sonic:~# config interface transceiver tx_power Ethernet0 -- -10.0
Setting target Tx output power to -10.0 dBm on port Ethernet0
```

**config interface transceiver reset**

This command is used to reset an SFP transceiver
Expand Down

0 comments on commit abc4383

Please sign in to comment.