Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Configuring Policy Lists (SRC CLI)

    When you add a policy list, you specify whether the policy list is for routers running Junos OS (junos or junos-ise), routers running JunosE Software (junose-ipv4, junose-ipv6, or junose-l2tp), 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 | junos-ise | junose-ipv4 | junose-ipv6 | junose-l2tp | 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:

      Note: The name configured for the policy list is case-sensitive. Hence, you must use the same configured name in all instances.

      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";

    Modified: 2016-12-29