set protocols restconf port
The set protocols restconf port command configures RESTCONF service listening port on RESTCONF server. By default, the RESTCONF service port number is 443.
The delete protocols restconf port command restores the configuration to the default value on RESTCONF server.
NOTE: The RESTCONF service listening port in the HTTP request URL sent by RESTCONF Client needs to be consistent with the port configured on the server side. |
---|
Â
Command Syntax
set protocols restconf port <port-number>
delete protocols restconf port
Â
Parameter
Parameter | Description |
---|---|
port <port-number> | Specifies RESTCONF service listening port. The value is an integer that ranges from 1024 to 65535. The default value is 443. |
Â
Example
Configure RESTCONF service listening port to 1024 on RESTCONF server.
admin@PICOS# set protocols restconf port 1024
admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.