Setting match criteria for a node

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter policy node view.

policy-based-route policy-name [ deny | permit ] node node-number

N/A

3. Set an ACL match criterion.

if-match acl { acl-number | name acl-name }

By default, no ACL match criterion is set.

4. Set a service chain match criterion.

if-match service-chain { path-id service-path-id [ path-index service-patch-index ] }

By default, no service chain match criterion is set.

A policy that contains this clause is not supported on Layer 3 Ethernet subinterfaces.


[NOTE: ]

NOTE:

If an ACL match criterion is defined, packets are compared with the ACL rules, and the permit or deny action and the time range of the specified ACL are ignored. If the specified ACL does not exist, no packet is matched.