Configuring the P2P network type for an interface
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure the OSPF
network type for the
interface as P2P.
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, perform the following tasks:
•
Configure IP addresses for interfaces to ensure IP connectivity between neighboring nodes.
•
Enable OSPF.
•
Configure filters if routing information filtering is needed.
Configuring OSPF route summarization
Route summarization enables an ABR or ASBR to summarize contiguous networks into a single
network and advertise the network to other areas.
Route summarization reduces the routing information exchanged between areas and the size of
routing tables, and improves routing performance. For example, three internal networks 19.1.1.0/24,
19.1.2.0/24, and 19.1.3.0/24 are available within an area. You can summarize the three networks
into network 19.1.0.0/16, and advertise the summary network to other areas.
Configuring route summarization on an ABR
After you configure a summary route on an ABR, the ABR generates a summary LSA instead of
specific LSAs. The scale of LSDBs on routers in other areas and the influence of topology changes
are reduced.
To configure route summarization on an ABR:
Step
1.
Enter system view.
2.
Enter OSPF view.
3.
Enter OSPF area view.
4.
Configure ABR route
summarization.
Command
system-view
interface interface-type
interface-number
ospf network-type p2p
[ peer-address-check ]
Command
system-view
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
area area-id
abr-summary ip-address
{ mask-length | mask } [ advertise |
not-advertise ] [ cost cost-value ]
79
Remarks
N/A
N/A
By default, the network type of an
interface is broadcast.
Remarks
N/A
N/A
N/A
By default, route summarization is
not configured on an ABR.