Pay special attention to the PVLAN configuration steps and precautions of the Huawei 3COM Switch. There are many articles about the configuration. You should pay more attention to the precautions related to the PVLAN configuration of the Huawei 3COM Switch during configuration, pay attention to it.
Introduction of PVLAN configuration for Huawei 3COM vswitch
There is such a requirement in practical applications, as shown in the networking diagram.
3026 is associated with a cascade of 2016 and each port under 2016 is required to be isolated from each other, that is, each port is divided into a VLAN. At the same time, due to the fact that the number of VLANs on the upper-layer device is limited, do not allow the lower-layer device 2016) to pass through the VLAN, that is, the upstream port of 2016 must be set to access. However, an access port on port 2016 cannot belong to multiple VLANs. How can we send data packets with different vlanids to the same access port?
At this time, we need to use the 2016 PVLAN function. By using the PVLAN function, we can route all ports under 2016 in different VLANs and send them through the upstream Access port. Currently, 2008/2016/3026 developed by Huawei 3Com support the PVLAN function.
The PVLAN configuration of the Huawei 3COM Switch is as follows:
◆ Create a VLAN,
Command: [2, 2016] vlanvlan-id
◆ Set the VLAN type to primary.
Command: [2016-vlan100] isolate-user-vlanenable
◆ Adding ports to a VLAN is the same for both primaryvlan and secondaryvlan)
Command: [2016-vlan100] portethernetport-list
◆ Set the ing between primaryvlan and secondaryvlan
Command: [2016] isolate-user-vlanprimary_vlan_numsecondarysecondary_vlan_list
Example of PVLAN configuration for Huawei 3COM vswitch
Networking requirements
QuidwayS3526 Ethernet switches connect to two QuidwayS2008 Ethernet switches through ports Ethernet0/7 and Ethernet0/8. VLAN5 on S2008A is a primaryVLAN, which includes the uplink ports Ethernet0/9 and two secondaryvlans: VLAN1 and VLAN2. VLAN1 includes ports Ethernet0/1 and VLAN2 includes ports Ethernet0/2;