ip policy-based-route egress

Use ip policy-based-route egress to specify a policy for outbound PBR on a VXLAN tunnel interface.

Use undo ip policy-based-route egress to restore the default.

Syntax

ip policy-based-route policy-name egress

undo ip policy-based-route egress

Default

No policy is specified for outbound PBR on a VXLAN tunnel interface.

Views

VXLAN tunnel interface view

Predefined user roles

network-admin

Parameters

policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. The specified policy must already exist.

Examples

# Apply policy aaa to Tunnel 1.

<Sysname> system-view
[Sysname] interface Tunnel 1 mode vxlan
[Sysname-Tunnel1] ip policy-based-route aaa egress