31 redistribute (ospf) – CANOGA PERKINS 9175 Command Reference User Manual

Page 236

Advertising
background image

CanogaOS Command Reference

15-27

Router configuration


Usage

If you disable the sending of routing updates on an interface, the particular subnet will continue to be

advertised to other interfaces, and updates from other switches on that interface continue to be received

and processed.


Examples

The following example sets the interface eth-0-1 as passive:

router ospf 200

network 10.108.0.0/16 area 0

passive-interface eth-0-1

!


Related Commands

router ospf

15.31 redistribute (OSPF)

To redistribute routes from one routing domain into Open Shortest Path First (OSPF) routing domain,

use the redistribute command in router configuration mode. To disable redistribution, use the no form

of this command.


Command Syntax

redistribute protocol [metric metric-value] [metric-type type-value]

no redistribute protocol [metric metric-value] [metric-type type-value]

protocol

(Optional) The name of a routing protocol, or the keyword connected,

or static. If you specify a routing protocol, use one of the following

keywords: bgp, and rip.

metric metric-value

(Optional) When redistributing other processes to an OSPF process,

the default metric is 20 when no metric value is specified.

metric-type type-value

For OSPF, the external link type associated with the default route

advertised into the OSPF routing domain. It can be one of two values:
‹ Type 1 external route
‹ Type 2 external route
If a metric-type is not specified, the switch adopts a Type 2 external

route.


Default

Route redistribution is disabled.

metric metric-value: 20

metric-type type-value: Type 2 external route


Command Mode

Advertising