Chapter 83 OSPF Commands
OLT2406 User’s Guide
606
From the example above, the third octet of all the four network IP addresses is 8 (b00001000), 9
(b00001001), 10 (b00001010), 11 (b000001011) respectively. The first 2 octec and the first 6 bits of the third
octec (b000010) are the common part among these IP addresses. So 192.168.8.0/22 can be used to
represent all of the 4 networks. The following example shows you how to configure the OSPF summary
address and then show all redistribution entries.
sysname# config
sysname(config)# router ospf 172.16.1.1
sysname(config-ospf)# summary-address 192.168.8.0 255.255.252.0
sysname(config-ospf)# exit
sysname(config)# exit
sysname# show ip ospf database
OSPF Router with ID (172.16.1.1)
(Omit not external part °K)
AS External Link States
Link ID ADV Router Age Seq# CkSum Route
192.168.8.0 192.168.2.2 6 0x80000001 0xf209 E1 192.168.8.0/22