1.组网情况:
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模式

2.配置DeviceA与DeviceB


3.配置DeviceC

4.PC_A访问PC_D发现不通,在DeviceC上面display vlan 只能看到vlan1


5.在DeviceA与DeviceB(步骤一样)、DeviceC开启MVRP功能


6.再次PC_A访问PC_D,成功访问,在DeviceC上面display vlan可以看到有vlan10 20 30


配置vlan
原文:https://blog.51cto.com/14223412/2368674