OpenFlow Command Reference
690 Router Configuration Guide
Context tools>dump
Description This command enables dumping of the open-flow information.
of-switch
Syntax of-switch ofs-name [flowtable of-table-id] [{grt | system | service-id service-id}] [cookie 
hex-string] [priority priority]
of-switch ofs-name [flowtable of-table-id] service-id service-id sap sap-id [cookie hex-
string] [priority priority]
of-switch ofs-name [flowtable of-table-id] summary
Context tools>dump>open-flow
Description This command can be used to dump information for a given open-flow switch or its flowtable. Priority 
and cookie filters are provided no focus on part of a flow table.
Usage examples:
a. tools>dump>open-flow>of-switch ofs-test — This command displays detailed flow information 
for a given OpenFlow switch. If the switch has switch-defined-cookie enabled, the flows with all 
cookie-types are displayed.
b. tools>dump>open-flow>of-switch ofs summary — This command displays a summary of each 
cookie context and the number of flows in it for the switch that has switch-defined-cookie enabled. If 
switch-defined-cookie is disabled, then the total number of entries is displayed (single context).
c. Options like grt, system, service-id, sap-id, cookie, and priority can be used to limit display entries 
to the specified options.
Parameters ofs-name — Specifies the name of the OFS instance, up to 32 characters.
of-table-id — Specifies the identifier for the OpenFlow table.
Values 0
hex-string — Specifies the identifier for the OpenFlow cookies.
Values 0x0 to 0xFFFFFFFFFFFFFFFF
priority — Specifies the priority for the OpenFlow switch.
Values 0 to 65535
service-id — Specifies the identifier for the service.
Values 1 to 2148007978 | svc-name: 64 characters max
sap-id — Specifies the identifier for the Ethernet SAP.
Values
sap-id null  port-id | bundle-id | bpgrp-id | lag-id | aps-id>
dot1q port-id | bundle-id | bpgrp-id | lag-id | aps-id | pw-id>:qtag1