Users Guide

Table Of Contents
show openflow switch controllers
Displays OpenFlow controllers for a specific logical switch instance.
Syntax
show openflow switch logical-switch-name controllers
Parameters logical-switch-name—Enter the name of the logical switch instance to query.
Default None
Command Mode EXEC
Usage Information
This command displays information for all active OpenFlow controllers.
Example
OS10# show openflow switch ice controllers
Logical switch name: ice
Total Controllers: 2
Controller: 1
Target: 10.16.132.59:6653
Protocol: TCP
Connected: YES
Role: Master
Last_error: Connection timed out
State: ACTIVE
sec_since_disconnect: 0
Controller: 2
Target: [2001::2]:6653
Protocol: TCP
Connected: YES
Role: Equal
Last_error: Connection timed out
State: ACTIVE
sec_since_disconnect: 0
Supported
Releases
10.4.1.0 or later
switch
Creates a logical switch instance or modifies an existing logical switch instance.
Syntax
switch logical-switch-name
Parameters logical-switch-name—Enter the name of the logical switch instance that you want to create or modify, a
maximum of 15 characters. OS10 supports only one instance of the logical switch.
Default None
Command Mode OPENFLOW CONFIGURATION
Usage Information
You must configure a controller for the logical switch instance. The logical switch instance is disabled by default.
To establish a connection with the controller, enable the logical switch instance using the no shutdown
command. All physical and logical interfaces in the switch are assigned to the configured logical switch.
The no form of this command removes the logical switch instance.
NOTE: OS10 supports only one instance of the logical switch. If you attempt to create a second
logical switch instance, the following message appears:
% Warning: Only one Switch instance is supported
Example
OS10# config terminal
OS10 (config)# openflow
OS10 (config-openflow)# switch of-switch-1
OS10 (config-openflow-switch)# no shutdown
OpenFlow 1015