IS-IS L2 Routes Leak into L1 Area

假設網路架構為R1-R2,R1與R2之間形成L1 adjacency,在兩個routers之間只看到L1 PDU,有兩種方式可以達成目的:

1.Extended-ACL

R1(config)#access-list 100 permit ip 10.1.1.0 0.0.0.255 any

R1(config)#router isis
R1(config-router)#metric-style wide
!要支援route leaking必須啟用IS-IS wide metric
R1(config-router)#redistribute isis ip level-2 into level-1 distribute-list 100

R2(config)#access-list 100 permit ip 10.1.1.0 0.0.0.255 any

R2(config)#router isis
R2(config-router)#metric-style wide
!要支援route leaking必須啟用IS-IS wide metric
R2(config-router)#redistribute isis ip level-2 into level-1 distribute-list 100




2.Route-map

R1(config)#access-list 1 permit any

R1(config)#route-map LEAK permit 10
R1(config-route-map)#match ip address 1
R1(config)#route-map LEAK permit 20

R1(config)#router isis
R1(config-router)#metric-style wide
!要支援route leaking必須啟用IS-IS wide metric
R1(config-router)#redistribute isis ip level-2 into level-1 route-map LEAK

R2(config)#access-list 1 permit any

R2(config)#route-map LEAK permit 10
R2(config-route-map)#match ip address 1
R2(config)#route-map LEAK permit 20

R2(config)#router isis
R2(config-router)#metric-style wide
!要支援route leaking必須啟用IS-IS wide metric
R2(config-router)#redistribute isis ip level-2 into level-1 route-map LEAK

Comments

Popular posts from this blog

TCP/IP 明確擁塞通知 (ECN)

集中式數位交換機(CENTREX)系統

WRR(Weighted Round Robin) vs SRR(Shared/Shaped Round Robin)