D-Link DIS-200G Datasheet - Page 241
Default, Command Mode, Command Default Level, Usage Guideline, Example, switchport trunk allowed vlan
View all D-Link DIS-200G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 241 highlights
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide hybrid trunk Specifies the port as a hybrid port. Specifies the port as a trunk port. Default By default, this option is hybrid. Command Mode Interface Configuration Mode. Command Default Level Level: 15. 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 any VLAN configured. 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-toswitch connection. 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 interface eth1/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)# 43-8 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. 237