ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual
Page 168

Chapter 43 OSPF Commands
Ethernet Switch CLI Reference Guide
168
This example shows you how to enable the redistribution for RIP protocol and then show all
redistribution entries.
From the example above, the third octet of all the four network IP addresses is 00001000,
00001001, 00001010, 000001011 respectively. The first 4 digits (000010) 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)# redistribute rip metric-type 1 metric 123
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 618 0x80000001 0x02f6 E1 192.168.8.0/24
192.168.9.0 192.168.2.2 618 0x80000001 0xf601 E1 192.168.9.0/24
192.168.10.0 192.168.2.2 618 0x80000001 0xeb0b E1 192.168.10.0/24
192.168.11.0 192.168.2.2 618 0x80000001 0xe015 E1 192.168.11.0/24
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