> - Downloads
> - Configuring Policy Lists (SRC CLI)
> - Related Topics
> - Before You Configure SRC Policies
> - Overview of Policy Rules
> - Enabling the Policy Configuration on the SRC CLI
> - Configuring Policy Lists (C-Web Interface)
> - Example: Creating Access Policies for Subscribers

> # Configuring Policy Lists (SRC CLI)

> When you add a policy list, you specify whether the policy list is for routers running JUNOS Software (junos), routers running JUNOSe Software (junose-ipv4, junose-ipv6), a CMTS device (pcmm), or AAA devices (aaa). 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 group name list name {
>   role (junos | junose-ipv4 | junose-ipv6 | pcmm | aaa);
>   applicability (input | output | both | secondary-input);
>   description description ;
> }
> `

> To add a policy list:

> 1. 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
>    `
> 2. 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
>    `
> 3. Specify where the policy is applied on the router or, for PCMM policies, indicates whether the policy applies to the upstream or downstream channel. For JUNOSe policies, you can specify whether a secondary policy applies to the input (ingress) side of the router interface.
>    `
>    [edit policies group dhcp list in]
>    user@host# set applicability input
>    `
> 4. (Optional) Provide a description of the policy list.
>    `
>    [edit policies group dhcp list in]
>    user@host# set description description
>    `
> 5. (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";

> #### Published: 2009-09-22

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.