Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 202

Advertising
background image

174

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Configuring OSPF

Example

Creates an area range entry with ip address 10.1.1.1 and network mask 255.255.255.0 with the
area-id 10.

Brocade(config)# router ospf

Brocade(config-ospf-router)# area 10 range 10.1.1.1 255.255.255.0

Modifies the address range status to DoNotAdvertise. Neither the individual intra-area routes
falling under range nor the ranged prefix is advertised as summary LSA.

Brocade(config)# router ospf

Brocade(config-ospf-router)# area 10 range 10.1.1.1 255.255.255.0 not-advertise

Modifies the address range status to advertise and a Type 3 summary link-state advertisement
(LSA) can be generated for this address range.

Brocade(config)# router ospf

Brocade(config-ospf-router)#area 10 range 10.1.1.1 255.255.255.0 advertise

Modifies the address range status to advertise and assign cost for this area range to 10.

Brocade(config)# router ospf

Brocade(config-ospf-router)

#

area 10 range 10.1.1.1 255.255.255.0 advertise cost

10

Modifies the address range status to not-advertise and cost from 10 to 5.

Brocade(config)# router ospf

Brocade(config-ospf-router)# area 10 range 10.1.1.1 255.255.255.0 not-advertise

cost 5

Removes the cost from the area range. The area range will be advertised with computed cost
which is the max/min(based on RFC 1583 compatibility) of all individual intra-area routes falling
under this range.

Brocade(config)# router ospf

Brocade(config-ospf-router)# no area 10 range 10.1.1.1 255.255.255.0 cost 5

Removes the area range.

Brocade(config)# router ospf

Brocade(config-ospf-router)# no area 10 range 10.1.1.1 255.255.255.0

NOTE

This command does not work in incremental fashion. So both the optional parameters have to be
configured each time. Otherwise it will take the default value.

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

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.

The advertise parameter sets the address range status to advertise and generates a Type 3
summary link-state advertisement (LSA). If at least a single route falls under the range, a ranged
LSA will be advertised.

Advertising