R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

286
To do… Use the command…
Remarks
Configure the OSPF network type
for the interface as NBMA
ospf network-type nbma
Required
By default, the network type of
an interface depends on the
link layer protocol.
Configure a DR priority for the
interface
ospf dr-priority priority
Optional
The default DR priority is 1
Exit to system view quit
Enter OSPF view
ospf [ process-id | router-id router-id |
vpn-instance instance-name ] *
Specify a neighbor and its DR
priority
peer ip-address [ cost value | dr-priority
dr-priority ]
Required
NOTE:
The router priority configured with the ospf dr-priority command and the one configured with the peer
command have the following differences:
The former is for actual DR election.
The latter is to indicate whether a neighbor has the election right or not. If you configure the router
priority for a neighbor as 0, the local router will consider the nei
g
hbor has no election ri
g
ht, and thus
send no hello packet to this neighbor, reducing the number of hello packets for DR/BDR election on
networks. However, if the local router is the DR or BDR, it sends hello packets to the neighbor with
priority 0 for adjacency establishment.
Configuring the OSPF network type for an interface as P2MP
Follow these steps to configure the OSPF network type for an interface as P2MP:
To do… Use the command…
Remarks
Enter system view system-view
Enter interface view
interface interface-type
interface-number
Configure the OSPF
network type for the
interface as P2MP
ospf network-type p2mp
[ unicast ]
Required
By default, the network type of an interface
depends on the link layer protocol.
After you configure the OSPF network type for
an interface as P2MP unicast, all packets are
unicast over the interface. Thus the interface
cannot broadcast hello packets to discover
neighbors. In that case, you need to manually
specify the IP address of the neighboring
interface.
Exit to system view quit
Enter OSPF view
ospf [ process-id | router-id
router-id | vpn-instance
instance-name ] *