D-Link DGS-3130 Emulator - Page 889
switchport trunk native vlan
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 889 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Default By default, all VLANs are allowed. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command only takes effect when the interface is set to trunk mode. If a VLAN is allowed on a trunk port, the port will become the tagged member of the VLAN. When the allowed VLAN option is set to all, the port will be automatically added to all the VLAN created by the system. Example This example shows how to configure ethernet 1/0/1 as a tagged member of VLAN 1000. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# switchport mode trunk Switch(config-if)# switchport trunk allowed vlan add 1000 Switch(config-if)# 89-13 switchport trunk native vlan This command is used to specify the native VLAN ID of a trunk mode interface. Use the no form of this command to revert to the default setting. switchport trunk native vlan {VLAN-ID | tag} no switchport trunk native vlan [tag] Parameters VLAN-ID tag Specifies the native VLAN for a trunk port. Specifies to enable the tagging mode of the native VLAN. Default By default, the native VLAN is 1, untagged mode. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command only takes effect when the interface is set to trunk mode. When a trunk port native VLAN is set to tagged mode, normally the acceptable frame type of the port should be set to "tagged-only" to only accept tagged 885