)
LSW1创建vlansysvlan be 10 20划分vlaninter g 0/0/1port link-type accport de vlan 10quinte g 0/0/2port link-type accport de vlan 20quinter g 0/0/3port link-typ trunkpor trunk all vlan allLSW2创建vlan设置IPsysvlan be 10 20inter vlanif 10ip add 192.168.1.254quinter vlanif 20ip add 192.168.2.254quinter g 0/0/1port link-typ trunkpor trunk all vlan all