D-Link DGS-3630-52PC WEB Reference Guide - Page 170
switchport hybrid allowed vlan
View all D-Link DGS-3630-52PC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 170 highlights
DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide Usage Guideline The command takes effect when the interface is set to access mode. The VLAN specified as the access VLAN does not need to exist to configure the command. Only one access VLAN can be specified. The succeeding command overwrites the previous command. Example This example shows how to configure port 1 to access mode with access VLAN 1000. Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan 1000 Switch(config-if)# 22-3 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. 168