路由器接口配置ip
点击路由器AR1,进入命令模式
9.<Huawei>sys //切换到系统视图模式
10.[Huawei] sys R1 //设置主机R1
11.[R1]int g0/0/0 进入接口g0/0/0
12.[R1-GigabitEthernet0/0/0]ip address 192.168.1.1 24 //设置IP地址和掩码
13.[R1]int g0/0/1 //进入下一个接口g0/0/1
14.[R1-GigabitEthernet0/0/1]ip address 192.168.3.3 24 //设置IP地址和掩码
15.[R1-GigabitEthernet0/0/1]undo shutdown //开启g0/0/1的接口
16.[R1-GigabitEthernet0/0/0]undo shutdown //开启g0/0/0的接口
补充:如何查看设备(路由器等)的IP?
原文链接:https://blog.csdn.net/Aili014/article/details/138714803?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522171828104516800215079009%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=171828104516800215079009&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~times_rank-1-138714803-null-null.nonecase&utm_term=%E8%B7%AF%E7%94%B1%E5%99%A8%E3%80%81%E5%8D%83%E5%85%86