eNSP实验
目的:分流 10.1.开头的走AR4 10.2 开头的走AR3 全网通 各个路由器的配置 R1 Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 14.1.1.1/24 up up GigabitEthernet0/0/1 12.1.1.1/24 up up LoopBack0 10.1.1.1/24 up up(s) LoopBack1 10.2.1.1/24 up up(s) R2 Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 23.1.1.2/24 up up GigabitEthernet0/0/1 12.1.1.2/24 up up LoopBack0 10.1.2.1/24 up up(s) LoopBack1 10.2.2.1/24 up up(s) R3 Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 35.1.1.3/24 up up GigabitEthernet0/0/1 36.1.1.3/24 up up GigabitEthernet0/0/2 23.1.1.3/24 up up GigabitEthernet6/0/0 34.1.1.3/24 up up LoopBack0 3.3.3.3/24 up up(s) R4 Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 14.1.1.4/24 up up GigabitEthernet0/0/1 45.1.1.4/24 up up GigabitEthernet0/0/2 46.1.1.4/24 up up GigabitEthernet6/0/0 34.1.1.4/24 up up LoopBack0 4.4.4.4/24 up up(s) R5 Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 45.1.1.5/24 up up GigabitEthernet0/0/1 35.1.1.5/24 up up LoopBack0 10.1.5.1/24 up up(s) LoopBack1 10.2.5.1/24 up up(s) R6 Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 36.1.1.6/24 up up GigabitEthernet0/0/1 46.1.1.6/24 up up LoopBack0 10.1.6.1/24 up up(s) LoopBack1 10.2.6.1/24 up up(s) 规则
route-policy A1 permit node 10 if-match ip-prefix a1 apply cost 100 //将符合ip-prefix的路由的开销值改为100
结果
这篇关于eNSP实验的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持
还没有评论,来说两句吧...