SD-WAN

 View Only
last person joined: 5 days ago 

Forum to discuss HPE Aruba EdgeConnect SD-WAN and SD-Branch solutions. This includes SD-WAN Orchestration WAN edge network functions - routing, security, zone-based firewall, segmentation and WAN optimization, micro-branch solutions, best practics, and third-party integrations. All things SD-WAN!
Expand all | Collapse all

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

This thread has been viewed 0 times
  • 1.  Flow-mod fails on HP 2920-24G: Error code EPERM

    Posted Oct 17, 2016 08:17 AM

    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


    #BAD_OUT_PORT
    #Flow-mod
    #BAD_TYPE
    #EPERM
    #floodlight


  • 2.  RE: Flow-mod fails on HP 2920-24G: Error code EPERM

    EMPLOYEE
    Posted Oct 17, 2016 09:31 AM

    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



  • 3.  RE: Flow-mod fails on HP 2920-24G: Error code EPERM

    Posted Oct 18, 2016 09:21 AM

    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



  • 4.  RE: Flow-mod fails on HP 2920-24G: Error code EPERM

    EMPLOYEE
    Posted Oct 19, 2016 11:38 AM

    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