- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- Re: HP 5900 switch - flow byte count
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2014 09:20 AM - edited 07-30-2014 09:23 AM
07-30-2014 09:20 AM - edited 07-30-2014 09:23 AM
HP 5900 switch - flow byte count
Hi,
I'm using a 5900 switch with VAN 2.2.5 controller.
Switch firmware version is as follows:
HP Comware Software, Version 7.1.045, Release 2310
My application is pushing flows to the switch, via the controller.
While retrieving datapath flows via REST API, flow byte_count value is "n/a".
Flow was not created witn "no_byte_counts" flag on - so I was expecting to see the flow statistics.
Also, when I display the flow table from the switch CLI, the byte count values are "--".
I'm able to validate from the CLI output that the no_bytes_count flag is not set.
Any advice?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2014 09:06 AM
08-19-2014 09:06 AM
Re: HP 5900 switch - flow byte count
Hello kobisamoray,
Apologies for the delay. We are looking into the query. However we hope you are setting the flags ON/OFF as per SDN Programming guide [page 27-28 , An example: creating a FlowMod message]
private static final Set<FlowModFlag> FLAGS = EnumSet.of(FlowModFlag.SEND_FLOW_REM, FlowModFlag.CHECK_OVERLAP, FlowModFlag.NO_BYTE_COUNTS );
Could you please share some code/output of Datapath/Flowtables?
Thanks,
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2014 01:01 AM
09-15-2014 01:01 AM
Re: HP 5900 switch - flow byte count
Hi
My name is Asaf and I'm replacing Koby on this. We sent you some weeks ago a json cpature of the relevant flow as requested. Did you come to any conclusion regarding this ?
regards
Asaf
{
"version": "1.3.0",
"flows": [
{
"table_id": 0,
"duration_sec": 6626,
"duration_nsec": "4294967295",
"priority": 60000,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0xfffb0000faded000",
"packet_count": "28",
"byte_count": "n/a",
"match": [
{
"eth_type": "bddp"
}
],
"flow_mod_flags": [],
"instructions": [
{
"apply_actions": [
{
"output": 4294967293
}
]
}
]
},
{
"table_id": 0,
"duration_sec": 1575195,
"duration_nsec": "4294967295",
"priority": 34,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0xed23",
"packet_count": "58",
"byte_count": "n/a",
"match": [
{
"in_port": 2
},
{
"eth_type": "ipv4"
},
{
"ip_proto": "tcp"
},
{
"ipv4_dst": "101.2.1.202",
"mask": "255.255.255.255"
}
],
"flow_mod_flags": [],
"instructions": [
{
"apply_actions": [
{
"output": 4294967290
}
]
}
]
},
{
"table_id": 0,
"duration_sec": 1575195,
"duration_nsec": "4294967295",
"priority": 33,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0x6be1",
"packet_count": "21",
"byte_count": "n/a",
"match": [
{
"in_port": 2
},
{
"eth_type": "ipv4"
},
{
"ip_proto": "udp"
},
{
"ipv4_dst": "101.2.1.202",
"mask": "255.255.255.255"
}
],
"flow_mod_flags": [],
"instructions": [
{
"apply_actions": [
{
"output": 4294967290
}
]
}
]
},
{
"table_id": 0,
"duration_sec": 1575195,
"duration_nsec": "4294967295",
"priority": 32,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0xd05d",
"packet_count": "0",
"byte_count": "n/a",
"match": [
{
"in_port": 2
},
{
"eth_type": "ipv4"
},
{
"ip_proto": "icmp"
},
{
"ipv4_dst": "101.2.1.202",
"mask": "255.255.255.255"
}
],
"flow_mod_flags": [],
"instructions": [
{
"apply_actions": [
{
"output": 4294967290
}
]
}
]
},
{
"table_id": 0,
"duration_sec": 1575195,
"duration_nsec": "4294967295",
"priority": 31,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0x9a48",
"packet_count": "0",
"byte_count": "n/a",
"match": [
{
"in_port": 2
},
{
"eth_type": "ipv4"
},
{
"ipv4_dst": "101.2.1.202",
"mask": "255.255.255.255"
}
],
"flow_mod_flags": [],
"instructions": [
{
"apply_actions": [
{
"output": 4294967290
}
]
}
]
},
{
"table_id": 0,
"duration_sec": 1575195,
"duration_nsec": "4294967295",
"priority": 34,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0x3afa",
"packet_count": "808604",
"byte_count": "n/a",
"match": [
{
"in_port": 1
},
{
"eth_type": "ipv4"
},
{
"ip_proto": "tcp"
},
{
"ipv4_dst": "101.2.1.202",
"mask": "255.255.255.255"
}
],
"flow_mod_flags": [],
"instructions": [
{
"apply_actions": [
{
"output": 4294967290
}
]
}
]
},
{
"table_id": 0,
"duration_sec": 1575195,
"duration_nsec": "4294967295",
"priority": 33,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0x9f6",
"packet_count": "85036",
"byte_count": "n/a",
"match": [
{
"in_port": 1
},
{
"eth_type": "ipv4"
},
{
"ip_proto": "udp"
},
{
"ipv4_dst": "101.2.1.202",
"mask": "255.255.255.255"
}
],
"flow_mod_flags": [],
"instructions": [
{
"apply_actions": [
{
"output": 4294967290
}
]
}
]
},
{
"table_id": 0,
"duration_sec": 1575195,
"duration_nsec": "4294967295",
"priority": 32,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0x2608",
"packet_count": "437673",
"byte_count": "n/a",
"match": [
{
"in_port": 1
},
{
"eth_type": "ipv4"
},
{
"ip_proto": "icmp"
},
{
"ipv4_dst": "101.2.1.202",
"mask": "255.255.255.255"
}
],
"flow_mod_flags": [],
"instructions": [
{
"apply_actions": [
{
"output": 4294967290
}
]
}
]
},
{
"table_id": 0,
"duration_sec": 1575195,
"duration_nsec": "4294967295",
"priority": 31,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0xa71b",
"packet_count": "0",
"byte_count": "n/a",
"match": [
{
"in_port": 1
},
{
"eth_type": "ipv4"
},
{
"ipv4_dst": "101.2.1.202",
"mask": "255.255.255.255"
}
],
"flow_mod_flags": [],
"instructions": [
{
"apply_actions": [
{
"output": 4294967290
}
]
}
]
},
{
"table_id": 0,
"duration_sec": 6626,
"duration_nsec": "4294967295",
"priority": 0,
"idle_timeout": 0,
"hard_timeout": 0,
"cookie": "0xffff000000000000",
"packet_count": "618123365",
"byte_count": "n/a",
"match": [],
"flow_mod_flags": [
"send_flow_rem"
],
"instructions": [
{
"apply_actions": [
{
"output": 4294967290
}
]
}
]
}
]
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2014 01:13 AM
09-15-2014 01:13 AM
Re: HP 5900 switch - flow byte count
Hi
some additional info : We don’t set the FlowModFlag.NO_BYTE_COUNTS flag. That's why we do expect to see byte count on the flow.
Asaf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2014 01:26 AM
09-15-2014 01:26 AM
Re: HP 5900 switch - flow byte count
Hi Asaf
Currently the 5900 supports either byte_count or packet_count but not both at the same time.
So if you do a flow mod with ONLY no_byte_count you will get packet count
If you do a flow mode with no_packet_count you will oget byte_count
If you do a flow_mod with both no_packet_count and no_byte_count you will get no counts :).
Kind Regards
Gerhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2014 02:16 PM
09-15-2014 02:16 PM
Re: HP 5900 switch - flow byte count
Hi Gerhard
Thank you for the info. Do you happen to know if there's a plan to support both packet count and byte count and of so when ?
Regards
Asaf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2014 01:32 AM
09-16-2014 01:32 AM
Re: HP 5900 switch - flow byte count
Hi Asaf
Sorry I do not know either of the answers. My suggestion is to get in contact with your HP account representative and get the request to them, they should have channels through which they can persue this request.
Kind Regards
Gerhard
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2014 11:45 PM
10-27-2014 11:45 PM
Re: HP 5900 switch - flow byte count
Hello Asaf,
Doing a follow up to check if you need any further assistance with respect to the query posted.
Please do let us know if your problem is solved.
If you have more questions on the same topic please do reply on the same thread or open a new post if new topic.
Thanks,
HP SDN Team