4
Syntax
controller
controller-id
auxiliary
auxiliary-id
transport
{
tcp
|
udp
|
ssl
ssl-policy-name
}
[
address
{
ip
ipv4-address
|
ipv6 ipv6-address
}
]
[
port
port-number
]
undo
controller
id auxiliary
auxiliary-id
Default
An OpenFlow instance does not have auxiliary connections to a controller.
Views
OpenFlow instance view
Predefined user roles
network-admin
Parameters
controller-id
: Specifies a controller by its ID in the range of 0 to 63.
auxiliary
auxiliary-id
: Specifies an auxiliary connection ID in the range of 1 to 255.
transport
: Specifies the transport layer protocol.
tcp
: Specifies TCP connections.
udp
: Specifies UDP connections.
ssl ssl-policy-name
: Specifies the SSL client policy that the controller uses to authenticate the
OpenFlow switch. The
ssl-policy-name
argument is a case-insensitive string of 1 to 31
characters.
ip
ipv4-address
: Specifies the IPv4 address of the controller.
ipv6
ipv6-address
: Specifies the IPv6 address of the controller.
port
port-number
: Sets the port number used to establish TCP connections to the controller.
The value range for the port number is 1 to 65535. The default value is 6633.
Usage guidelines
Auxiliary connections are used to improve the communication performance between the controller
and OpenFlow switches.
For an auxiliary connection to be successfully established, make sure the configuration of the
auxiliary connection does not conflict with the configuration of the main connection.
An auxiliary connection can have a different destination IP address and port number than the main
connection. If no destination IP address and port number are specified, the auxiliary connection uses
the destination IP address and port number configured for the main connection.
Examples
# Specify controller 1 for OpenFlow instance 1 and configure auxiliary connection 1 to the controller.
<Sysname> system-view
[Sysname] openflow instance 1
[Sysname-of-inst-1] controller 10 auxiliary 1 transport tcp
controller connect interval
Use
controller connect interval
to set the reconnection interval.
Use
undo
controller connect interval
to restore the default.