D-Link DGS-3130 Emulator - Page 890
vlan
![]() |
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 890 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide frames. When a trunk port works in the untagged mode for a native VLAN, transmitting untagged packet for a native VLAN and tagged packets for all other VLANs and the acceptable frame types of the port has to be set to "admit-all" in order to function correctly. The specified VLAN does not need to exist to apply the command. Example This example shows how to configure ethernet 1/0/1 as a trunk interface and configures the native VLAN to 20. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# switchport mode trunk Switch(config-if)# switchport trunk native vlan 20 Switch(config-if)# 89-14 vlan This command is used to add VLANs and enter the VLAN configuration mode. Use the no form of this command to remove VLANs. vlan VLAN-ID [, | -] no vlan VLAN-ID [, | -] Parameters VLAN-ID , - Specifies the ID of the VLAN to be added, removed or configured. The valid VLAN ID range is from 1 to 4094. VLAN ID 1 cannot be removed. (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 The VLAN ID 1 exists in the system as the default VLAN. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use the vlan global configuration command to create VLANs. Entering the vlan command with a VLAN ID enters the VLAN configuration mode. Entering the VLAN ID of an existing VLAN does not create a new VLAN, but allows the user to modify the VLAN parameters for the specified VLAN. When the user enters the VLAN ID of a new VLAN, the VLAN will be automatically created. Use the no vlan command to remove a VLAN. The default VLAN cannot be removed. If the removed VLAN is a port's access VLAN, the port's access VLAN will be reset to VLAN 1. Example This example shows how to add new VLANs, assigning the new VLANs with the VLAN IDs 1000 to 1005. 886
![](/manual_guide/products/dlink-dgs3130-emulator-9c3be7f/890.png)