Configuring Policy Lists
When you add a policy list, you specify whether the policy list is for JUNOS routing platforms, JUNOSe routers (junose-ipv4), or a CMTS device (pcmm). The type of policy list that you add controls the type of policy rules that you can add to the policy list.
You create policy lists within policy groups. Use the following configuration statements to create a policy list:
policies groupname
listname
{role (junos | junose-ipv4 | pcmm); applicability (input | output | both); descriptiondescription
;}
- From configuration mode, create a policy list. For example, to create a policy list called in within a policy group called dhcp:
user@host#edit policies group dhcp list in
- Specify the type of policy list. You must configure the type of policy list before you can add rules to the list.
[edit policies group dhcp list in]user@host#set role junose-ipv4
- Specify where the policy is applied on the router or, for PCMM policies, indicates whether the policy applies to the upstream or downstream channel.
[edit policies group dhcp list in]user@host#set applicability input
- (Optional) Provide a description of the policy list.
[edit policies group dhcp list in]user@host#set description
description
- (Optional) Verify your policy list configuration.
[edit policies group dhcp list in]user@host#show
role junose-ipv4;applicability input;description "input policy list for JUNOSe DHCP";