标签:浮动路由
AR10如图所示:
现在我们看到的路由是主路由,两台主机也能互通
现在我们更改优先级,使用备用路由互通
AR9
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]ip route-static 192.168.4.0 24 192.168.2.2 preference 80
Info: Succeeded in modifying route.
[Huawei]ip route-static 192.168.4.0 24 192.168.3.2 preference 60
Info: Succeeded in modifying route.
AR10
[Huawei]ip route-static 192.168.1.0 24 192.168.2.1 preference 80
Info: Succeeded in modifying route.
[Huawei]ip route-static 192.168.1.0 24 192.168.3.1 preference 60
Info: Succeeded in modifying route.
验证:在AR9和AR10的命令行输入display routing-table,且两台主机互通
AR9如图所示
AR10如图所示
标签:浮动路由
原文地址:http://blog.51cto.com/13721773/2114254