Hi, everyone! Today I’m going to introduce you about PVID configuration.
Leading to confusion has it been, that the PVID configuration is different in other brands.
Going back to the foundation of this technique, such configuration is meant to communicate when there is no VLAN assigned, it's actually a default VLAN to be used when not otherwise specified.
As per the best practices, it's been said that such a technique is not suggested due to security measures, nevertheless, as the function exists per se, this is the way to configure it:
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] port link-type trunk
[HUAWEI-GigabitEthernet1/0/1] port trunk pvid vlan 5
In the example it is being configured to let the traffic in an unassigned VLAN to pass to the VLAN #5, and in that way to avoid the discarding of the information.
In other brands, the technique is called Native VLAN, please, take into consideration that the fundamentals remain the same.
Thanks.