Mailing List Archive

Prefix-Action Statistics
Hi,

Could anyone please enlighten me on how to view the Prefix-Action Statistics
using the "show firewall prefix-action-stats" command with JUNOS 5.6 for the
Prefix-Specific Actions that I had configured? Can't seems to display any
statistics.

Can't seems to locate any documents on the above too.


My config is as follows:

policer rate-limit {
if-exceeding {
bandwidth-limit 384k;
burst-size-limit 48k;
}
then discard;
}
family inet {
prefix-action police-per-user {
policer rate-limit;
count;
subnet-prefix-length 21;
destination-prefix-length 32;
}
}

term shape {
from {
destination-address {
x.x.x.x/y
}
protocol-except [ udp icmp ];
}
then prefix-action police-per-user;
}

Any advise is appreciated.

Regards,
Cheeyong
Prefix-Action Statistics [ In reply to ]
Tay,

The PSA in your config doesn't specify filter specific, therefore it
defaults to term specific. For term specific use:

show firewall prefix-action-stats prefix-action <x>-1 filter <y>

if you decide to use filter-specific you can just remove the "-1"

-Sean

On Thu, 13 Feb 2003, Tay Chee Yong wrote:

> Hi,
>
> Could anyone please enlighten me on how to view the Prefix-Action Statistics
> using the "show firewall prefix-action-stats" command with JUNOS 5.6 for the
> Prefix-Specific Actions that I had configured? Can't seems to display any
> statistics.
>
> Can't seems to locate any documents on the above too.
>
>
> My config is as follows:
>
> policer rate-limit {
> if-exceeding {
> bandwidth-limit 384k;
> burst-size-limit 48k;
> }
> then discard;
> }
> family inet {
> prefix-action police-per-user {
> policer rate-limit;
> count;
> subnet-prefix-length 21;
> destination-prefix-length 32;
> }
> }
>
> term shape {
> from {
> destination-address {
> x.x.x.x/y
> }
> protocol-except [ udp icmp ];
> }
> then prefix-action police-per-user;
> }
>
> Any advise is appreciated.
>
> Regards,
> Cheeyong
>
>
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
>
Prefix-Action Statistics [ In reply to ]
Hi Sean,

Thanks for your mail.

But what does the x and y denotes in this case? Does the x refers to the
prefix-action "police-per-user", and does y refers to the name of the filter
(which is "test-filter" in this case)? How does the "-1" comes into picture?

> show firewall prefix-action-stats prefix-action ?
Possible completions:
<prefix-action> Prefix-action name

Thanks again.

Regards,
Cheeyong

On Fri, 14 Feb 2003, Sean Capshaw wrote:

: Tay,
:
: The PSA in your config doesn't specify filter specific, therefore it
: defaults to term specific. For term specific use:
:
: show firewall prefix-action-stats prefix-action <x>-1 filter <y>
:
: if you decide to use filter-specific you can just remove the "-1"
:
: -Sean
:
: On Thu, 13 Feb 2003, Tay Chee Yong wrote:
:
: > Hi,
: >
: > Could anyone please enlighten me on how to view the Prefix-Action Statistics
: > using the "show firewall prefix-action-stats" command with JUNOS 5.6 for the
: > Prefix-Specific Actions that I had configured? Can't seems to display any
: > statistics.
: >
: > Can't seems to locate any documents on the above too.
: >
: >
: > My config is as follows:
: >
: > policer rate-limit {
: > if-exceeding {
: > bandwidth-limit 384k;
: > burst-size-limit 48k;
: > }
: > then discard;
: > }
: > family inet {
: > prefix-action police-per-user {
: > policer rate-limit;
: > count;
: > subnet-prefix-length 21;
: > destination-prefix-length 32;
: > }
: > }
: >
: > term shape {
: > from {
: > destination-address {
: > x.x.x.x/y
: > }
: > protocol-except [ udp icmp ];
: > }
: > then prefix-action police-per-user;
: > }
: >
: > Any advise is appreciated.
: >
: > Regards,
: > Cheeyong
: >
: >
: >
: > _______________________________________________
: > juniper-nsp mailing list juniper-nsp@puck.nether.net
: > http://puck.nether.net/mailman/listinfo/juniper-nsp
: >
: