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-46
Parameters
ip-address: IP address of the peer.
dr-priority-value: Value of the corresponding priority of a neighbor in the NBMA network.
It ranges from 0 to 255 and defaults to 1.
Description
Use the peer command to specify the IP address of an NBMA neighbor, and the DR
priority of the neighbor.
Use the undo peer command to cancel this configuration.
Examples
# Configure the IP address of the neighbor router as 10.1.1.1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ospf 1
[H3C-ospf-1] peer 10.1.1.1
3.1.43 preference
Syntax
preference [ ase ] value
undo preference [ ase ]
View
OSPF view
Parameters
value: Priority value, in the range 1 to 255.
ase: Specifies the priority of imported external routes of the AS.
Description
Use the preference command to configure the priority of an OSPF routes.
Use the undo preference command to restore the default.
By default, the priority is 10 for OSPF internal routes and 150 external routes.
Since a router may run multiple dynamic routing protocols, it has to decide on routes
found by these protocols. Every protocol has a priority to help the router determine
which route to use especially when multiple routes to the same destination are found by
several routing protocols. The route found by the protocol with the highest priority will
be used.