Enabling the RESTCONF Management Interface

Complete the following steps to enable the RESTCONF management interface on an ICX switch and specify the parameters for keeping the FastIron system configuration and RESTCONF configuration in sync.
Ensure the TPM/SSL certificates are already available on the device prior to enabling RESTCONF.
The RESTCONF protocol stack runs as a separate process, which is loaded with the YANG models and maintains its own configuration database with regards to the YANG data model. Therefore, the FastIron configuration must be synced to the RESTCONF protocol stack. The configuration synchronization is always on if RESTCONF is enabled.
  1. Enter global configuration mode.
    device# configure terminal
    
  2. Enable the RESTCONF management interface.
    device(config)# restconf enable
  3. (Optional) Enter the config-sync command to force a configuration synchronization from FastIron to RESTCONF.
    device(config)# config-sync
  4. (Optional) Enter the enable-config-sync command to enable configuration sync from FastIron to RESTCONF.
    device(config)# enable-config-sync
  5. (Optional) Enter the enable-config-sync-interval command to set the periodic configuration sync timeout.
    device(config)# enable-config-sync-interval
  6. (Optional) Enter the show restconf config command to display the RESTCONF configuration.
    device(config)# show restconf config

    The following commands can be run to see if the RESTCONF interface is running successfully:

    • show log
    • show hmon client status all-clients