[Contents] [Prev] [Next] [Index] [Report an Error]


Monitoring Policy Management

This section shows how to set a statistics baseline and use the show command to view your policy configuration and monitor policy statistics.

Setting a Statistics Baseline

You can set a baseline for policy statistics by using the baseline interface command and the 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.

When you set baseline statistics, you can retrieve statistics beginning at the time when the baselining is set.

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

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
  Broadcast address is 255.255.255.255
  Operational MTU = 9180  Administrative MTU = 0
  Operational speed = 155520000  Administrative speed = 0
  Discontinuity Time = 1251181
  Router advertisement = disabled
  Administrative debounce-time = disabled
  Operational debounce-time    = disabled
  Access routing = disabled
  Multipath mode = hashed

  In Received Packets 5, Bytes 540
  In Policed Packets 0, Bytes 0
  In Error Packets 0
  In Invalid Source Address Packets 0
  In Discarded Packets 0
  Out Forwarded Packets 5, Bytes 540
  Out Scheduler Drops Packets 0, Bytes 0
  Out Policed Packets 5, Bytes 540
  Out Discarded Packets 0

  IP Policy input routeForXYZCorp
    classifier-group *
       filter
       5 Packets  540 Bytes dropped

Policy Management show Commands

Use the following show commands to display statistics for policy lists:

You can use the output filtering feature of the show command to include or exclude lines of output based on a text string you specify. See JUNOSe System Basics Configuration Guide, Chapter 2, Command-Line Interface for details.

frame-relay policy
    ip policy
    ipv6 policy
    mpls policy
    l2tp policy
    vlan policy

show classifier-list

show frame-relay subinterface

show gre tunnel

show interfaces

show ip interface

If you have enabled policy statistics and baselining, consider the difference in standard and baselined statistics. First display standard policy statistics:

host1#show ip interface atm 9/1.1

Partial results might be:

Policy output 2egress
  classifier-group claclWst10 entry 1
    98 packets, 12544 bytes
    forward

Now display baselined statistics:

host1#show ip interface atm 9/1.1 delta

Partial results might be:

Policy output 2egress
  classifier-group claclWst10 entry 1
    10 packets, 1280 bytes
    forward

show ipv6 interface

show mpls l2transport interface

show policy-list

show rate-limit-profile

show secure policy-list

show vlan subinterface


[Contents] [Prev] [Next] [Index] [Report an Error]