Skip to content

Commit

Permalink
Update misc.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecmd authored May 1, 2023
1 parent d830101 commit ef2f0b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Random good-to-know things about SONiC that we wish were better documented
| Reset configuration | `sonic-cfggen -H -k "$(sonic-cfggen -d -v 'DEVICE_METADATA.localhost.hwsku')" --print-data > /etc/sonic/config_db.json` |
| Reset configuration w/ new SKU | `sonic-cfggen -H -k "MySKU" --print-data > /etc/sonic/config_db.json; sed 's/^HWSKU=.*/HWSKU=MySKU/' /etc/sonic/sonic-environment` |
| Hardware reset SFP module | `sudo sfputil reset Ethernet0`
| Save configuration before rebooting to new image | `sudo config save -y /host/old_config/config_db.json`

## Enable REST and gNMI API authentication

Expand Down

0 comments on commit ef2f0b8

Please sign in to comment.