# bulkstats schema subtree policy

#### Syntax

bulkstats schema schemaIndex subtree policy [ policy-name policyName ]
[ policy-type policyType ] [ policy-subtreelist policyList [ policyList ]* ]

no bulkstats schema schemaIndex

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Configures the schema to collect statistics on a specific policy, a type of policy, or based on color-coded tags applied by a policy. The no version removes the schema.

#### Options

- schemaIndex—Identifier for the schema in the range 1–65535
- policyName—Name of policy for which you want to collect statistics
- policyType—Select one of the following types:
  - input—Collect data on input policies
  - localInput—Collect data on local input policies
  - output—Collect data on output policies
- policyList —Retrieves statistics based on color-coded tags applied by a policy
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

#### Mode

Global Configuration