Users Guide

Table Of Contents
corresponding to
the switch
certicate)
Example
The following example congures an OpenFlow controller with IP address 10.11.63.56 on port 6633 for the logical
switch instance, of-switch-1:
OS10# configure terminal
OS10 (config)# openflow
OS10 (config-openflow)# switch of-switch-1
OS10 (config-openflow-switch)# controller ipv4 10.11.63.56 port 6633
OS10 (config-openflow-switch)#
The following example congures multiple OpenFlow controllers on port 6633 for the logical switch instance, of-
switch-1:
OS10# configure terminal
OS10 (config)# openflow
OS10 (config-openflow)# switch of-switch-1
OS10 (config-openflow-switch)# controller ipv4 10.1.1.1 port 6633
OS10 (config-openflow-switch)# controller ipv4 10.1.1.8 port 6633
OS10 (config-openflow-switch)# controller ipv4 10.1.1.12 port 6633
OS10 (config-openflow-switch)# controller ipv4 10.1.2.17 port 6633
OS10 (config-openflow-switch)# controller ipv4 10.1.23.12 port 6633
OS10 (config-openflow-switch)# controller ipv4 10.1.99.121 port 6633
OS10 (config-openflow-switch)# controller ipv6 2025::1 port 6633
OS10 (config-openflow-switch)# controller ipv6 2025::12 port 6633
Supported Releases 10.4.1.0 or later
dpid-mac-address
Species the MAC address bits of the datapath ID (DPID) of the logical switch instance.
Syntax
dpid-mac-address MAC-address
Parameters MAC-address—48-bit MAC address in hexadecimal notation, nn:nn:nn:nn:nn:nn
Default MAC address
Command Mode OPENFLOW SWITCH CONFIGURATION
Usage Information
The controller uses the DPID to identify the logical switch instance. The DPID is a 64-bit number that is sent to the
controller in the features_reply message. The DPID is constructed from the instance ID, which is the most
signicant 16 bits (default to 0) and the DPID-MAC-ADDRESS, which is the least signicant 48 bits. OS10 currently
supports only one logical switch instance and the instance ID is automatically set to 0. This value is not
congurable.
You can use this command to modify the MAC address bits of the DPID.
Example
DPID MAC address is 00:00:00:00:00:0a.
OS10 (config)# openflow
OS10 (config-openflow)# switch of-switch-1
OS10 (config-openflow-switch)# dpid-mac-address 00:00:00:00:00:0a
OS10 (config-openflow-switch)#
Supported Releases 10.4.1.0 or later
OpenFlow 1023