Modifying the RESTCONF Server Settings

About this task

Use this procedure to modify the RESTCONF server settings.

Note

Note

These steps are considered optional and RESTCONF can operate with the default configuration of these values.

Procedure

  1. Enter Application Configuration mode:

    enable

    configure terminal

    application

  2. Disable trap notification when the RESTCONF server is not available:

    no restconf trap-notification

  3. Modify the TCP port number for the RESTCONF server:
    1. Disable RESTCONF: no restconf enable
    2. Change the value of the TCP port: restconf tcp-port <1-49151>
    3. Enable RESTCONF: restconf enable
  4. Disable TLS for the RESTCONF server:
    1. Disable RESTCONF: no restconf enable
    2. Disable TLS: no restconf tls
    3. Enable RESTCONF: restconf enable

Variable Definitions

Use the data in the following table to modify the RESTCONF server settings.

Variable

Value

enable

Enables or disables the RESTCONF server. The default is disabled.

tcp-port <1-49151>

Specifies the TCP port to use for the RESTCONF server. The default is 8080.

trap-notification

Enables or disables trap notification when the RESTCONF server is not available. The default is enabled.