ZyXEL Communications XS3800-28 Cli Reference Manual page 237

Hide thumbs Also See for XS3800-28:
Table of Contents

Advertisement

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)
AS External Link States
Link ID
ADV Router
192.168.8.0
192.168.2.2
192.168.9.0
192.168.2.2
192.168.10.0
192.168.2.2
192.168.11.0
192.168.2.2
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)
AS External Link States
Link ID
ADV Router
192.168.8.0
192.168.2.2
Chapter 61 OSPF Commands
Age
Seq#
618 0x80000001 0x02f6 E1 192.168.8.0/24
618 0x80000001 0xf601 E1 192.168.9.0/24
618 0x80000001 0xeb0b E1 192.168.10.0/24
618 0x80000001 0xe015 E1 192.168.11.0/24
Age
Seq#
6 0x80000001 0xf209 E1 192.168.8.0/22
Ethernet Switch CLI Reference Guide
237
CkSum
Route
CkSum
Route

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents