Assigning an area range (optional), Assigning interfaces to an area, Modify interface defaults – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 654

Advertising
background image

620

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Configuring OSPF

The <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 10.157 are
summarized into a single route.

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.

TurboIron(config)#router ospf

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

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

Syntax: 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 interfaces to an area

Once you define OSPF areas, you can assign interfaces to the areas. All router ports must be
assigned to one of the defined areas on an OSPF router. When a port is assigned to an area, all
corresponding subnets on that port are automatically included in the assignment.

To assign interface 8 to area 10.5.0.0 and then save the changes, enter the following commands.

TurboIron(config-ospf-router)#interface e 8

TurboIron(config-if-8)#ip ospf area 10.5.0.0

TurboIron(config-if-8)#write memory

Modify interface defaults

OSPF has interface parameters that you can configure. For simplicity, each of these parameters
has a default value. No change to these default values is required except as needed for specific
network configurations.

Port default values can be modified using the following commands at the interface configuration
level of the CLI:

ip ospf area <ip-addr>

Advertising