OpenFlow Command Reference
684 Router Configuration Guide
of-switch ofs-name controller ip-address:port detail
of-switch ofs-name status controller [ip-address:port]
of-switch ofs-name controller
of-switch ofs-name flowtable
of-switch ofs-name status
of-switch ofs-name port
Context show>open-flow
Description This command displays information related to H-OFS configuration and operations as per the
parameters specified.
If no parameter is specified, this command displays a summary for H-OFS instances configured.
Parameters ofs-name — Specifies the name of the configured H-OFS instance, up to 32 characters.
controller ip-address:port — Displays information on the controller for the specified H-OFS
instance.
Values ip-address: a.b.c.d
port: 1 to 65535
detail — Displays detailed information.
status — Displays status information for the specified H-OFS switch or its controller.
flowtable — Displays information about flowtables for the specified H-OFS instance.
port — Displays information about the logical OpenFlow ports registered with the specified H-
OFS instance.
Output
Sample Output
*A:Dut-A# show open-flow of-switch "s1" status
===============================================================================
Open Flow Switch Information
===============================================================================
Switch Name : s1
Data Path ID : 0 Admin Status : Up
Echo Interval : 10 seconds Echo Multiple : 3
Logical Port Type : all
Buffer Size : 256 Num. of Tables : 1
Description : test-sw1
Capabilities Supp. : flow-stats table-stats port-stats
===============================================================================
*A:Dut-A# show open-flow of-switch "s1" controller
===============================================================================
Open Flow Controller Summary
===============================================================================
IP Address Port
-------------------------------------------------------------------------------
10.20.1.2 6633