Skip to content

Commit ae97e59

Browse files
authored
Update sonic command doc to add CLIs relative to SONiC fips (sonic-net#2377)
What I did Update sonic command doc to add CLIs relative to SONiC fips. See https://github.com/sonic-net/SONiC/blob/master/doc/fips/SONiC-OpenSSL-FIPS-140-3.md
1 parent abd5eba commit ae97e59

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

doc/Command-Reference.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10470,6 +10470,39 @@ This command removes all unused images from the device, leaving only the current
1047010470
No image(s) to remove
1047110471
```
1047210472
10473+
**sonic-installer get-fips**
10474+
10475+
This command is used to get the fips status.
10476+
10477+
- Usage:
10478+
```
10479+
sonic-installer get-fips [<image_name>]
10480+
```
10481+
If the image is not specified, the next boot image will be used.
10482+
10483+
- Example:
10484+
```
10485+
admin@sonic:~$ sudo sonic-installer get-fips
10486+
FIPS is enabled
10487+
```
10488+
10489+
**sonic-installer set-fips**
10490+
10491+
The command is used to enable or disable the fips.
10492+
10493+
- Usage:
10494+
```
10495+
sonic-installer set-fips [--enable-fips|--disable-fips] [<image_name>]
10496+
```
10497+
If the option --enable-fips or --disable-fips is not specified, the default behavior is to enable fips.
10498+
10499+
- Example:
10500+
```
10501+
admin@sonic:~$ sudo sonic-installer set-fips --enable-fips
10502+
Done
10503+
Set FIPS for the image successfully
10504+
```
10505+
1047310506
Go Back To [Beginning of the document](#) or [Beginning of this section](#software-installation-and-management)
1047410507
1047510508

0 commit comments

Comments
 (0)