set policy invalid action

Use this command to assign the action the device will apply to an invalid or unknown policy.

Syntax

set policy invalid action {default-policy | drop | forward}

Parameters

default-policy Instructs the device to ignore the result and search for the next policy assignment rule. If all rules are missed, the default policy is applied.
drop Instructs the device to block traffic.
forward Instructs the device to forward traffic as if no policy has been assigned via 802.1d/Q rules.

Defaults

None.

Mode

All command modes.

Example

This example shows how to assign a drop action to invalid policies:

System(rw)->set policy invalid action drop