CLI Guide
42
Open Shortest Path First (OSPFv2 and
OSPFv3)
The Switch supports open shortest path first version 2 (OSPFv2) for IPv4 and version 3 (OSPFv3) for IPv6.
Up to 16 OSPF instances can be run simultaneously on the Switch.
OSPF is an Interior Gateway Protocol (IGP), which means that it distributes routing information between
routers in a single Autonomous System (AS). OSPF is also a link-state protocol in which all routers contain
forwarding tables derived from information about their links to their neighbors.
The fundamental mechanisms of OSPF (flooding, DR election, area support, SPF calculations, and so on)
are the same for OSPFv2 and OSPFv3. OSPFv3 runs on a per-link basis instead of on a per-IP-subnet
basis.
This chapter is divided into two sections. There is no overlap between the two sets of commands. You
cannot use an OSPFv2 command in the IPv6 OSPFv3 mode.
• OSPFv2 Commands
• OSPFv3 Commands
OSPFv2 Commands
The Dell Networking implementation of OSPFv2 is based on IETF RFC 2328.
area default-cost
Set the metric for the summary default route the area border router (ABR) generates into the stub area.
Use this command on the border routers at the edge of a stub area.
Syntax
area area-id default-cost cost
To return default values, use the no area area-id default-cost command.
Parameters
area-id Specify the OSPF area in dotted decimal format (A.B.C.D.) or
enter a number from zero (0) to 65535.
cost Specifies the stub area’s advertised external route metric.
The range is from zero (0) to 65535.
1054
Open Shortest Path First (OSPFv2 and OSPFv3)