Celestica Documentation Portal

Find your product documents here

address range

Summarizes routes matching address/mask (border routers only).

Syntaxarea <A.B.C.D|area-id> range [advertise [cost <cost-id>]|cost <cost-id>|not-advertise|substitute <A.B.C.D/M>]
Command modeRouter OSPF
Parameters
  • A.B.C.D – OSPF area ID in IP address format.

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

  • cost-id – Advertised metric for this range. Range: 0 – 16777215.

  • A.B.C.D/M – Network prefix to be announced instead of range.

Usage Use no area <A.B.C.D|area-id> range [advertise [cost <cost-id>]|cost <cost-id>|not-advertise|substitute <A.B.C.D/M>] to remove the configuration.
Supported Releases1.1.0 or later
Click command None
Example
sonic(config-router)# area 1 range 10.1.1.2/24
sonic(config-router)# area 1 range 10.1.1.2/24 advertise
sonic(config-router)# area 1 range 10.1.1.2/24 advertise cost 1
sonic(config-router)# area 1 range 10.1.1.2/24 cost 5
sonic(config-router)# area 1 range 10.1.1.2/24 not-advertise
sonic(config-router)# area 1 range 10.1.1.2/24 substitute
sonic(config-router)# area 1 range 10.1.1.2/24 substitute 11.1.1.1/24
sonic(config-router)# no area 1 range 10.1.1.2/24 advertise
sonic(config-router)# no area 1 range 10.1.1.2/24 advertise cost 1
sonic(config-router)# no area 1 range 10.1.1.2/24 cost 5
sonic(config-router)# no area 1 range 10.1.1.2/24 not-advertise
sonic(config-router)# no area 1 range 10.1.1.2/24 substitute
sonic(config-router)# no area 1 range 10.1.1.2/24 substitute 11.1.1.1/24
sonic(config-router)# no area 1 range 10.1.1.2/24
sonic(config-router)#
sonic(config-router)# area 10.1.1.1/24 range 10.1.1.2/24
sonic(config-router)# area 10.1.1.1/24 range 10.1.1.2/24 advertise
sonic(config-router)# area 10.1.1.1/24 range 10.1.1.2/24 advertise cost 1
sonic(config-router)# area 10.1.1.1/24 range 10.1.1.2/24 cost 5
sonic(config-router)# area 10.1.1.1/24 range 10.1.1.2/24 not-advertise
sonic(config-router)# area 10.1.1.1/24 range 10.1.1.2/24 substitute
sonic(config-router)# area 10.1.1.1/24 range 10.1.1.2/24 substitute 11.1.1.1/24
sonic(config-router)# no area 10.1.1.1/24 range 10.1.1.2/24 advertise
sonic(config-router)# no area 10.1.1.1/24 range 10.1.1.2/24 advertise cost 1
sonic(config-router)# no area 10.1.1.1/24 range 10.1.1.2/24 cost 5
sonic(config-router)# no area 10.1.1.1/24 range 10.1.1.2/24 not-advertise
sonic(config-router)# no area 10.1.1.1/24 range 10.1.1.2/24 substitute
sonic(config-router)# no area 10.1.1.1/24 range 10.1.1.2/24 substitute 11.1.1.1/24
sonic(config-router)# no area 10.1.1.1/24 range 10.1.1.2/24