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

Chapter 43 OSPF Commands
Ethernet Switch CLI Reference Guide
167
This example configures an OSPF interface for the 172.16.1.1/24 network and specifies to use
simple authentication with the key 1234abcd. The priority for the
Switch
is also set to 1, as
this router should participate in router elections.
In this example, the Switch (Z) is a redistributor between a RIP network and an OSPF
network. It summarizes 4 routing entries 192.168.8.0/24 ~ 192.168.11.0/24 (learned from RIP
router A) into 192.168.8.0/22 and then sends it to OSPF router B.
Figure 8 OSPF Redistribution Summary Address Example
sysname(config)#
interface route-domain 172.16.1.1/24
sysname
(config-if)# ip ospf authentication-key abcd1234
sysname
(config-if)# ip ospf priority 1
sysname# show ip ospf interface
swif2 is up, line protocol is up
Internet Address 172.16.1.1/24, Area 0.0.0.0
Router ID 172.16.1.1, Network Type BROADCAST, Cost: 15
Transmit Delay is 1 sec, State Waiting, Priority 1
No designated router on this network
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:04
Neighbor Count is 0, Adjacent neighbor count is 0
OSPF
Redistributor
RIP
Z
192.168.8.0/24
192.168.9.0/24
192.168.10.0/24
192.168.11.0/24
192.168.8.0/22
A
B
IP: 172.16.1.1