
IP Routing Commands
4-273
4
Default Setting
redistribution - none
protocol - RIP and static
metric-value - 0
type-metric - 2
Command Usage
• This router supports redistribution for both RIP and static routes.
• When you redistribute external routes 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 via External LSAs. Specify Type 1 to add the internal cost metric 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. Specify Type 2 to only advertise the
external route metric.
Example
This example redistributes routes learned from RIP as Type 1 external routes.
Related Commands
default-information originate (4-269)
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 interface.
Syntax
[
no
]
network
ip-address netmask
area
area-id
•
ip-address
- Address of the interfaces to add to the area.
•
netmask
- Network mask of the address range to add to the area.
•
area-id
- Area to which the specified address or range is assigned. An
OSPF area identifies a group of routers that share common routing
information. (The area ID must be in the form of an IP address.)
Command Mode
Router Configuration
Default Setting
Disabled
Console(config-router)#redistribute rip metric-type 1
Console(config-router)#
Содержание ES3628C
Страница 2: ......
Страница 4: ...ES3628C F3 1 0 18 E032005 R01 149100005100H...
Страница 38: ...Introduction 1 10 1...
Страница 48: ...Initial Configuration 2 10 2...
Страница 281: ...IP Routing 3 233 3 Web Click Routing Protocol RIP Statistics Figure 3 133 RIP Statistics...
Страница 326: ...Configuring the Switch 3 278 3...
Страница 652: ...Command Line Interface 4 326 4...
Страница 666: ...Glossary Glossary 8...
Страница 672: ...Index 6 Index...
Страница 673: ......
Страница 674: ...ES3628C E032005 R01 149100005100H...