H3C S7500E Series Command Manual page 360

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
3.1.50 peer
Syntax
peer ip-address [ dr-priority dr-priority ]
undo peer ip-address
View
OSPF view
Parameters
ip-address: Neighbor IP address.
dr-priority: Neighbor DR priority, in the range 0 to 255.
Description
Use the peer command to specify a neighbor, and the DR priority of the neighbor.
Use the undo peer command to remove the configuration.
On an X.25 or Frame Relay network, you can configure mappings to make the network
fully meshed (any two routers have a direct link in between), so OSPF can handle
DR/BDR election as it does on a broadcast network. However, since routers on the
network cannot find neighbors via broadcasting hello packets, you need to specify
neighbors and neighbor DR priorities on the routers.
After startup, a router sends a hello packet to neighbors with DR priorities higher than 0.
When the DR and BDR are elected, the DR will send hello packets to all neighbors for
adjacency establishment.
A router uses the priority set with the peer command to determine whether to send a
hello packet to the neighbor rather than for DR election. The DR priority set with the
ospf dr-priority command is used for DR election.
Related commands: ospf dr-priority.
Examples
# Specify the neighbor 1.1.1.1.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] peer 1.1.1.1
3.1.51 preference
Syntax
preference [ ase ] [ route-policy route-policy-name ] value
undo preference [ ase ]
Chapter 3 OSPF Configuration Commands
3-53

Advertisement

Table of Contents
loading

Table of Contents