The following service set can be attached to any media interface of family type inet:
- [edit]
- services {
-
- service-set sset1 {
-
- extension-service jnx-flow {
-
provider-specific rules;
- }
- # Existing hierarchy
-
- interface-service {
- service-interface { # Indicates service set is an interface
service set
- ms-x/y/0.0; # Specifies which PIC to install this policy
on
- }
- }
- }
To associate a defined service set with an interface, include the service-set statement at the [edit interfaces interface-name unit logical-unit-number family inet service (input | output)] hierarchy level. The following configuration attaches the service set sset1 to the media interface ge-0/0/0.0:
- [edit]
- # Existing hierarchy
- interfaces {
-
- ge-0/0/0 {
-
- unit 0 {
-
- family inet {
-
- service {
-
- input {
- service-set sset1; # Attach service set to input
- }
-
- output {
- service-set sset1; # Attach service set to output
- }
- }
- }
- }
- }
- }