Assigning an area range (optional), Assigning interfaces to an area, Modify interface defaults – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 127

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

113

53-1003246-01

Configuring OSPF

6

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 Layer 3 Switch 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.

Virtual ADX(config)# router ospf

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

Virtual ADX(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 10.45 are
summarized into a single route.

Assigning interfaces to an area

Once you define OSPF areas, you can assign interfaces 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 1/8 of Router A to area 10.5.0.0 and then save the changes, enter the following
commands.

Virtual ADX(config-ospf-router)# interface e 1

Virtual ADX(config-if-e10000-1)# ip ospf area 10.5.0.0

Virtual ADX(config-if-e10000-1)# 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.

Advertising