Before applying a routing policy in a live environment, you can use the test policy command to ensure that the policy produces the results that you expect. The test policy command uses the following syntax:
- user@host> test policy policy-name prefix
For more information about test commands, see the JUNOS Routing Protocols and Policies Command Reference.