HP VPN Firewall Appliances Network Management Command Reference
541
Policy-based routing commands
apply default output-interface
Use apply default output-interface to set a default output interface.
Use undo apply default output-interface to remove the configuration.
Syntax
apply default output-interface interface-type interface-number [ track track-entry-number ]
[ interface-type interface-number [ track track-entry-number ] ]
undo apply default output-interface [ interface-type interface-number [ interface-type
interface-number ] ]
Views
Policy node view
Default command level
2: System level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
track track-entry-number: Specifies a track entry by its number, in the range of 1 to 1024.
Usage guidelines
You can specify up to two default output interfaces by performing this command once or twice.
A specified default output interface must be P2P type. Using a non-P2P output interface (broadcast and
NBMA interfaces such as Ethernet and virtual-template interfaces) can result in forwarding failures when
the interface has multiple next hops.
With an interface specified, the undo apply default output-interface command removes the specified
default output interface.
Without any interface specified, the undo apply default output-interface command removes all default
output interfaces.
Examples
# Set GigabitEthernet 0/1 as the default output interface.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] apply default output-interface gigabitethernet 0/1
apply ip-address default next-hop
Use apply ip-address default next-hop to set the default next hops.
Use undo apply ip-address default next-hop to remove the configuration.