1.R1、R2配置静态路由
[R1]ip route-static 0.0.0.0 0.0.0.0 12.1.1.2
[R2]ip route-static 1.1.1.1 32 12.1.1.1
2.R2引入静态路由
[R2-ospf-1]import-route static
3.R4查看路由
<R4>display ip routing-table protocol isis
 1.1.1.1/32  ISIS-L2 15   74          D   34.1.1.3        GigabitEthernet0/0/0
       3.3.3.3/32  ISIS-L2 15   74          D   34.1.1.3        GigabitEthernet0/0/0
       23.0.0.0/8   ISIS-L2 15   74          D   34.1.1.3        GigabitEthernet0/0/0
4.R4连通性测试
<R4>ping -a 4.4.4.4 1.1.1.1
 Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=253 time=130 ms
                    © 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
    













请登录后查看评论内容