
T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
368
redistribute
Description
The
redistribute
command is used to configure the ASBR to redistribute the
external routes from other routing protocols to the OSPF domain in type-5 LSAs.
To cancel this redistribution, please use the
no redistribute
command without
any optional parameters. To restore the certain optional parameters to default
values, please use the
no redistribute
command with corresponding
parameters.
Syntax
redistribute
{
static
|
rip | ospf
process-id
}
[
metric
cost
] [
metric-type
type
]
[
tag
tag
] [
nssa-only
]
no redistribute
{
static
|
rip | ospf
process-id
}
[
metric
cost
] [
metric-type
type
]
[
tag
tag
] [
nssa-only
]
Parameter
static ——
Specify the external route type as static.
rip ——
Specify the external route type as RIP.
process-id
—— The ospf routing process ID, ranging from 1 to 65535
。
cost
—— The cost of the external routes, ranging from 1 to 16777214. Its
default value is defined in the command
default-metric
.
type
—— The type of the external routes, either 1 or 2. The default value is 2.
tag ——
The identifier of the summary route, which can be used by the routing
strategy to control the advertisement of the routes. It ranges from 0 to
4294967295 and the default value is 0.
nssa-only
—— The summary route will only be advertised to the NSSA. If not
specified, the summary route will be advertised to the normal areas and the
NSSA.
Command Mode
Router Configuration Mode