Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Configuring Forwarding Instance Actions (SRC CLI)

    You can configure forwarding instance actions for routers running the PTSP feature. This action specifies a forwarding instance to assign to flows that match this policy.

    Note: For PTSP you must:

    • Set the role of the policy list to junos-ptsp
    • Set the policy list rule type to ptsp-service-rule
    • Set the policy list applicability option to both
    • Create a policer instance.

    Use the following configuration statements to configure a forwarding instance action:

    policies group name list name rule name forwarding-instance {forwarding-instance;forwarding-unit forwarding-unit ; description description ; }

    To configure a forwarding instance action:

    1. From configuration mode, enter the forwarding instance configuration. For example:
      user@host# edit policies group group1 list list1 rule rule1 forwarding-instance
    2. (Optional) Specify a forwarding instance to assign to flows matching the policy.
      user@host# edit policies group group1 list list1 rule rule1 forwarding-instance “_same_”

      Allowed values are __same__, or one of the forwarding instances configured on the router. The value __same__ forwards the flow in whatever forwarding instance it came in or is set from static configuration.

    3. (Optional) Specify a forwarding unit to assign to flows matching this policy. Forwarding unit specifies the multiservice interface unit number for forward flows to in order to reach the forwarding instance specified by the attribute forwarding-instance. Note that there is only a very loose coupling between this unit number and the forwarding instance. The binding between them only happens with the aid of additional router configuration.
      [edit policies group group1 list list1 rule rule1 forwarding-instance] user@host# set forwarding-unit forwarding-unit

      Enter a value in the range 0–16384.

    4. (Optional) Enter a description for the forwarding instance action.
      [edit policies group group1 list list1 rule rule1 forwarding-instance]user@host# set description description
    5. (Optional) Verify the forwarding instance action configuration.
      [edit policies group bod list input rule pr forwarding-instance]
      user@host# show 
      "'fi1'" forwarding-instance 1 description fi-sample
      

    Modified: 2016-12-29