一、配置vlan、trunk
[H3C-SW1]int g1/0 进入接口
[H3C-SW1-GigabitEthernet1/0]port link-mode bridge 接口设置为二层接口
[H3C-SW1-GigabitEthernet1/0]port link-type trunk 设置接口类型为trunk
[H3C-SW1-GigabitEthernet1/0]port trunk permit vlan all 设置接口允许那些vlan通过
[H3C-SW1-GigabitEthernet1/0]display this 查看本接口
[H3C-SW1]mvrp gvrp-compliance enable
[H3C-SW1-GigabitEthernet1/0]mvrp registration fixed 指定MVRP模式