ZyXEL Communications Ethernet Switch Cli Reference Manual page 210

Table of Contents

Advertisement

Chapter 49 OSPF Commands
This example shows you how to enable the redistribution for RIP protocol 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)
Link ID
192.168.8.0
192.168.9.0
192.168.10.0
192.168.11.0
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)# 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)
Link ID
192.168.8.0
210
AS External Link States
ADV Router
Age
192.168.2.2
618 0x80000001 0x02f6 E1 192.168.8.0/24
192.168.2.2
618 0x80000001 0xf601 E1 192.168.9.0/24
192.168.2.2
618 0x80000001 0xeb0b E1 192.168.10.0/24
192.168.2.2
618 0x80000001 0xe015 E1 192.168.11.0/24
AS External Link States
ADV Router
Age
192.168.2.2
6 0x80000001 0xf209 E1 192.168.8.0/22
Seq#
CkSum
Route
Seq#
CkSum
Route
Ethernet Switch CLI Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gs3700 series

Table of Contents