- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- sflow sampling rate command not accepted on MSR958...
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
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
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
06-12-2020 01:53 AM
06-12-2020 01:53 AM
sflow sampling rate command not accepted on MSR958 JH301A MSR router.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2020 02:56 AM
06-12-2020 02:56 AM
Re: sflow sampling rate command not accepted on MSR958 JH301A MSR router
Hello KG1251489,
These commands are available under the interface configuration mode:
[router-GigabitEthernet0/0]sflow ?
counter sFlow counter sampling configuration
flow sFlow flow sampling configuration
sampling-mode Specify sFlow sampling mode
sampling-rate Set the sampling rate
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2020 04:34 AM
06-12-2020 04:34 AM
Re: sflow sampling rate command not accepted on MSR958 JH301A MSR router
Hi Alex,
Yeah the commands are all available but when I try to enter the sflow sampling-rate 4000 command I get the following message "The interface doesn't support the operation".
So agent and collector are defined with no error on the device.
My collector is able to reach the device without error but collector seems to wait for Sflow data export, which never reach it (due to no sampling rate defined above?).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2020 05:24 AM
06-12-2020 05:24 AM
Re: sflow sampling rate command not accepted on MSR958 JH301A MSR router
Hi @KG1251489 !
Unfortunately you didn't state on which port you are trying to configure sFlow sampling rate. There is one limitation, it literally says ''sFlow is not supported on Layer 2 Ethernet interfaces and Layer-configurable Ethernet interfaces'', https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=emr_na-c05370440
Just check if the interface you are trying to configure is not from these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2020 06:08 AM
06-12-2020 06:08 AM
Re: sflow sampling rate command not accepted on MSR958 JH301A MSR router
Hi Ivan,
Interface config below:
interface GigabitEthernet0/0
port link-mode route
description WAN connection
ip address 10.XX.XXX.XX 255.255.255.252
sflow flow collector 1
sflow counter collector 1
sflow counter interval 30
qos trust dscp
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2020 06:50 AM
06-12-2020 06:50 AM
Re: sflow sampling rate command not accepted on MSR958 JH301A MSR router
Could you let me know the s/w version the router is running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2020 07:06 AM
06-12-2020 07:06 AM
Re: sflow sampling rate command not accepted on MSR958 JH301A MSR router
Hi Ivan,
Initial router running - flash:/msr958-cmw710-security-r0407.bin, version: 7.1.064
but we since upgraded to the latest version availble - flash:/msr958-cmw710-security-r0707p24.bin, version: 7.1.064 and we are experiencing the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2020 08:00 AM
06-12-2020 08:00 AM
Re: sflow sampling rate command not accepted on MSR958 JH301A MSR router
I have checked this router in my lab, same behaviour. And sFlow works only for counters, it doesn't make flow sampling, at least not during my tests. Also, we really need to enable 'sflow sampling-rate' command in order to enable flow sampling, so it seems all interfaces on this router hit that limitation I've mentioned - "sFlow is not supported on Layer 2 Ethernet interfaces and Layer-configurable Ethernet interfaces'', because all interfaces on MSR958 are "Layer-configurable Ethernet interfaces"
The debugging confirms that the sampling can't be enabled:
[MSR958-GigabitEthernet0/9]sflow sampling-rate 2000
The interface doesn't support the operation.
[MSR958-GigabitEthernet0/9]*May 31 15:17:41:186 2011 MSR958 SFLOW/7/RCV_CFGMSG: Received sampler configuration message, length 52.
*May 31 15:17:41:187 2011 MSR958 SFLOW/7/SYNC_KERNEL: Failed to synchronize configuration message to kernel, length 48, errcode 0x40010008.
*May 31 15:17:41:187 2011 MSR958 SFLOW/7/DRIVER: Enable the sampling inbound on interface GE0/9(11), parameter = 0, ret = 0x40010008.
*May 31 15:17:41:187 2011 MSR958 SFLOW/7/DRIVER: Disable the sampling inbound on interface GE0/9(11), parameter = 0, ret = 0x40010008.
*May 31 15:17:41:187 2011 MSR958 SFLOW/7/KCONFIG: sFlow kernel configuration: operation type 1, message type 6, set flag 0, result 0x40010008.
You can see how the samping feature is getting rejected (bold lines).
Unfortunately, I couldn't find any document specific for this model, so just to double-check it is the hardware limitation open a support case, Support engineer should be able to escalate it to Engineering department for the final confirmation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2020 08:20 AM
06-12-2020 08:20 AM
Re: sflow sampling rate command not accepted on MSR958 JH301A MSR router
Thanks Ivan,
Thanks for your work on this and replies. How's best to open a support case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2020 08:46 AM
06-12-2020 08:46 AM
SolutionThis document should help - https://support.hpe.com/help/en/Content/productSupport/supportCaseManager.html#:~:text=Option%201%3A%20main%20menu%20%3E%20Submit,.com%2Fsupport%2Fscm.