384
Local PBR might affect local services, such as ping and Telnet. Do not configure local PBR unless
doing so is required.
To configure local PBR:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Apply a policy locally.
ip local policy-based-route
policy-name
By default, no policy is locally
applied.
Configuring interface PBR
Configure PBR by applying a policy to an interface. PBR uses the policy to guide the forwarding of
packets received on the interface. The specified policy must already exist. Otherwise, the interface
PBR configuration fails.
You can apply only one policy to an interface. Before you apply a new policy, you must first remove
the current policy from the interface.
You can apply a policy to multiple interfaces.
To configure interface PBR:
Step
Command
Remarks
1.
Enter system
view.
system-view
N/A
2.
Enter interface
view.
interface
interface-type interface-number
N/A
3.
Apply a policy
to the interface.
ip policy-based-route
policy-name
By default, no policy is applied to the
interface.
Displaying and maintaining PBR
Execute
display
commands in any view and
reset
commands in user view.
Task
Command
Display PBR policy information.
display ip policy-based-route
[
policy policy-name
]
Display PBR configuration.
display ip policy-based-route setup
(In standalone mode.) Display local PBR
configuration and statistics.
display ip policy-based-route local
[
slot slot-number
]
(In IRF mode.) Display local PBR
configuration and statistics.
display ip policy-based-route local
[
chassis
chassis-number
slot
slot-number
]
(In standalone mode.) Display interface PBR
configuration and statistics.
display ip policy-based-route interface
interface-type
interface-number
[
slot slot-number
]
(In IRF mode.) Display interface PBR
configuration and statistics.
display ip policy-based-route interface
interface-type
interface-number
[
chassis
chassis-number
slot
slot-number
]
Clear PBR statistics.
reset ip policy-based-route statistics
[
policy
policy-name
]
Содержание HPE FlexNetwork 7500 series
Страница 505: ...493 Connector N A ...