78
Step Command
Remarks
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the OSPF network
type for the interface as
P2MP.
ospf network-type p2mp
[
unicast
]
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. The interface
cannot broadcast hello packets to
discover neighbors. In that case, you
need to manually specify the
neighbors.
4.
Exit to system view.
quit
N/A
5.
Enter OSPF view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
N/A
6.
Specify a neighbor and its
router priority on a P2MP
unicast network.
peer
ip-address
[
cost
value
|
dr-priority
dr-priority
]
Required if the interface type is
P2MP unicast.
Configuring the P2P network type for an interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the OSPF network
type for the interface as P2P.
ospf network-type p2p
By default, the network type of an
interface depends on the link layer
protocol.
Configuring OSPF route control
This section describes how to control the advertisement and reception of OSPF routing information, as
well as route redistribution from other protocols.
Configuration prerequisites
Before you configure OSPF route control, complete the following tasks:
•
Configure IP addresses for interfaces.
•
Configure OSPF basic functions.
•
Configure filters if routing information filtering is needed.