Technical Documentation

Associating Service Sets to Interfaces in a Dynamic Profile

After you configure a service set, you use a dynamic profile to dynamically associate the service set to interfaces. You reference the filter in the interfaces stanza of a dynamic profile. When the dynamic profile instantiates a subscriber session, the router applies the terms of the filter to the interface.

To apply a service set to an interface in a dynamic profile:

  1. Access the dynamic profile you want to use.
    [edit]user@host# edit dynamic-profiles myProfile
  2. Specify the interface for the dynamic profile—use the dynamic interface variable.
    [edit dynamic-profiles myProfile]user@host# edit interfaces $junos-interface-ifd-name
  3. Specify the underlying interface—use the unit number variable.
    [edit dynamic-profiles myProfile interfaces “$junos-interface-ifd-name”]user@host# edit unit $junos-underlying-interface-unit
  4. Specify the family. Dynamic service sets are supported only on family inet (IPv4).
    [edit dynamic-profiles myProfile interfaces “$junos-interface-ifd-name” unit “$junos-underlying-interface-unit”]user@host# edit family inet
  5. Specify the input and output service sets that you want to apply to the interface.
    [edit dynamic-profiles myProfile interfaces “$junos-interface-ifd-name” unit “$junos-underlying-interface-unit” family inet]user@host# set service input service-set inputService_200user@host# set service input post-service-filter postService_15user@host# set service output service-set outputService_320

Published: 2010-04-15