beautypg.com

3 command examples – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 166

background image

Chapter 43 OSPF Commands

Ethernet Switch CLI Reference Guide

166

43.3 Command Examples

In this example, the Switch (A) is an Area Border Router (ABR) in an OSPF network.

Figure 7 OSPF Network Example

This example enables OSPF on the Switch, sets the router ID to 172.16.1.1, configures an
OSPF area ID as 0.0.0.0 (backbone) and enables simple authentication.

show router ospf summary-address

Displays all summary addresses on the

Switch.

E

3

no router ospf

Disables OSPF on the Switch.

C

13

Table 97 OSPF Command Summary (continued)

COMMAND

DESCRIPTION

M

P

sysname(config)# router ospf 172.16.1.1
sysname(config-ospf)# area 0.0.0.0
sysname(config-ospf)# area 0.0.0.0 authentication
sysname(config-ospf)# area 0.0.0.0 name backbone
sysname(config-ospf)# network 172.16.1.1/24 area 0.0.0.0
sysname# show router ospf area
index:1 active:Y name:backbone
area-id:0.0.0.0 auth:SIMPLE
stub-active:N stub-no-sum:N default-cost:15

Area 0

Backbone

Area 1

IP: 172.16.1.1

A