77
type
type ] * |
no-import-route
|
no-summary
|
suppress-fa
|
[ [ [
translate-always
]
[
translate-ignore-checking-bac
kbone
] ] |
translate-never
] |
translator-stability-interval
value ] *
5. (Optional.) Set a cost for
the default route advertised
to the NSSA area.
default-cost
cost-value
The default setting is 1.
This command takes effect only on
the ABR/ASBR of an NSSA or
totally NSSA area.
Configuring a virtual link
Virtual links are configured for connecting backbone area routers that have no direct physical links.
To configure a virtual link:
1. Enter system view.
N/A
2. Enter OSPF view.
ospf
[
process-id |
router-id
router-id |
vpn-instance
vpn-instance-name ] *
N/A
3. Enter area view.
area
area-id N/A
4. Configure a virtual link.
vlink-peer
router-id [
dead
seconds |
hello
seconds |
{ {
hmac-md5
|
md5
} key-id
{
cipher
|
plain
} string |
keychain
keychain-name |
simple
{
cipher
|
plain
} string } |
retransmit
seconds |
trans-delay
seconds ] *
By default, no virtual links exist.
Configure this command on both
ends of a virtual link. The
hello
and
dead
intervals must be identical on
both ends of the virtual link.
Configuring OSPF network types
OSPF classifies networks into the following types based on the link layer protocol:
• Broadcast—When the link layer protocol is Ethernet or FDDI, OSPF classifies the network type
as broadcast by default.
• NBMA—When the link layer protocol is Frame Relay, ATM, or X.25, OSPF classifies the
network type as NBMA by default.
• P2P—When the link layer protocol is PPP, LAPB, or HDLC, OSPF classifies the network type
as P2P by default.
When you change the network type of an interface, follow these guidelines:
• When an NBMA network becomes fully meshed, change the network type to broadcast to avoid
manual configuration of neighbors.
• If any routers in a broadcast network do not support multicasting, change the network type to
NBMA.
• An NBMA network must be fully meshed. OSPF requires that an NBMA network be fully
meshed. If a network is partially meshed, change the network type to P2MP.