Setting A Statistics Baseline - Juniper E320 Configuration Manual

Junose internet software for e-series routing platforms
Hide thumbs Also See for E320:
Table of Contents

Advertisement

JUNOSe 7.2.x Policy Management Configuration Guide

Setting a Statistics Baseline

atm policy
frame-relay policy
gre-tunnel policy
ip policy
ipv6 policy
mpls policy
l2tp policy
vlan policy
122
!
Setting a Statistics Baseline
You can set a baseline for policy statistics by using the baseline interface
command and the atm policy, frame-relay policy, ip policy, ipv6 policy, l2tp
policy, mpls policy, and vlan policy commands. If you do not enable baselining,
show command output fields for baseline counters display the contents of the
regular statistics counters.
For example, to enable a baseline for the statistics for the attachment of the policy
list named routeForXYZCorp with statistics enabled to the ingress of an interface,
use the following commands:
host1(config)#interface atm 12/0.1
host1(config-subif)#ip policy input routeForXYZCorp statistics enabled baseline
enabled
!
Use to assign a policy list to an interface and enable or disable the recording of
routing statistics for bytes and packets affected by the policy.
!
If you enable statistics, you can enable or disable baselining of the statistics.
The router implements the baseline by reading and storing the statistics at the
time the baseline is set and then subtracting this baseline when
baseline-relative statistics are retrieved. Unlike other baseline statistics, policy
baseline statistics are not stored in nonvolatile storage (NVS).
!
Baselining must also be enabled on the interface with the appropriate baseline
interface command.
!
If you issue the baseline interface command for an interface without first
enabling policy statistics baselining on that interface, a warning message
indicates:
Policy baseline statistics are not enabled
Example
!
host1(config-if)#ip policy secondary-input my-policy statistics enabled baseline
enabled
!
Use the no version to remove the association between a policy list and an
interface.
To show baseline counters, run the show ip interface command with the delta
keyword:
host1#show ip interface atm 12/0.1 delta
atm12/0.1 is up, line protocol is up
Network Protocols: IP
Internet address is 200.200.1.1/255.255.255.0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Erx-710Erx-310Erx-1440Erx-1410Erx-705

Table of Contents