Software Defined Networking
1745804 Members
3885 Online
108722 Solutions
New Discussion

HP3800 how to output on controller & port?

 
SOLVED
Go to solution
checho88
Occasional Contributor

HP3800 how to output on controller & port?

We are trying to add a flow that outputs to controller and to a physical port  but we are getting a BAD_ACTION/BAD_TYPE error back from the switch (3800 - Sw:KA.16.02.0012) regardless of the order in which we specify the actions. Here's part of the OF trace:

Time: 11:08:02.636
Event: Tx

{ofm:[V_1_3,FLOW_MOD,136,2292534],cmd=ADD,match={Match(V_1_3):[type=OXM,len=45],fields=ETH_TYPE,IP_PROTO,IPV4_SRC,IPV4_DST,TCP_DST},...}
  Cookie   : 0xab01400000000001
  C Mask   : 0x0
  Table ID : 100
  FMod Cmd : ADD
  Idle t/o : 0s
  Hard t/o : 120s
  Priority : 10064
  Buffer ID: 0xffffffff(NO_BUFFER)
  Out Port : 0xffffffff(ANY)
  Out Group: 0xffffffff(ANY)
  FMod Flgs: [sendFlowRem]
  Match    : {Match(V_1_3):[type=OXM,len=45],fields=ETH_TYPE,IP_PROTO,IPV4_SRC,IPV4_DST,TCP_DST}
    {Oxm:V_1_3:[cls=0x8000(OPENFLOW_BASIC),ft=5(ETH_TYPE),hm=false,len=2],type=0x0800(IPv4)}
    {Oxm:V_1_3:[cls=0x8000(OPENFLOW_BASIC),ft=10(IP_PROTO),hm=false,len=1],ipp=6(TCP)}
    {Oxm:V_1_3:[cls=0x8000(OPENFLOW_BASIC),ft=11(IPV4_SRC),hm=true,len=8],ip=172.23.7.162,mask=255.255.255.255}
    {Oxm:V_1_3:[cls=0x8000(OPENFLOW_BASIC),ft=12(IPV4_DST),hm=true,len=8],ip=172.23.7.170,mask=255.255.255.255}
    {Oxm:V_1_3:[cls=0x8000(OPENFLOW_BASIC),ft=14(TCP_DST),hm=false,len=2],port=0x16(22)}
  Instructions:
    {Instr:V_1_3:[type=APPLY_ACTIONS,len=40],actList=OUTPUT,OUTPUT}
      {Act:[OUTPUT,len=16],port=0x6(6),maxLen=0}
      {Act:[OUTPUT,len=16],port=0xfffffffd(CONTROLLER),maxLen=65535(NO_BUFFER)}

 

Time: 11:08:02.638
Event: Rx
Data Path ID: 00:02:10:60:4b:b6:46:80
Message: {ofm:[V_1_3,ERROR,76,2292534],BAD_ACTION/BAD_TYPE,#dataBytes=64,OFM-cause:[V_1_3,FLOW_MOD,136,2292534]}

{ofm:[V_1_3,ERROR,76,2292534],BAD_ACTION/BAD_TYPE,#dataBytes=64,OFM-cause:[V_1_3,FLOW_MOD,136,2292534]}
  data = 040e00880022fb36ab0140000000000100000000000000006400000000782750ffffffffffffffffffffffff000100000001002d80000a020800800014010680

 

However, if we output to two physical ports the rule is successfully installed.

1 REPLY 1
Scott_Koster
Advisor
Solution

Re: HP3800 how to output on controller & port?

Please change the Table ID from 100 (HW) to 200 (Software).  Copies to the Controller & Port are handled in the Software Table (200) on the 3800.  That should explain the error you are seeing.

Scott Koster | Technical Marketing Engineer
HPE Aruba