RUNOS CLI 2.0

To enter to RUNOS command line interface, press the “Enter” key in your console after RUNOS running. And you should see `runos>   ` in the command line.

_images/cli.png

RUNOS Core CLI

show info

Command show info
Returns
Controller info:
  • number of switches
  • controller start time
  • controller uptime
OpenFlow message statistics:
  • total number of received messages(rx packets)
  • total number of received packet-in messages(packet-in packets)
  • total number of transmitted messages(tx packets)
  • rx, tx, packet-in frequency per second
  • rx, tx, packet-in frequency per switch per second
Arguments
  • no
Example runos> show info
Application OFServer
File src/core/OFServerCli.cc

connectioin list

Command connection list
Returns
Returns list of connections and statistics:
  • switch DPID
  • connection status (UP/DOWN)
  • IP address and port
  • start time
  • uptime
  • number of rx, packet-in, tx, packets for each connections
Arguments
  • no
Example runos> connection list
Application OFServer
File src/core/OFServerCli.cc

switch info

Command switch info <dpid>
Returns
Returns detailed information about switch with <dpid>
(manufacturer, hardware and software, number of flow
tables, interfaces and its status and the others.
Arguments
  • <dpid> - switch DPID
Example runos> switch info 1
Application Switch Manager
File src/core/SwitchManagerCli.cc

switch list

Command switch list
Returns
Return list of connected switches (DPID, hardware and
description)
Arguments
  • no
Example runos> switch list
Application Switch Manager
File src/core/SwitchManagerCli.cc

RUNOS Applications CLI

l2-switch

Command l2-switch
Returns Returns list of pairs <MAC, port>
Arguments
  • no
Example runos> l2-switch
Application L2 Learning Switch
File src/core/L2-LearningSwitchCli.cc