Network area, Network area (42-26) – Asante Technologies 40240/40480-10G User Manual

Page 742

Advertising
background image

Command Usage

• This command is used to import routes learned from other routing protocols

into the OSPF domain, and to generate AS-external-LSAs.

When external routes are redistributed into an OSPF autonomous system

(AS), the router automatically becomes an autonomous system boundary
router (ASBR). If the redistribute command is used in conjunction with the
default-information originate command to generate a “default” external
route into the AS, the metric value specified in this command supersedes the
metric specified in the default-information originate command.

• Metric type specifies the way to advertise routes to destinations outside the

AS through External LSAs. When a Type 1 LSA is received by a router, it adds
the internal cost to the external route metric. In other words, the cost of the
route from any router within the AS is equal to the cost associated with
reaching the advertising ASBR, plus the cost of the external route. When a
Type 2 LSA is received by a router, it only uses the external route metric to
determine route cost.

Example

This example redistributes routes learned from RIP as Type 1 external routes.

Console(config-router)#redistribute rip metric-type 1

Console(config-router)#

Related Commands

default-information originate (42-21)

network area

This command defines an OSPF area and the interfaces that operate within this
area. Use the no form to disable OSPF for a specified interfaces.

Syntax

[no] network ip-address netmask area area-id

ip-address - Interfaces with addresses that fall within the network address

are added to the operational OSPF area.

netmask - Network mask of the address range to add to the area.

area-id - Area to which the matching interfaces are assigned. An OSPF

area identifies a group of routers that share common routing information.
(The area ID must be in the form of an IPv4 address.)

Command Mode

Router Configuration

Default Setting

Disabled

42-26

IP Routing Commands

42

Advertising