An ingress policy (or route map) defines
the actions to apply to inbound packets.
About this task
Take the following steps to define the criteria for a
policy. Each set of criteria is a rule. A policy can contain multiple rules.
Procedure
-
In the Navigation menu, select
Device
Inventory.
-
In the Devices page, click anywhere in the
required device row except the Actions column ()
to proceed to the device Overview page.
-
In the Device Config menu,
select .
-
In the Name field, enter
a unique name for the policy.
An ingress policy cannot have the same name
as another ingress policy or the reserved keyword
all.
-
In the Policy Type
field, select Ingress
Policy.
-
Select the Sequence in which
to apply the rule.
-
In the Matches field,
select a policy rule.
Note
- For a policy, you can select three rule matches of different types:
1 v4, 1 v6, and 1 l2.
- If you did not create a policy rule match, select Create
Match to create the match now.
- You cannot use the same policy rule match multiple times in a
policy.
- For SLX devices, you can select only one
rule match type (v4, v6, L2, or UDA) per rule.
- For MLX devices, you cannot select L2 and UDA match in the same
rule.
- (MLX only) Do not apply an L2 rule match and a UDA rule match in the
same policy. Doing so causes the related ingress group to fail.
- (MLX only) If you add a UDA rule match to a policy that is
associated with an ingress group, ensure that you first apply the
associated UDA profile to that group. For more information, see
Create an Ingress Group for an SLX or MLX Device.
-
(9920 only) In the QoS field, select
the required QoS.
-
In the Egress Group
field, select the group to associate with the policy.
If you did not create an Egress Group, select
Create Egress
Group. For more information, see
Create an Egress Group.
-
(MLX and 9920 only) In the Packet Slicing
field, enter a value to represent the maximum packet size after slicing.
The final packet size will be less than or equal to this value.
-
(SLX only) In the Truncation
Profile field, select a profile that you created for a port or a
port channel.
-
(9920 only) In the Advance Scope section, select one of the following:
- Decap to remove the outermost tunnel headers from the
packet
- Scope
Shift to move the ACL scope for matching from the outer
headers to the inner headers of a tunneled packet
- None to perform neither action
-
(9920 only) To prevent the rule from being used in the policy, select
the Deny
check box.
Tip
This option
prevents the rule from being used, but does not delete the configuration of
the rule. The rule is skipped and is not used to drop a packet. You can
reinstate the rule later without having to reconfigure it.
-
Select Add Rule.
The rule parameters
appear in the pane on the right.
-
Repeat step 7 through step 14
until you have added all the rules you need.
-
Select
Create.