This command displays the set of OSPFv2 area ranges configured for a given area for the specified virtual router. If no router is specified, it displays information for the default router.
| Format | show ip ospf range areaid [vrf vrf-name] |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| Prefix | The summary prefix. |
| Subnet Mask | The subnetwork mask of the summary prefix. |
| Type | S (Summary Link) or E (External Link) |
| Action | Advertise or Suppress |
| Cost | Metric to be advertised when the range is active. If a static cost is not configured, the field displays Auto. If the action is Suppress, the field displays N/A. |
| Active | Whether the range is currently active. Y or N. |
Example: The following shows example CLI display output for the command.
(R1) #show ip ospf range 0
Prefix Subnet Mask Type Action Cost Active
10.1.0.0 255.255.0.0 S Advertise Auto N
172.20.0.0 255.255.0.0 S Advertise 500 Y