Software Defined Networking
1755396 Members
3109 Online
108832 Solutions
New Discussion

Flow-mod fails on HP 2920-24G: Error code EPERM

 
SOLVED
Go to solution
EnasAhmad
Frequent Advisor

Flow-mod fails on HP 2920-24G: Error code EPERM

Hi,

I am using an HP 2920-24G/ J9726A switch. I upgraded the firmware to  WB.16.02.0012. I created an aggregate instance with version 1.3 and was successfully connected to a floodlight controller. However, I am unable to create a new flow entry although I set the table id to 100 (As I read in many other discussions).

I get the following error:

 OFFlowModFailedErrorMsgVer13(xid=307, code=EPERM, data=OFFlowModifyStrictVer13(xid=307, cookie=0x00a000004039d1a6, cookieMask=0x0000000000000000, tableId=0x64, idleTimeout=0, hardTimeout=0, priority=32768, bufferId=4294967295, outPort=any, outGroup=any, flags=[SEND_FLOW_REM], match=OFMatchV3Ver13(in_port=1), instructions=[])) from switch OFSwitch DPID[00:02:48:0f:cf:0c:b1:c0] in state net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$MasterState@5f0decc3

If I set the out-port to a vaild working port in the switch, I get the following error:

OFBadActionErrorMsgVer13(xid=366, code=BAD_OUT_PORT, data=[unparsed: 04 0e 00 58 00 00 01 6e 00 a0 00 00 40 39 d1 a6 00 00 00 00 00 00 00 00 64 02 00 00 00 00 80 00 ff ff ff ff ff ff ff ff ff ff ff ff 00 01 00 00 00 01 00 0c 80 00 00 04 00 00 00 01 00 00 00 00]) from switch OFSwitch DPID[00:02:48:0f:cf:0c:b1:c0] in state net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$MasterState@5f0decc3

An of course if I use the defualt table 0, I get the following error:

OFBadMatchErrorMsgVer13(xid=458, code=BAD_TYPE, data=[unparsed: 04 0e 00 58 00 00 01 ca 00 a0 00 00 40 39 d1 a6 00 00 00 00 00 00 00 00 00 02 00 00 00 00 80 00 ff ff ff ff ff ff ff ff ff ff ff ff 00 01 00 00 00 01 00 0c 80 00 00 04 00 00 00 01 00 00 00 00]) from switch OFSwitch DPID[00:02:48:0f:cf:0c:b1:c0] in state net.floodlightcontroller.core.internal.OFSwitchHandshakeHandler$MasterState@5f0decc3

Any suggestions ?

Thanks,

Enas

3 REPLIES 3
Abhay_B
Valued Contributor
Solution

Re: Flow-mod fails on HP 2920-24G: Error code EPERM

Hello Enas,

I would request you to check the VLANs on which OpenFlow is enabled and the ports that are part of those VLANs on the switch.

Is port "1" a member port of the OpenFlow instance? You can check that via one of the following ways:

  1. Run "show openflow instance aggregate port-statistics" command on the switch and check if Port "1" related information is displayed.
  2. Send a OFPMP_PORT_DESC multipart request from the OpenFlow controller and verify Port "1" is listed in the multipart response from the switch.

Can you share the running configuration of the switch? It may help us assist you better.

Thanks!

Abhay

EnasAhmad
Frequent Advisor

Re: Flow-mod fails on HP 2920-24G: Error code EPERM

Hi,

Yes you were right, I have not added port 1 to the openflow VLAN. Once I've done that the flow-mods were successful.

Thank you very much,

Enas

ShaunWackerly
HPE Pro

Re: Flow-mod fails on HP 2920-24G: Error code EPERM

Hi Enas,

Would you mind marking this thread as being solved (indicating AbhayB's solution) so that other forum posters will know the solution exists if they encounter a similar issue?

Shaun

I am an HPE Employee