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