D-Link DGS-3130 Emulator - Page 888
switchport trunk allowed vlan
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 888 highlights
dot1q-tunnel DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide Specifies the port as a dot1q-tunnel port. Default By default, this option is hybrid. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline When a port is set to access mode, this port will be an untagged member of the access VLAN configured for the port. When a port is set to hybrid mode, the port can be an untagged or tagged member of all VLANs configured. The purpose of this VLAN mode is to support of protocol VLAN, subnet-based VLAN, and MAC-based VLAN. When a port is set to trunk mode, this port is either a tagged or untagged member port of its native VLAN and can be a tagged member of other VLANs configured. The purpose of a trunk port is to support the switch-to-switch connection. When a port is set to dot1q-tunnnel mode, the port behaves as an UNI port of a service VLAN. When the switch-port mode is changed, the VLAN related setting associated with previous mode will be lost. Example This example shows how to set the ethernet 1/0/1 as a trunk port. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# switchport mode trunk Switch(config-if)# 89-12 switchport trunk allowed vlan This command is used to configure the VLANs that are allowed to receive and send traffic on the specified interface in a tagged format. Use the no form of this command to revert to the default setting. switchport trunk allowed vlan {all | [add | remove | except] VLAN-ID [, | -]} no switchport trunk allowed vlan Parameters all add remove except VLAN-ID , - Specifies that all VLANs are allowed on the interface. Specifies to add the specified VLAN list to the allowed VLAN list. Specifies to remove the specified VLAN list from the allowed VLAN list. Specifies that all VLANs except the VLANs in the exception list are allowed. Specifies the allow VLAN list or the VLAN list to be added to or removed from the allow 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. 884