show rest interface

Syntax

show rest interface

Description

The REST operational status will be shown as Up only when the REST interface is enabled and either Web management or Web management SSL is enabled. HTTP access is enabled when Web management is enabled. HTTPS access is enabled when Web management SSL is enabled.

Command context

Required context: operator

Example

switch# show rest-interface
REST Interface - Server Configuration
  REST Interface            : Enabled
  REST Operational Status   : Up
  REST Session Idle Timeout : 600 seconds
  HTTP Access               : Enabled
  HTTPS Access              : Disabled

AnyCLI RestAPIs

AnyCLI RestAPIs maintains contest level information.

Example: To create VLAN and enable IP routing follow following:

  • Send an API call for Vlan creation.
  • Send an API call for exit.
  • Send an API call for enabling IP routing.