方法1 :interface range e1/0/1 to e1/0/20port link-type accessport access vlan 1方法2:port-group manual 1group-member Ethernet 0/4/0 to Ethernet 0/4/5port link-type accessport access vlan 1希望能帮助你