redistribute

Use this command to allow routing information discovered through non-IS-IS protocols or IS-IS level 2 to be distributed in IS-IS update messages.

Syntax

redistribute {bgp | connected | ospf process_id| rip | static | blackhole | isis level-2 into level-1 [distribute-list access-list]} [route-map name] [metric metric-value]
no redistribute {bgp | connected | ospf process_id| rip | static | blackhole | isis level-2 into level-1 [distribute-list access-list]}

Parameters

bgp Specifies that BGP routing information will be redistributed in IS-IS.
connected Specifies that non-IS-IS information discovered via directly connected interfaces will be redistributed. These are routes not specified in the IS-IS network command as described in net.
ospf process_id Specifies that OSPF routing information for the specified process will be redistributed in IS-IS.
rip Specifies that RIP routing information will be redistributed in IS-IS.
static Specifies that non-IS-IS information discovered via static routes will be redistributed. Static routes are those created using the ip route command detailed in ip route.
blackhole Specifies that blackhole routes are redistributed in IS-IS.
route-map name (Optional) Redistributes routes using the rules established by the designated route-map.
metric metric-value (Optional) Specifies a metric for the BGP, connected, RIP, or static redistribution route. This value should be consistent with the designated protocol.
isis level-2 into level-1 (Optional) Specifies that IS-IS level 2 routes will be redistributed into IS-IS level 1.
distribute-list access-list (Optional) Specifies an ACL for the the filtering of IS-IS level 2 routes into IS-IS level 1.

Defaults

  • If route-map is not specified, none will be applied.
  • If metric-value is not specified, a metric value of 20 will be applied.

Mode

IS-IS router configuration for IPv4 addresses.

IPv6 unicast address family configuration for IPv6 addresses.

Usage

You must be in IS-IS IPv6 unicast address family configuration mode to configure redistribution on an IPv6 IS-IS router instance. Use address-family to enter IS-IS IPv6 unicast address family configuration mode.

If you do not specify a distribute list when redistributing IS-IS level 2 routes into IS-IS level 1, all layer 2 addresses are redistributed into layer 1.

The “no” form of this command clears redistribution parameters.

Example

This example shows how to distribute RIP routing information from IPv4 routes in IS-IS updates:

System(rw-config)->router isis
System(rw-config-isis)->redistribute rip

This example shows how to distribute RIP routing information from IPv6 routes in IS-IS updates:

System(rw-config)->router isis
System(rw-config-isis)->address-family ipv6 unicast
System(rw-config-isis-af)->redistribute rip
System(rw-config-isis-af)->