Specifying a policy for interface PBR
You can specify only one policy for interface PBR and must make sure the specified policy already exists.
Before you can apply a new policy to an interface, you must first remove the current policy from the interface.
You can apply a policy to multiple interfaces.
To specify a policy for interface PBR on an interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Specify a policy for interface PBR. | ip policy-based-route policy-name | By default, no interface policy is applied to an interface. |