R211x-HP Flexfabric 11900 Layer 3 - IP Routing Command Reference
155
Usage guidelines
This command enables OSPF on the interface attached to the specified network. The interface's primary
IP address must be in the specified network. If only the interface's secondary IP address is in the network,
the interface cannot run OSPF.
Examples
# Specify the interface whose primary IP address is on network 131.108.20.0/24 to run OSPF in Area 2.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 2
[Sysname-ospf-100-area-0.0.0.2] network 131.108.20.0 0.0.0.255
Related commands
ospf
nssa
Use nssa to configure the current area as an NSSA area.
Use undo nssa to restore the default.
Syntax
nssa [ default-route-advertise [ cost cost | nssa-only | route-policy route-policy-name | type type ] * |
no-import-route | no-summary | suppress-fa | [ translate-always | translate-never ] |
translator-stability-interval value ] *
undo nssa
Default
No area is configured as an NSSA area.
Views
OSPF area view
Predefined user roles
network-admin
mdc-admin
Parameters
default-route-advertise: Used on an NSSA ABR or an ASBR only. If it is configured on an NSSA ABR, the
ABR generates a default route in a Type-7 LSA into the NSSA area regardless of whether a default route
is available in the routing table. If it is configured on an ASBR, the ASBR generates a default route in a
Type-7 LSA only when the default route is available in the routing table.
cost cost: Specifies a cost for the default route, in the range of 0 to 16777214. If no cost is specified, the
default cost specified by the default cost command applies.
nssa-only: Limits the default route advertisement to the NSSA area by setting the P-bit of Type-7 LSAs to
0. By default, the P-bit of Type-7 LSAs is set to 1. If the router acts as both an ASBR and an ABR and FULL
state neighbors exist in the backbone area, the P-bit of Type-7 LSAs originated by the router is set to 0.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
characters. When a default route exists in the routing table and the specified routing policy is matched,










