policy-based-route

Function

The policy-based-route command accesses the view of the PBR policy.

Format

policy-based-route

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After you access the view of the PBR policy, you can create PBR rules to divert traffic.

Example

# Access the view of the PBR policy.

<sysname> system-view
[sysname] policy-based-route
[sysname-policy-pbr] 

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.