D-Link DXS-3600-EM-8T CLI Guide - Page 615
switchport hybrid allowed vlan, switchport native vlan
View all D-Link DXS-3600-EM-8T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 615 highlights
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide 66-6 switchport hybrid allowed vlan This command is used to specify if the port will be a tagged or untagged member of the specified VLAN for a hybrid port. Use the no switchport hybrid allowed vlan command to reset the membership. switchport hybrid allowed vlan {add {tagged | untagged} | remove} VLAN-ID [, | -] no switchport hybrid allowed vlan Parameters VLAN-ID add remove tagged untagged , - Specifies the VLAN to add or remove the VLAN membership from. Specifies the port will be added into the specified VLAN(s). Specifies the port will be removed from 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). (Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. Enter a space before and after the comma. (Optional) Specifies a range of VLANs. Enter a space before and after the hyphen. Default Command Mode Command Default Level Usage Guideline By default, no VLAN memberships are configured for a hybrid port. Interface Configuration Mode. Level: 12 The command can only be configured on physical ports or port-channels that are set to hybrid mode or dot1q-tunnel mode. The command can be used to setting the VLAN membership of a hybrid port. If the port has already been the tagged member of a VLAN, adding the VLAN into the port untagged membership VLAN will lead to the port becomes its untagged member, and vice versa. You cannot add a port into its forbidden membership VLAN. Use no switchport hybrid allowed vlan command all VLAN membership will be removed, and the port will reset to default VLAN as untagged member. The port remains in hybrid mode. The switchport hybrid allowed vlan command can also be used to specify the VLAN membership for a dot1q-tunnel port. The configuration doesn't need the specified VLAN exist. Once the VLAN is created, the interface will join to the VLAN automatically. Example In the following example, the user configures interface port 1 to be a tagged member of VLAN 1000, and an untagged member of VLAN 2000 & 3000. DXS-3600-32S#configure terminal DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/1 DXS-3600-32S(config-if)#switchport mode hybrid DXS-3600-32S(config-if)#switchport hybrid allowed vlan add tagged 1000 DXS-3600-32S(config-if)#switchport hybrid allowed vlan add untagged 2000,3000 DXS-3600-32S(config-if)# 66-7 switchport native vlan This command is used to specify the native VLAN (PVID) of a trunk or hybrid mode interface. Use the no switchport native vlan command to reset to the native VLAN ID to the default setting. switchport native vlan VLAN-ID no switchport native vlan 607