Single-region OSPF
Router (config) # router ospf 1 starts the OSPF routing process
Router (config-router) # router-id 1.1.1.1 configure the Router ID
Router (config-router) # network 1.0.0.0 0.20.255.255 area 0 specifies the interface and region in which the OSPF protocol runs
Multi-region OSPF
Router (config) # router ospf 1
Router (config-router) # router-id 1.1.1.1
Router (config-router) # network 1.0.0.0 0.20.255.255 area 0
Router (config-router) # network 2.0.0.0 0.20.255.255 area 1
Peripheral Area
Router (config) # area1 stub
Complete peripheral area
Router (config) # area1 stub no-summary
Route redistribution
Router rip
Redistribute ospf 10 metric 10
Router ospf 10
Redistribute rip metric 10 subnets
NSSA Region
Router (config) # area1 nssa
Virtual Link
Router (config) # area 100 virtual-link 1.1.1.1 peer RID
This article is from the blog "make a little progress every day" and will not be reposted!