Reference Guide

Table Of Contents
Dell PowerConnect ArubaOS 6.0 Command Line Interface | Reference Guide router ospf | 418
router ospf
router ospf
area <area-id>
default-cost <cost>
nssa [default-information no-redistribution | no-summary]
stub [no-summary]
default-information originate always
redistribute vlan [<vlan-ids> | add <vlan-ids> | remove <vlan-ids>]
router-id <rtr-id>
subnet exclude <addr> <mask>
Description
Global OSPF configuration for the upstream router.
Syntax
Usage Guidelines
OSPFv2 is a dynamic Interior Gateway routing Protocol (IGP) based on IETF RFC 2328. The ArubaOS
implementation of OSPF allows controllers to deploy effectively in a Layer 3 topology. For more detailed
information, refer to the OSPF Chapter in the ArubaOS User Guide.
Example
By default OSPF will advertise all the user VLAN subnet addresses in the router LSA (Link-State Advertisement).
To control the OSPF advertisement, execute the following command:
(host) (config) # router ospf subnet exclude 75.1.1.0 255.255.0.0
Parameter Description
area <area-id> Enter the keyword area followed by the area identification, in dotted
decimal format, to configure an OSPF area.
default-cost <cost> Set the summary cost of a NSSA/stub area (in route metric)
Range: 0 to 16777215
nssa Set an area as a NSSA
default-information-
originate
Originate Type 7 default into the NSSA area
no-redistribution Set the NSSA area for no distribution into this NSSA area
no-summary Do not send summary LSA into this NSSA area
stub [no-summary] Set an area as a Total Stub Area and optionally do not send summary LSA
into this area
default-information originate
always
Control distribution of default information by distributing a default route.
redistribute vlan <vlan-ids> Redistribute the vlan user subnet.
add <vlan-ids> Add the user VLANs to the list
remove <vlan-ids> Remove user VLANs to the list.
router-id <rtr-id> Enter the router ID in IP address format.
subnet exclude <addr> <mask> Specify the subnet that OSPF will not advertise. Enter the subnet and mask
address in dotted decimal format (A.B.C.D).