Forum Discussion

Albert_Lau_3094's avatar
Albert_Lau_3094
Icon for Nimbostratus rankNimbostratus
Feb 06, 2010

Change in behaviour of IP::stats in 10.1.0

I found that, in 10.1.0, IP::stats does not work for following commands

 

 

[IP::stats bytes in]

 

[IP::stats pkts in]

 

[IP::stats bytes out]

 

[IP::stats pkts out]

 

 

But only work if commands become

 

[IP::stats in]

 

[IP::stats out]

 

 

What do the new commands refer to bytes or pkts?

 

Are there any similar commands for the other?

 

 

Thanks.

2 Replies

  • Hi,

    I think the new IP::stats in/out commands return a TCL list of the packets and bytes. You could open a case with F5 Support asking them to confirm this and any other related changes.

     
     when HTTP_REQUEST { 
         Log the stats in 
        log local0. "\[IP::stats in\]: [IP::stats in]" 
        scan [IP::stats in] {%d %d} packets bytes 
        log local0. "in: \$packets: $packets, \$bytes: $bytes" 
      
         Log the stats out 
        log local0. "\[IP::stats out\]: [IP::stats in]" 
        scan [IP::stats out] {%d %d} packets bytes 
        log local0. "out: \$packets: $packets, \$bytes: $bytes" 
      
        log local0. "\[IP::stats age\]: [IP::stats age]" 
     } 
     

    : [IP::stats in]: 3 285

    : in: $packets: 3, $bytes: 285

    : [IP::stats out]: 3 285

    : out: $packets: 1, $bytes: 48

    : [IP::stats age]: 31

    Aaron
  • spark_86682's avatar
    spark_86682
    Historic F5 Account
    Yes, this is an issue introduced in 10.0.0. It is tracked by CR136105. It is scheduled to be fixed in the next major release.