33
Parameters
port-number
: Specifies a port on which the device listens for TCP connection requests. The value
range for the
port-number
argument is 1 to 65535. If you do not specify a port, the device uses the
default port number 6640.
Usage guidelines
The device can listen for TCP connection requests on only one port. If you execute this command
multiple times, the most recent configuration takes effect.
This command takes effect after you execute the
ovsdb server enable
command.
Examples
# Enable the device to listen for TCP connection requests on port 6632.
<Sysname> system-view
[Sysname] ovsdb server ptcp port 6632
ovsdb server ssl
Use
ovsdb server ssl
to establish an active OVSDB SSL connection to a controller.
Use
undo ovsdb server ssl
to remove the OVSDB SSL connection to a controller.
Syntax
ovsdb server ssl
ipv4-address
port
port-number
undo ovsdb server ssl
ipv4-address
port
port-number
Default
The device does not have active SSL connections.
Views
System view
Predefined user roles
network-admin
Parameters
ssl
ipv4-address
: Specifies the destination IPv4 address for the SSL connection.
port
port-number
: Specifies the destination port for the SSL connection. The value range for the
port-number
argument is 1 to 65535.
Usage guidelines
Before you use this command, specify a key file, certificate file, and CA certificate file for SSL.
The device can have a maximum of eight active SSL connections. All the SSL connections use the
same key file, certificate file, and CA certificate file.
This command takes effect after you execute the
ovsdb server enable
command.
Examples
# Establish an SSL connection to port 6632 at 10.0.2.15.
<Sysname> system-view
[Sysname] ovsdb server ssl 10.0.2.15 port 6632
ovsdb server tcp
Use
ovsdb server tcp
to establish an active OVSDB TCP connection to a controller.