组网情况: PC_A连接到DeviceA的 g1/0/1;PC_B连接到DeviceA的 g1/0/2;PC_C连接到DeviceA的 g1/0/3; PC_D连接到DeviceB的 g1/0/1;PC_E连接到DeviceB的 g1/0/2;PC_F连接到DeviceB的 g1/0/3; DeviceA的g1/0/1属于vlan10, g1/0/2属于vlan20, g1/0/3属于vlan30;g1/0/24为trunk模式 DeviceB的g1/0/1属于vlan10, g1/0/2属于vlan20, g1/0/3属于vlan30;g1/0/24为trunk模式 DeviceC的g1/0/23连接到DeviceA的g1/0/24; g1/0/24连接到DeviceB的g1/0/24 DeviceC的g1/0/23和g1/0/24都为trunk模式

实验步骤: 1、DeviceA的基本配置 sys vlan 10 port g 1/0/1 vlan 20 port g 1/0/2 vlan 30 port g 1/0/3 inter g 1/0/24 port link-type trunk port trunk permit vlan all

2、DeviceB的基本配置与DeviceA相同

3、DeviceC的基本配置 sys inter r g 1/0/23 to g 1/0/24 port link-type trunk port trunk permit vlan all

4、PC_A访问PC_D发现不通 在DeviceC上面使用dis vlan只能看到vlan 1

5、开启mvrp功能 #DeviceA配置MVRP mvrp global enable inter g 1/0/24 mvrp enable

#DeviceB配置MVRP与DeviceA相同

#DeviceC配置MVRP mvrp global enable inter r g 1/0/23 to g 1/0/24 mvrp enable

6、再次用PC_A访问PC_D,成功访问 在DeviceC上面使用dis vlan可以看到有vlan 10 20 30