73
Configuring the P2MP 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
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, so you must
manually specify the neighbors.
4.
Return 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.
(Optional.) Specify a
neighbor and its router
priority.
peer
ip-address
[
cost
value
]
By default, no neighbor is specified.
This step must be performed if the
network type is P2MP unicast, and is
optional if the network type is P2MP.
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
[
peer-address-check
]
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 to ensure IP connectivity between neighboring nodes.