dpctl command in mininet
The dpctl program is a command-line tool for monitoring OpenFlow switches. It can show the flows, features, configuration, table entries, etc. of the switches. It can work with any OpenFlow switches.
dpctl is a switch management utility.
- dpctl show
Shows the basic information of the switch, its flow table, ports.
2. dpctl dump-desc [switch]
Prints switch description
3. dpctl dump-ports [switch]
Prints port statistics of the network devices attached to the switch
4. dpctl dump-ports-desc [switch]
Gives detailed statistics of the network devices attached to the switch
5. dpctl dump-flows [switch]
Print all flow entries in the associated switch
- dpctl dump-flows [switch] [flow]
Print all the matched flows in the associated switch
Flows and flow table: Before data transfer
Stimulating TCP data transfer
Observing TCP flows in switches
Stimulating ICMP flows using pingall and observing the ICMP flows in the switches
6. dpctl dump-tables [switch]
Prints the table statistics of the switch
Flow table: After data transfer
7. dump-aggregate
Prints the aggregate flow statistics of the switch
- dpctl dump-aggregate [switch] [flow]
Prints the aggregate stats of the matched flows in the associated switchOutput showing the aggregate of flow entries
These were the commonly used dpctl command to manage the OpenFlow switches.
Good Luck!









Comments
Post a Comment