Connectivity Guide

Table Of Contents
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 modies 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 congure 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 congured 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
Supported Releases 10.4.1 or later
OpenFlow-only mode commands
When you congure the switch to OpenFlow-only mode, only the following commands are available; all other commands are disabled.
OpenFlow
689