静态路由

实验目的:

1.掌握路由表的概念

2.掌握route-static命令的使用

3.理解根据需求正确配置静态路由

image.png

 

实验步骤:

1.IP地址的配置

2.相邻路由器网络连通性测试

3.静态路由的配置

4.AR1与AR3网络连通性的测试

 

本次实验需要掌握的命令:

1 display ip routing-table //查看全局路由表
3  ip route-static //配置静态路由
1 system-view //进入到系统视图
2 undo info-center enable //关闭设备输出信息
3 sysname //修改设备名
4 interface g0/0/0 //进入到接口 g0/0/0
5 ip address 192.168.12.1 24 //配置 IP 地址和子网掩码
6 display this // 查看当前IP地址是否配置成功
7 undo shutdown //打开接口
8 quit //退出
9 display ip interface brief //査看接口的ip地址摘要信息

 

posted @ 2026-03-20 15:41  Yonah凤娇  阅读(1)  评论(0)    收藏  举报