redistribute
Use this command to redistribute routes from another protocol into the ISIS routing table.
Use the no form of this command to disable redistribution.
Command Syntax
redistribute (kernel|connected|static|rip|ospf|bgp) {metric <0-16777215>| metric-type (internal|external)|level-1|level-2|level-1-2|route-map WORD}
no redistribute (kernel|connected|static|rip|ospf|bgp) {metric <0-16777215>| metric-type (internal|external)|level-1|level-2|level-1-2|route-map WORD}
Parameters
kernel
Redistribute kernel routes.
connected
Redistribute connected routes.
static
Redistribute static routes.
rip
Redistribute RIP routes.
ospf
Redistribute OSPF routes.
bgp
Redistribute BGP routes.
metric
Metric for redistributed routes.
<0-16777215>
IS-IS default metric.
metric-type
IS-IS exterior metric type for redistributed routes:
internal
IS-IS internal metric type.
external
IS-IS external metric type.
level-1
Redistribute routes into level 1 only.
level-2
Redistribute routes into level 2 only (default).
level-1-2
Redistribute routes into both levels.
route-map
Route map reference.
WORD
Route map name.
Default
By default, redistribution is disabled.
If no level parameter is specified, by default redistributed routes will be added in level-2 LSP. If is-type of an IS-IS instance is level-1, the level parameter must be set to level-1 for redistribute command to take effect and redistribute routes in L1 LSP.
Command Mode
For IPv4: Router mode
For IPv6: address-family ipv6 mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#router isis A
(config-router)#redistribute bgp metric 12
Last modified date: 08/28/2023