Users Guide

Table Of Contents
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.0 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.
NOTE
:
The ntp subcommand under the interface command is not applicable when the switch is in OpenFlow mode.
The ip and ipv6 subcommands under the interface command are applicable only when you congure the interface as the
management port using the
in-band-mgmt command.
The ip and ipv6 commands must be used only in In-Band mode (using the in-band-mgmt command).
Table 64. Modes and CLI commands
Mode Available CLI commands
CONFIGURATION
aaa
alias
banner
class-map
clock
control-plane
crypto
1032 OpenFlow