EasyManuals Logo
Home>HP>Switch>5920 Series

HP 5920 Series User Manual

HP 5920 Series
607 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #181 background imageLoading...
Page #181 background image
168
peer
Use peer to specify a neighbor in an NBMA or P2MP network.
Use undo peer to remove the configuration.
Syntax
peer ip-address [ cost value | dr-priority dr-priority ]
undo peer ip-address
Default
No neighbor is specified.
Views
OSPF view
Predefined user roles
network-admin
Parameters
ip-address: Specifies a neighbor by its IP address.
cost value: Specifies the cost to reach the neighbor, in the range of 1 to 65535.
dr-priority dr-priority: Specifies the DR priority for the neighbor, in the range of 0 to 255. The default
neighbor DR priority is 1.
Usage guidelines
In an NBMA or P2MP network, OSPF packets are sent in unicast, so you must use this command to
specify neighbors.
The cost set with the peer command applies only to P2MP neighbors. If no cost is specified, the cost to
the neighbor equals the local interface's cost.
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.
Examples
# S p e ci f y t h e n ei g h b o r 1.1.1.1.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] peer 1.1.1.1
Related commands
ospf dr-priority
pic
Use pic to enable OSPF PIC.
Use undo pic to disable OSPF PIC.

Table of Contents

Other manuals for HP 5920 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 5920 Series and is the answer not in the manual?

HP 5920 Series Specifications

General IconGeneral
BrandHP
Model5920 Series
CategorySwitch
LanguageEnglish

Related product manuals