redistribute isis ip ... into
Enables redistribution of IS-IS routes of one level into another level based upon the contents of the specified distribution list.
Syntax: redistribute isis ip {level-2 into level-1 | level-1 into level-2} distribute-list listname
distribute-list listname
Specifies a distribute list that identifies routes affected by this command. Valid Value: any created list. Default: all routes redistributed.
Description: The IS-IS routing protocol allows for a two-level hierarchy of routing information. There can be multiple L1 areas interconnected by a contiguous L2 backbone. A router can belong to L1, L2, or both. Routes can be redistributed in either direction: Level-1 into level-2 or Level-2 into Level-1.
The L1 link-state database only contains information about the L1 area. The L2 link-state database contains information about L2 as well as each of the L1 areas. A L1/L2 router contains both L1 and L2 databases. It advertises information about the L1 area to which it belongs into L2. Completeness of routing knowledge between levels is dependent upon the redistribution of routes between levels. See the route leaking discussion in the IS-IS section of the IPriori Software Configuration Guide, Vol. 2 for information concerning redistributing routes between levels.
Use the redistribute isis ip level-1 into level-2 distribute-list command to redistribute L1 routes specified in the distribute-list into L2.
Use the redistribute isis ip level-2 into level-1 distribute-list command to redistribute L2 routes specified in the distribute-list into L1.
Factory Default: No redistribution of routes for L1 or L2 ISIS routers; all L1 IS-IS routes into L2 are redistributed for L1/L2 routers.
Command Mode: IS-IS Router configuration.
Example 1: In the following example:
- The router isis command enables IS-IS on the router, specifies an IS-IS instance, and changes the command mode to Router configuration.
- The is-type level-1-2 command configures the router to operate as a L1/L2 router.
- Sets this L1/L2 router to redistribute L2 routes into L1 using the distList1 distribute-list to specify the affected routes.
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#router isis npi
router(config-router)#is-type level-1-2
router(config-router)#redistribute isis ip level-2 into level-1 distribute-list distList1
router(config-router)#end
router#
Example 2: The following example displays the results of a show ip route and a show isis database detail command from a Level-1 directly attached to the L1/L2 router. The commands display L2 into L1 routes learned from the route leaking enabled L1/L2 router. Routes are identified with UD label (Up/Down bit set to 1):
router#show ip route
Codes: C - connected O - OSPF i - IS-IS
S - static UD - Up/Down bit 1 L1 - level-1
B - BGP E1 - external type 1 L2 - level-2
M - MPLS E2 - external type 2
* - candidate default
m - route's metric
d - administrative distance
S * 0.0.0.0/0 via 10.200.0.1 [d:1 m:0]
S 9.9.9.9/32 via 127.0.0.1 [d:1 m:0]
C 10.200.0.0/16 directly connected to Ethernet 0
i UD 12.2.41.19/32 via 55.55.55.1 [d:115 m:35]
i UD 12.2.41.20/32 via 55.55.55.1 [d:115 m:35]
i UD 12.2.41.21/32 via 55.55.55.1 [d:115 m:35]
i UD 12.2.41.22/32 via 55.55.55.1 [d:115 m:35]
i UD 12.2.41.23/32 via 55.55.55.1 [d:115 m:35]
i UD 12.2.41.24/32 via 55.55.55.1 [d:115 m:35]
.
.
.
router#show isis database detail
ISIS Level-1 Link State Database
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
ha191.00-00 0x00000092 0xa1c2 1149 0/0/0
Area Address: 25.0001
NLPID: 0xCC
Hostname: ha191
ha191.00-01 0x00000092 0x4ac7 1149 0/0/0
Metric: 10 IS 0001.0001.0193.01, Extended
ha191.00-02 0x00000092 0xe3a9 1149 0/0/0
IP Address: 191.191.191.191
IP Address: 191.194.1.2
IP Address: 55.55.55.1
IP Address: 194.10.1.2
Metric: 10 IP 12.2.41.19/32, Extended, Up/Down bit: 1
Metric: 10 IP 12.2.41.20/32, Extended, Up/Down bit: 1
Metric: 10 IP 12.2.41.21/32, Extended, Up/Down bit: 1
Metric: 10 IP 12.2.41.22/32, Extended, Up/Down bit: 1
Metric: 10 IP 12.2.41.23/32, Extended, Up/Down bit: 1
Metric: 10 IP 12.2.41.24/32, Extended, Up/Down bit: 1
.
.
.
Metric: 10 IP 191.191.191.191/32, Extended, Up/Down bit: 0
Metric: 10 IP 191.194.1/24, Extended, Up/Down bit: 0
Metric: 10 IP 55.55.55/24, Extended, Up/Down bit: 0
Metric: 10 IP 194.10.1/24, Extended, Up/Down bit: 0
ha193.00-00 0x00000096 0xa9b4 1070 0/0/0
Area Address: 25.0001
NLPID: 0xCC
Hostname: ha193
ha193.00-01 0x00000096 0x30dd 1070 0/0/0
Metric: 10 IS 0001.0001.0193.01, Extended
ha193.00-02 0x00000096 0xdc9c 1070 0/0/0
IP Address: 55.55.55.3
IP Address: 194.10.2.2
Metric: 10 IP 55.55.55/24, Extended, Up/Down bit: 0
Metric: 10 IP 194.10.2/24, Extended, Up/Down bit: 0
ha193.01-00 0x00000079 0x1819 1070 0/0/0
NLPID: 0xCC
Metric: 0 IS 0001.0001.0193.00, Extended
Metric: 0 IS 0001.0001.0191.00, Extended
Related Commands: isis router
show ip route
show isis database detail
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: ISIS.fm
HTML File Name: ISIS36.html
Last Updated: 05/10/04 at 16:35:45