3com MSR 20-20 참조 매뉴얼
1152
C
HAPTER
76: OSPF C
ONFIGURATION
C
OMMANDS
undo peer ip-address
View
OSPF view
Parameters
ip-address: Neighbor IP address.
dr-priority: Neighbor DR priority, in the range 0 to 255, the bigger the value, the
higher the priority.
higher the priority.
Description
Use the peer command to specify the IP address of an NBMA neighbor, and the
DR priority of the neighbor.
DR priority of the neighbor.
Use the undo peer command to remove the configuration.
The DR priority of NBMA neighbors defaults to 1.
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.
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.
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.
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:
Examples
# Specify the neighbor IP address 1.1.1.1.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] peer 1.1.1.1
preference
Syntax
preference [ ase ] [ route-policy route-policy-name ] value
undo preference [ ase ]
View
OSPF view
Parameters
ase: Sets priority for ASE routes. If the keyword is not specified, using the
command sets priority for internal routes.
command sets priority for internal routes.
route-policy: Applies a route policy to set priorities for specified routes.