F3215-HP Load Balancing Module Network Management Command Reference-6PW101
415
route-policy route-policy-name: Specifies a routing policy, the name of which is a case-sensitive string of
1 to 63 characters.
type type: Specifies a type for the ASE LSA: 1 or 2. The default is 2.
Usage guidelines
Using the import-route command cannot redistribute a default route. To do so, use the
default-route-advertise command. If no default route exists in the routing table, use the
default-route-advertise always command to generate a default route in a Type-5 LSA.
You can reference a routing policy to set the cost and type of the default route:
• The default route passing the routing policy uses the cost set by the apply cost clause, and the type
set by the apply cost-type clause in the routing policy.
• The default route cost’s priority from high to low is: the cost set by the apply cost clause in the routing
policy, the one set by the default-route-advertise command and the one set by the default cost
command.
• The default route type’s priority from high to low is: the type set by the apply cost-type clause in the
routing policy, and the one set by the default-route-advertise command.
• If the always keyword is included, the default route is advertised regardless of whether it passes the
routing policy and uses the cost and type specified by the apply cost, apply cost-type clauses in the
first node of the routing policy.
Examples
# Generate a default route into the OSPFv3 routing domain.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] default-route-advertise always
Related commands
import-route
display ospfv3
Use display ospfv3 to display the brief information of an OSPFv3 process.
Syntax
display ospfv3 [ process-id ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see System Management Configuration 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.