H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 3 OSPF Configuration Commands
3-10
type type-value: Specifies the cost type of this ase lsa. The value of type-value ranges
from 1 to 2 and defaults 2.
route-policy route-policy-name: Specifies a route policy by name, a string of 1 to 19
characters. If you specify the default route name here, the values in ase lsa will be
affected.
Description
Use the default-route-advertise command to import the default route to OSPF route
area.
Use the undo default-route-advertise command to cancel the setting.
By default, OSPF does not import the default route.
The import-route command cannot import the default route. To import the default route
to the route area, you must use the default-route-advertise command. If the local
router is not configured with the default route, the keyword always should be specified
so that ase lsa of the default route is generated.
Related commands: import-route.
Examples
# The ase lsa of the default route is generated only if the local router has the default
route.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ospf 1
[H3C-ospf-1] default-route-advertise
# The ase lsa of default route will be generated and advertised to OSPF route area
even the local router has no default route.
[H3C-ospf-1] default-route-advertise always
3.1.12 display ospf abr-asbr
Syntax
display ospf [ process-id ] abr-asbr
View
Any view
Parameters
process-id: OSPF process ID, in the range 1 to 65535. If you do not specify a process
ID, this command applies to all current OSPF processes.