The pass-vlan command configures allowed VLANs in a network basic profile.
The undo pass-vlan command deletes allowed VLANs in a network basic profile.
By default, no allowed VLANs are configured in a network basic profile, and downlink ports of an AS allow packets from VLAN 1 to pass through.
This command can only be executed on a parent switch.
pass-vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>
undo pass-vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>
Parameter | Description | Value |
---|---|---|
vlan-id1 [ to vlan-id2 ] | Specifies IDs of VLANs from which packets are allowed to pass through. |
The value is an integer that ranges from 1 to 4094. The value cannot be the ID of an SVF management VLAN, a stack management VLAN, an ERPS control VLAN, an RRPP control VLAN, an SEP control VLAN, or a super VLAN. |
Usage Scenario
# port link-type hybrid port hybrid tagged vlan vlan-id1 to vlan-id2 #
Precautions
The default VLAN, allowed VLANs, and voice VLAN in a network basic profile must be different.
You can configure a maximum of 32 allowed VLANs in a network basic profile.