Connectivity Guide

Table Of Contents
Supported
Releases
10.4.1 or later
show openflow switch controllers
Displays OpenFlow controllers for a specific logical switch instance.
Syntax
show openflow switch logical-switch-name controllers
Parameters logical-switch-nameEnter the name of the logical switch instance to query.
Default None
Command Mode EXEC
Usage
Information
None
Example
OS10# show openflow switch of-switch-1 controllers
Logical switch name: of-switch-1
Total Controllers: 1
Controller: 1
Target: 10.16.208.150:6633
Protocol: TCP
Connected: NO
Role: Equal
Last_error: Network is unreachable
State: BACKOFF
sec_since_disconnect: 0
Supported
Releases
10.4.1 or later
switch
Creates a logical switch instance or modifies an existing logical switch instance.
Syntax
switch logical-switch-name
Parameters logical-switch-nameEnter 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 837