Skip to content

Commit

Permalink
remove unnecessary -- in config CLI commands
Browse files Browse the repository at this point in the history
  • Loading branch information
qinchuanares authored and prgeor committed Jan 5, 2023
1 parent 2f8a1cc commit ab22650
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions doc/platform_api/CMIS_and_C-CMIS_support_for_ZR.md
Original file line number Diff line number Diff line change
Expand Up @@ -779,28 +779,29 @@ configure privisioning settings of the transceivers

- Example (bring module up from low power mode, or bring down module to low power mode):
```
admin@sonic:~# config interface transceiver lpmode Ethernet0 -- enable
admin@sonic:~# config interface transceiver lpmode Ethernet0 enable
Enabling low-power mode for port Ethernet0 ... OK
admin@sonic:~# config interface transceiver lpmode Ethernet0 -- disable
admin@sonic:~# config interface transceiver lpmode Ethernet0 disable
Disabling low-power mode for port Ethernet0 ... OK
```

- Example (config the privisioning frequency):
```
admin@sonic:~# config interface transceiver frequency Ethernet0 -- 196025
admin@sonic:~# config interface transceiver frequency Ethernet0 196025
Setting laser frequency to 196025 GHz on port Ethernet0
```

- Example (config the privisioning TX power):
The "--" is needed here because the provisioned value is negative.
```
admin@sonic:~# config interface transceiver tx_power Ethernet0 -- -10.0
Setting target Tx output power to -10.0 dBm on port Ethernet0
```

- Example (config the loopback mode):
```
admin@sonic:~$ config interface transceiver loopback Ethernet0 -- none
admin@sonic:~$ config interface transceiver loopback Ethernet0 none
Setting loopback mode to none
```

Expand Down

0 comments on commit ab22650

Please sign in to comment.