Rest Hostname; Rest Port; Sample Configuration - Cisco ASR 5500 System Administration Manual

Hide thumbs Also See for ASR 5500:
Table of Contents

Advertisement

Sample Configuration

Important

rest hostname

This NETCONF Protocol Configuration mode command specifies a hostname the web server will serve. If
configured, mandates the web server to only service requests whose Host field matches the configured
hostname.
The command syntax is: rest hostname host_name, where host_name is an alphanumeric string of 1 to 63
characters.
Use no rest hostname to use the system name; matching of hostname is not mandated.
Important

rest port

This NETCONF Protocol Configuration mode command sets the REST interface port number.
The command syntax is: rest port port_number, where port_number must be an integer from 1 through 65535.
Use no rest port to reset the port number to default 443.
Important
Sample Configuration
The following command sequence establishes a ConfD configuration in support of NETCONF protocol.
A type v2-RSA SSH key is required for enabling server confd.
configure
context local
<encrypted key text>
len 938 type v2-rsa
ASR 5500 System Administration Guide, StarOS Release 21.5
344
A change to the REST interface certificate may result in a planned restart of ConfD and temporary loss
of connectivity over the NETCONF and REST (if still enabled) interfaces.
Changes to global certificates which ConfD is using while REST is enabled will also result in a restart of
ConfD.
A change to the REST interface hostname may result in a planned restart of ConfD and temporary loss
of connectivity over the NETCONF and REST (if still enabled) interfaces.
Changes to global certificates which ConfD is using while REST is enabled will also result in a restart of
ConfD.
A change to the REST interface port value may result in a planned restart of ConfD and temporary loss
of connectivity over the NETCONF and REST (if still enabled) interfaces.
Changes to global certificates which ConfD is using while REST is enabled will also result in a restart of
ConfD.
ssh key
server confd
NETCONF and ConfD

Advertisement

Table of Contents
loading

Table of Contents