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:
- Access the dynamic profile you want to use.[edit]user@host# edit dynamic-profiles myProfile
- Specify the interface for the dynamic
profile—use the dynamic interface variable. [edit dynamic-profiles myProfile]user@host# edit interfaces $junos-interface-ifd-name
- 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
- 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
- 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
Related Topics
- Dynamic Service Sets Overview
- Verifying and Managing Service Sets Information
- For information about creating service sets, see “Service Set Configuration Guidelines” in the Junos Services Interfaces Configuration Guide.
- For information about statically applying service sets to interfaces, see Applying Filters and Services to Interfaces in the Junos Services Interfaces Configuration Guide.
