使用 IS-IS 的策略路由

网络工程 路由 伊斯兰国 华为
2022-02-07 15:50:12

三个路由器连接在哪里

路由器 A 连接到路由器 B

A (gig0/0/0  ip address 10.10.1.1)====> B(gig0/0/0 ip address 10.10.1.2    
A(gig0/0/0=> ip address 10.11.1.1===>B(gig0/0/1  ip address 10.11.1.2))

路由器 A 连接到路由器 C

(A (gig0/0/2=> ip address 10.12.1.1 )====>  C (gig0/0/0  ip address 10.12.1.2)

IS-IS 进程正在节点之间运行。在路由器 A 上,可以应用路由策略,使路由器 A 到路由器 B 之间的链路根据下一个希望地址匹配条件对某些路由只有一条链路处于活动状态。例如

如果路由 157.1.1.1/32、57.1.1.1/32、47.1.1.1/32 有两个下一跳 10.10.1.1 和 10.11.1.1 用于同一目标路由器 B。我如何在 ISIS 进程中有效应用以下策略:-

ip ip-prefix Next_add index 10 permit 10.11.1.0 30 
ip ip-prefix rouisis index 10 permit 157.1.1.1 32
ip ip-prefix rouisis index 20 permit 57.1.1.1 32  
ip ip-prefix rouisis index 30 permit 47.1.1.1 32 
route-policy isispref permit node 20  
if-match ip-prefix rouisis 
if-match ip next-hop ip-prefix Next_add
apply preference 200
0个回答
没有发现任何回复~