8
Predefined user roles
network-admin
network-operator
Parameters
instance-id
: Specifies an OpenFlow instance by its ID in the range of 1 to 4094.
controller-id
: Specifies a controller by its ID in the range of 0 to 63. If you do not specify a controller ID,
this command displays information about all controllers for an OpenFlow instance.
Examples
# Display controller information for OpenFlow instance 100.
<Sysname> display openflow instance 100 controller
Instance 100 controller information:
Reconnect interval : 60 (s)
Echo interval : 5 (s)
Controller ID : 1
Controller IP address : 192.168.49.49
Controller port : 6633
Local IP address : 192.0.0.1
Local port : 5566
Controller role : Equal
Connect type : TCP
Connect state : Established
Packets sent : 9
Packets received : 9
SSL policy : --
VRF name : --
Table 1 Command output
Field Description
Reconnect interval
Reconnection interval (in seconds) for an OpenFlow instance to reconnect to
all controllers.
Echo interval
Connection detection interval (in seconds) at which an OpenFlow instance
sends an Echo Request message to all controllers.
Controller IP address
IP address of the controller.
Controller port
TCP port number of the controller.
Local IP address
Source IP address of the controller that corresponds to an OpenFlow
instance.
Local port
Source TCP port number of the current controller.
Controller role
Role of the controller:
•
Equal
—The controller has the same mode as other controllers that are
specified for the OpenFlow instance.
•
Master
—The controller is the master controller for the OpenFlow
instance.
•
Slave
—The controller is a subordinate controller for the OpenFlow
instance.
If the controller is not configured with any role, this field displays two hyphens
(
--
).