1、配置路由器
[Huawei]sysname AR1
[AR1]int g 0/0/1
[AR1-GigabitEthernet0/0/1]ip add 192.168.200.1 24
[AR1-GigabitEthernet0/0/0]int g 0/0/0
[AR1-GigabitEthernet0/0/0]ip add 192.168.100.1 24
[AR1]display ip routing-table protocol direct
2、配置交换机
[Huawei]sysname SW1
[SW1]vlan batch 100 200
[SW1]int e 0/0/1
[SW1-Ethernet0/0/1]port link-type access
[SW1-Ethernet0/0/1]port default vlan 200
[SW1-Ethernet0/0/1]int e 0/0/2
[SW1-Ethernet0/0/2]port link-type access
[SW1-Ethernet0/0/2]port default vlan 100
[SW1]int e 0/0/4
[SW1-Ethernet0/0/4]port link-type access
[SW1-Ethernet0/0/4]port default vlan 200
[SW1-Ethernet0/0/4]int e 0/0/3
[SW1-Ethernet0/0/3]port link-type access
[SW1-Ethernet0/0/3]port default vlan 100
标签:AR1,vlan,int,Ethernet0,配置,多臂,SW1,port,路由
From: https://www.cnblogs.com/xl4ng/p/16802624.html