Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring a Schema for Retrieving Policy Statistics

    You can use the bulkstats schema subtree policy command to collect statistics about a specified policy or a policy type, or based on color-coded tags applied by a policy.

    You can use the following keyword with the bulkstats schema subtree policy command:

    • policy-name—Collects statistics for a specified policy.
    • policy-type—Collects data on input policies, local input policies, output policies, or secondary output policies.
    • policy-subtreelist—Collects statistics based on color-coded tags applied by a policy.

    You create policies by using the policy-list command. For information, see the JunosE Policy Management Configuration Guide.

    To collect statistics for a specified policy:

    • Execute the bulkstats schema subtree policy command in the Global Configuration mode.
      host1(config)#bulkstats schema 4 subtree policy policy-name XMYpolicy

      Use the no version to delete the specified schema.

    Published: 2014-08-12