R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
500
Parameters
interface-type interface-number: Specifies an interface.
track track-entry-number: Specifies a track entry. The track-entry-number argument is in the range of 1 to
1024.
Description
Use apply output-interface to set outgoing interface(s) for packets.
Use undo apply output-interface to remove the configuration.
Up to two outgoing interfaces can be specified in one command line for the policy node.
For non-P2P interfaces (broadcast and NBMA interfaces) such as Ethernet interface or virtual-template
interface, multiple next hops may be available, and thus packets may not be forwarded successfully.
Using the undo apply output-interface command with an interface specified removes the outgoing
interface. Using this command without any interface specified removes all outgoing interfaces.
NOTE:
Non-broadcast multi-access (NBMA) networks adopt the unicast mode to send packets.
Examples
# Specify the interface GigabitEthernet 0/1 as the outgoing interface for IP packets.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] apply output-interface GigabitEthernet 0/1 track 1
display ip policy-based-route
Syntax
display ip policy-based-route [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display ip policy-based-route to display the PBR routing information.
Examples
# Display the PBR routing information.