region-configurationР [H3C-mst-region]quitР [H3C]stp global enableР5.3.1对交换机SWH进行配置Р [H3C]vlan 10 to 50Р [H3C]interface range 1/0/1 to 1/0/3Р [H3C-if-range]port link-type trunkР[H3C-if-range]port trunk permit vlan 10 20 30 40 50Р [H3C-mst-region]region-name zlzР [H3C-mst-region]instance 1 vlan 10 30Р [H3C-mst-region]instance 2 vlan 20 40 50Р [H3C-mst-region]active region-configurationР [H3C-mst-region]quitР[H3C]stp instance 0 to 1 root primaryР [H3C]stp global enableР Р [H3C]vlan 80Р[H3C-vlan80]port 1/0/5Р[H3C]interface Vlan-interface 80Р [H3C-Vlan-interface80]ip address 10.10.80.2 24Р配置各个子网的网关Р[H3C]interface Vlan-interface 10Р [H3C-Vlan-interface10]ip address 10.10.10.2 24Р[H3C]interface Vlan-interface 20Р [H3C-Vlan-interface20]ip address 10.10.20.2 24Р[H3C]interface Vlan-interface 30