H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 3 OSPF Configuration
3-25
To do… Use the command… Remarks
Configure a virtual link
vlink-peer router-id
[ hello seconds |
retransmit seconds |
trans-delay seconds |
dead seconds | simple
[ plain | cipher ]
password | { md5 |
hmac-md5 } key-id [ plain
| cipher ] password ] *
Optional
Configured on both ends
of a virtual link
Note that hello and dead
parameters must be
identical on both ends of
the link.
Advertise a host route
host-advertise
ip-address cost
Optional
Not advertised by default
Note:
z It is required to use the stub command on routers attached to a stub area.
z It is required to use the nssa command on routers attached to an NSSA area.
z Using the default-cost command only takes effect on the ABR of a stub area or the
ABR/ASBR of an NSSA area.
3.5 Configuring OSPF Network Types
OSPF classifies networks into four types upon link layer protocols. Since an NBMA
network must be fully meshed, namely, any two routers in the network must have a
virtual link in between. In most cases, however, the requirement cannot be satisfied, so
you need to change the network type using commands.
For routers having no direct link in between, you can configure the P2MP type for the
related interfaces. If a router in the NBMA network has only a single peer, you can
configure the P2P type for the related interfaces.
In addition, when configuring broadcast and NBMA networks, you can specify for
interfaces router priorities for DR/BDR election. In practice, the routers having higher
reliability should become the DR/BDR.
3.5.1 Prerequisites
Before configuring OSPF network types, you have configured:
z IP addresses for interfaces, making neighboring nodes accessible with each other
at network layer.
z OSPF basic functions.