Configuring Restful Access; Fips Compliance; Configuring Restful Access Over Http; Configuring Restful Access Over Https - HPE FlexFabric 5940 Series Configuration Manual

Fundamentals configuration guide
Hide thumbs Also See for FlexFabric 5940 Series:
Table of Contents

Advertisement

Configuring RESTful access

The device provides the Representational State Transfer application programming interface
(RESTful API). Based on this API, you can use programming languages such as Python, Ruby, or
Java to write programs to perform the following tasks:
Send RESTful requests to the device to pass authentication.
Use RESTful API operations to configure and manage the device. RESTful API operations
include Get, Put, Post, and Delete.
The device supports using HTTP or HTTPS to transfer RESTful packets.
RESTful access is disabled by default. To configure RESTful access, you must first log in through the
console port.

FIPS compliance

The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for
features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more
information about FIPS mode, see Security Configuration Guide.
RESTful access over HTTP is not supported in FIPS mode.

Configuring RESTful access over HTTP

Step
Enter system view.
1.
Enable RESTful access over
2.
HTTP.
Create a local user and enter
3.
local user view.
Configure a password for the
4.
local user.
(Optional.) Assign a user
5.
role to the local user.
Specify the HTTP service for
6.
the local user.

Configuring RESTful access over HTTPS

Step
Enter system view.
1.
Enable RESTful access over
2.
HTTPS.
Command
system-view
restful http enable
local-user user-name [ class
manage ]
password [ { hash | simple }
password ]
authorization-attribute user-role
user-role
service-type http
Command
system-view
restful https enable
65
Remarks
N/A
By default, RESTful access over
HTTP is disabled.
By default, no local user is
configured.
The password is saved in hashed
form.
By default, no password is
configured for a local user.
The default user role is
network-operator for a RESTful
access user.
By default, no service type is
specified for a local user.
Remarks
N/A
By default, RESTful access over
HTTPS is disabled.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 5950 series

Table of Contents