7000 Series L3 Managed Switch Reference Manual for Software v2.0
8-14 Routing Commands
Default disable
Format config router ospf interface mode
<slot.port> <enable|disable>
config router ospf interface priority
This command sets the OSPF priority for the specified router interface. The priority of the
interface is a priority integer from 0 to 255.
A value of '0' indicates that the router is not eligible to become the designated router on this
network.
Default 1, which is the highest router priority.
Format config router ospf interface priority
<slot.port> <0-255>
config router ospf interface cost
This command configures the cost on an OSPF interface. The <ipaddr> and <slot.port> parameters
identify the interface on which to configure the cost. The <cost> parameter has a range of 1 to
65535.
Default 10
Format config router ospf interface cost <ipaddr> <slot.port
> <1-5535>
show router ospf area info
This command displays information about the area. The <areaid> identifies the OSPF area that is
being displayed.
Format show router ospf area info <areaid>
AreaID Is the area id of the requested OSPF area.
Aging Interval Is a number representing the aging interval for this area.
External Routing Is a number representing the external routing capabilities for this
area.
Spf Runs Is the number of times that the intra-area route table has been cal-
culated using this area's link-state database.
Area Border Router Count The total number of area border routers reachable within this
area.