Applying a match-action policy

To activate a match-action policy, apply the policy to one or more routed subinterfaces of the network-instance configured in the policy.

The following example applies a match-action policy to a subinterface in the default network-instance.

--{ candidate shared default }--[  ]--
# info with-context network-instance default policy-forwarding
    network-instance default {
        policy-forwarding {
            interface ethernet-1/1.1 {
                apply-match-action-policy ma1
            }
        }
    }