Celestica Documentation Portal

Find your product documents here

network

Enables routing on an IP network.

Syntaxnetwork A.B.C.D/M area <A.B.C.D|area-id>
Command modeRouter OSPF
Parameters
  • A.B.C.D/M – OSPF network prefix.

  • A.B.C.D – OSPF area ID in IP address format.

  • area-id – OSPF area ID as a decimal value. Range: 0 – 4294967295.

Usage Use no network A.B.C.D/M area <A.B.C.D|area-id> to remove the configuration.
Supported Releases1.1.0 or later
Click command None
Example
sonic(config-router)# network 5.5.5.4/24 area 1
sonic(config-router)# network 6.6.6.6/24 area 10.1.1.1
sonic(config-router)# no network 5.5.5.4/24 area 1
sonic(config-router)# no network 6.6.6.6/24 area 10.1.1.1