OcNOS-RON : Layer 3 Guide : Intermediate System to Intermediate System Command Reference : IS-IS Commands : redistribute
redistribute
Use this command to redistribute routes from another protocol into the ISIS routing table.
Use the no parameter to disable this function.
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
Specify the metric for redistributed routes.
<0-16777215>
 
Specify the IS-IS default metric.
metric-type
Specify the IS-IS exterior metric type for redistributed routes:
internal
Set IS-IS internal metric type.
external
Set 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
Specify a Route map reference.
WORD
Specify name of the route-map.
Default
By default, redistribute command 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
>ena
#con term
Enter configuration commands, one per line. End with CNTL/Z.
(config)#router isis A
(config-router)#redistribute bgp metric 12
Last modified date: 08/28/2023