Sofware-Defined Networking

Reply
Occasional Contributor
Posts: 6
Registered: ‎04-08-2016
Accepted Solution

Error: OpenFlow on LAG ports

[ Edited ]

Hi,

 

We're working on Brocade MLXe 4 (Sw 5.9a). Whenever I try to add a flow on LAG ports it gives us an error as: 

 

Error in the device logs

Dynamic Log Buffer (500 lines):
Apr 20 09:49:14:E: OpenFlow: ERROR: Transaction-id: 145503; Message from LP-3: FAILURE: PPCR_6: chancer_ppcr_create_entry failed CAM:-1; Port: 3/1
Apr 20 09:44:45:E: OpenFlow: ERROR: Transaction-id: 144313; Message from LP-3: FAILURE: PPCR_6: chancer_ppcr_create_entry failed CAM:-1; Port: 3/1
Apr 20 09:41:13:E: OpenFlow: ERROR: Transaction-id: 143387; Message from LP-3: FAILURE: PPCR_6: chancer_ppcr_create_entry failed CAM:-1; Port: 3/1

 

What could be the problem? or how should we use OpenFlow on LAG ports? Please sharing some examples.

 

Device details are as follows:

 

Deploy LAG

SSH@GW1#sh lag id 55
Total number of LAGs	: 1, 100/40g : 0
Total number of deployed LAGs	: 1, 100/40g : 0
Total number of trunks created	: 1 (127 available), 100/40g : 0 (8 available)
LACP System Priority / ID	:1 / 748e.f873.b700
LACP Long timeout	:90, default: 90
LACP Short timeout	:3, default: 3

=== LAG "FGT" ID 55 (static Deployed) ===
LAG Configuration:
   Ports:         e 3/1 to 3/4 
   Port Count:    4
   Primary Port:  3/1
   Trunk Type:    hash-based
   LACP BPDU Forwarding: Disabled

Port Individual Configuration:
   Port Name     
   3/1  LAG-FW OpFlow                                                          

Deployment:  Trunk ID 55, Active Primary 3/1, base fid: 0x0800

Port   Link     Port-State   Dupl Speed Trunk Tag Priori MAC            Name           Type              
3/1    Up       Forward      Full 10G   55    No  level0 748e.f873.b700 LAG-FW OpFlow  default-port      
3/2    Up       Forward      Full 10G   55    No  level0 748e.f873.b700                default-port      
3/3    Up       Forward      Full 10G   55    No  level0 748e.f873.b700                default-port      
3/4    Up       Forward      Full 10G   55    No  level0 748e.f873.b700                default-port      

 

OpenFlow interfaces

SSH@GW1#sh openflow interface 

Total number of Openflow interfaces: 7

Port  Link     Speed Tag MAC            OF-portid   Name           Mode      
1/7   Up       1G    Yes 748e.f873.b700 7           1G-C1 OpFlow   Hybrid-Layer2                
1/13  Up       1G    Yes 748e.f873.b700 13          1G-C2 OpFlow   Hybrid-Layer2                
3/1   Up       10G   No  748e.f873.b700 97          LAG-FW OpFlow  Hybrid-Layer3                
3/2   Up       10G   No  748e.f873.b700 98                         Hybrid-Layer3                
3/3   Up       10G   No  748e.f873.b700 99                         Hybrid-Layer3                
3/4   Up       10G   No  748e.f873.b700 100                        Hybrid-Layer3                
4/1   Up       10G   No  748e.f873.b700 145         COGENT         Hybrid-Layer3    

 

System-max profile

system-max ip-cache 786432
system-max ip-route 786432
system-max openflow-flow-entries 4000
system-max openflow-pvlan-entries 2000
system-max openflow-unprotectedvlan-entries 1000
system-max np-openflow-flow-entries layer2or3 4000 slot 1 3 4

 

Modules

SSH@GW1#sh module 
Module                                                          Status                       Ports    Starting MAC    
M1 (left ):BR-MLX-MR2-X Management Module                       Active                        
M2 (right):BR-MLX-MR2-X Management Module                       Standby(Ready State)
F1: NI-X-HSF Switch Fabric Module                               Active                          
F2: NI-X-HSF Switch Fabric Module                               Active                          
F3: NI-X-HSF Switch Fabric Module                               Active                          
S1: BR-MLX-1GCx24-X 24-port 10/100/1000Base-T Copper Module     CARD_STATE_UP                24       748e.f873.b700
S2: BR-MLX-1GFx24-X 24-port 1GbE SFP Module                     CARD_STATE_UP                24       748e.f873.b730
S3: BR-MLX-10Gx8-X 8-port 10GbE (X) Module                      CARD_STATE_UP                8        748e.f873.b760
S4: BR-MLX-10Gx4-X 4-port 10GbE Module                          CARD_STATE_UP                4        748e.f873.b790

 

JSON flow example

{
  "flow": {
    "id": "6",
    "flow-name": "DROP",
    "table_id": 0,
    "priority": 500,
    "hard-timeout": 0,
    "idle-timeout": 0,
    "cookie": 0,
    "strict": true,
    "barrier": false,
    "match": {
      "in-port": "openflow:8398923530967711744:97",
      "ethernet-match": {
        "ethernet-type": {
          "type": "2048"
        }
      },
      "ipv4-source": "**filtered**.**filtered**.224.250/32",
      "ipv4-destination": "**filtered**.**filtered**.8.8/32"
    },
    "instructions": {
      "instruction": [
        {
          "order": "0",
          "apply-actions": {
            "action": [
              {
                "drop-action": {},
                "order": 0
              }
            ]
          }
        }
      ]
    }
  }
}

 

 Thanks for your help,

Jaime Olmos

Occasional Contributor
Posts: 6
Registered: ‎04-08-2016

Re: Error: OpenFlow on LAG ports

[ Edited ]

Thanks to the support of our Initel friends. They found the solution to my problem:

 

For interface modules with 8 or more ports, we must put:

 

system-init tm-credit-size credit_1024b for LP: 

S3: BR-MLX-10Gx8-X 8-port 10GbE (X) Module  

 

Regards,

Jaime Olmos.

Occasional Contributor
Posts: 5
Registered: ‎01-23-2015

Re: Error: OpenFlow on LAG ports

HI

 

It´s a pleasure to help you.

 

INITEL TEAM

 

REGARDS

RUBEN FLORES

INITEL MEXICO

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

Download FREE NVMe eBook