4.3.2. network

Syntax

network A.B.C.D/M

no network A.B.C.D/M

Parameter


A.B.C.D/M Ospf network prefix


Default

Mode

OSPF area mode

Usage

Use the command “network” to publish the IP routing network of OSPF.

Example

Publish the IP routing network of OSPF

Switch(config)# ospf 1
Switch(config-ospf-1)# area 0
Switch(config-ospf-1-area-0.0.0.0)# network 12.1.1.1/24