R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
497
Default level
2: System level
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 default output-interface to set the default outgoing interface.
Use undo apply default output-interface to remove the configuration.
Using this command can set two outgoing interfaces at most for load sharing.
You need to specify a P2P interface as the outgoing interface. For a non-P2P outgoing interface
(broadcast and NBMA interfaces) such as Ethernet or virtual-template interface, multiple next hops are
possible, and thus packets may not be forwarded successfully.
Using the undo apply default output-interface command with an interface specified removes the default
outgoing interface. Using this command without any interface specified removes all default outgoing
interfaces.
Examples
# Set the default outgoing interface to GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] apply default output-interface gigabitethernet 0/1 track 1
apply ip-address default next-hop
Syntax
apply ip-address default next-hop ip-address [ track track-entry-number ] [ ip-address [ track
track-entry-number ] ]
undo apply ip-address default next-hop [ ip-address [ ip-address ] ]
View
PBR policy node view
Default level
2: System level
Parameters
ip-address: IP address of the default next hop.
track track-entry-number: Specifies a track entry. The track-entry-number argument is in the range of 1 to
1024.
Description
Use apply ip-address default next-hop to set the default next hop(s).
Use undo apply ip-address default next-hop to remove the configuration.
Note that: