Comware Based
1752600 Members
4596 Online
108788 Solutions
New Discussion

sflow sampling rate command not accepted on MSR958 JH301A MSR router

 
SOLVED
Go to solution
KG1251489
Visitor

sflow sampling rate command not accepted on MSR958 JH301A MSR router

sflow sampling rate command not accepted on MSR958 JH301A MSR router.  

9 REPLIES 9
-Alex-
HPE Pro

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.

I am an HPE Employee

Accept or Kudo

KG1251489
Visitor

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?).

 

 

Ivan_B
HPE Pro

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.

 

 

I am an HPE employee

Accept or Kudo

KG1251489
Visitor

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
#

Ivan_B
HPE Pro

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? 

 

I am an HPE employee

Accept or Kudo

KG1251489
Visitor

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.  

Ivan_B
HPE Pro

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.

 

I am an HPE employee

Accept or Kudo

KG1251489
Visitor

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?

Ivan_B
HPE Pro
Solution

Re: sflow sampling rate command not accepted on MSR958 JH301A MSR router