.华为单臂路由配置【路由器的配置】Router1dis current#sysname Router1interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/0.10 vlan-type dot1q 10 ip address 192.168.10.1 255.255.255.0#interface GigabitEthernet0/0/0.20 vlan-type dot1q 20 ip address 192.168.20.1 255.255.255.0 【交换机的配置】Switchdis current#sysname Switch#vlan batch 10 20interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 to 4094#interface GigabitEthernet0/0/2