拓扑图如下
条件:
需要两台AR1220路由设备
需要两台S3700交换机
两台pc机:
pc1: 192.168.1.2 255.255.255.0
pc2: 192.168.3.2 255.255.255.0
========================================
修改主机名 设置IP地址和子网掩码
AR-1配置:
<Huawei>system-view //进系统视图
[Huawei]sysname AR-1 //修改主机名为AR-1
[AR-1]int g0/0/0 //进g0/0/0接口
[AR-1-GigabitEthernet0/0/0]ip address 192.168.1.1 24 //设置IP地址和子网掩码
[AR-1-GigabitEthernet0/0/0]int g0/0/1 //g0/0/0切换到g0/0/1接口
[AR-1-GigabitEthernet0/0/1]q //从接口视图退到系统视图
[AR-1]dis ip int brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical