beautypg.com

Assigning an area range (optional), Assigning an area cost (optional parameter) – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 201

background image

Multi-Service IronWare Routing Configuration Guide

173

53-1003033-02

Configuring OSPF

Syntax: [no] area num | ip-addr range ip-addr ip-mask [advertise | not-advertise]

The num | ip-addr parameter specifies the area number, which can be in IP address format. If you
specify a number, the number can be from 0 – 2,147,483,647.

The range ip-addr parameter specifies the IP address portion of the range. The software compares
the address with the significant bits in the mask. All network addresses that match this comparison
are summarized in a single route advertised by the router.

The ip-mask parameter specifies the portions of the IP address that a route must contain to be
summarized in the summary route. In the example above, all networks that begin with 209.157 are
summarized into a single route.

The advertise | not-advertise parameter specifies whether you want the device to send type 3 LSAs
for the specified range in this area. The default is advertise.

Assigning an area range (optional)

You can assign a range for an area, but it is not required. Ranges allow a specific IP address and
mask to represent a range of IP addresses within an area, so that only that reference range
address is advertised to the network, instead of all the addresses within that range. Each area can
have up to 32 range addresses.

Example

To define an area range for subnets on 10.45.5.1 and 10.45.6.2, enter the following command.

Brocade(config)# router ospf

Brocade(config-ospf-router)# area 10.45.5.1 range 10.45.0.0 255.255.0.0

Brocade(config-ospf-router)# area 10.45.6.2 range 10.45.0.0 255.255.0.0

Syntax: [no] area num | ip-addr range ip-addr ip-mask

The num | ip-addr parameter specifies the area number, which can be in IP address format.

The range ip-addr parameter specifies the IP address portion of the range. The software compares
the address with the significant bits in the mask. All network addresses that match this comparison
are summarized in a single route advertised by the router.

The ip-mask parameter specifies the portions of the IP address that a route must contain to be
summarized in the summary route. In the example above, all networks that begin with 193.45 are
summarized into a single route.

Assigning an area cost (optional parameter)

You can assign a cost for an area, but it is not required. To consolidate and summarize routes at an
area boundary, use the area range cost command in router configuration mode.

If the cost parameter is specified, it will be used (overriding the computed cost) to generate the
summary LSA. If the cost parameter is not specified, then the existing range metric computation
max or min cost of routes falling under this range will be used to generate summary LSA.

NOTE

The area should be already configured before using this command.