HP OpenFlow 1.3 Administrator Guide Wired Switches K/KA/KB/WB 15.15
6 Troubleshooting OpenFlow
Diagnostic Tools Overview and Usage
Debug OpenFlow
You can display OpenFlow protocol packets or event description.
NOTE: The debug openflow packets option only displays OpenFlow protocol packets
exchanged between the switch and the controller.
Syntax
HP Switch# debug openflow <errors|events|instance|packets>
errors
Display OpenFlow error messages.
events
Enable debug messages for all OpenFlow events like
addition/deletion/modification, enable/disable etc.
instance
Specify an OpenFlow instance for instance-specific debug messages.
packets
Enable debug messages for all OpenFlow packets.
Example 14 Debug logs
Flow deletion
mOFCtrlTask: 00020| DBG|Flow deletion:
idle_timeout=60,dl_type=0x0800,in_port=27,dl_vlan=65535,
dl_vlan_pcp=0,dl_src=00:50:56:9f:5f:0a,dl_dst=00:50:56:9f:19:92,
nw_src=1.2.3.6,nw_dst=1.2.3.4,icmp_type=0,icmp_code=0,
actions=output:26
Flow addition
mOFCtrlTask: 00019| DBG|Flow addition:
idle_timeout=60,dl_type=0x0800,in_port=27,
dl_vlan=65535,dl_vlan_pcp=0,dl_src=00:50:56:9f:5f:0a,
dl_dst=00:50:56:9f:19:92,nw_src=1.2.3.6,nw_dst=1.2.3.4,
icmp_type=0,icmp_code=0,actions=output:26
Flow expiry
mOFCtrlTask: 00018| DBG|Flow expiry:
idle_timeout=1200,dl_type=0x0800,nw_src=1.2.3.7,
nw_dst=1.2.3.8,actions=mod_nw_src:9.8.7.6
Error messages
Interoperability error messages
Enabling OpenFlow
Enabling OpenFlow when Meshing is enabled will result in an error message similar to the following.
OpenFlow cannot be enabled when Meshing is configured.
Enabling meshing
Enabling meshing when OpenFlow is enabled will result in an error message similar to the following.
50 Troubleshooting OpenFlow










