D-Link DGS-3130 Emulator - Page 886
switchport hybrid allowed vlan
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 886 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide 89-9 switchport hybrid allowed vlan This command is used to specify the tagged or untagged VLANs for a hybrid port. Use the no form of this command to revert to the default setting. switchport hybrid allowed vlan {[add] {tagged | untagged} | remove} VLAN-ID [, | -] no switchport hybrid allowed vlan Parameters add tagged untagged remove VLAN-ID , - (Optional) Specifies the port will be added into the specified VLAN(s). Specifies the port as a tagged member of the specified VLAN(s). Specifies the port as an untagged member of the specified VLAN(s). Specifies the port will be removed from the specified VLAN(s). Specified the allowed VLAN list or the VLAN list to be added to or removed from the allow VLAN list. If no option is specified, the specified VLAN list will overwrite the allowed VLAN list. (Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. No space is allowed before and after the comma. (Optional) Specifies a range of VLANs. No space is allowed before and after the hyphen. Default By default, a hybrid port is an untagged member port of VLAN 1. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline By setting the hybrid VLAN command multiple times with different VLAN IDs, a port can be a tagged member port or an untagged member port of multiple VLANs. When the allowed VLAN is only specified as the VLAN ID, the succeeding command will overwrites the previous command. If the new untagged allowed VLAN list is overlap with the current tagged allowed VLAN list, the overlap part will change to the untagged allowed VLAN. On the other hand, if the new tagged allowed VLAN list is overlap with current untagged allowed VLAN list, the overlap part will change to the tagged allowed VLAN. The last command will take effect. The VLAN does not need to exist to configure the command. Example This example shows how to configure ethernet 1/0/1 to be a tagged member of VLAN 1000 and an untagged member of VLAN 2000 and 3000. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# switchport mode hybrid Switch(config-if)# switchport hybrid allowed vlan add tagged 1000 Switch(config-if)# switchport hybrid allowed vlan add untagged 2000,3000 Switch(config-if)# 882