D-Link DGS-6600-48T Configuration Guide - Page 92
Specifying Trunk VLAN Mode for an Interface, VLAN-ID, INTERFACE-ID
View all D-Link DGS-6600-48T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 92 highlights
Volume 3-Layer 2 Configurations / Chapter 10-VLAN Configuration VLAN Configuration Commands The following commands are used to specify an access VLAN for an interface and verify the VLAN interface settings: Command access vlan VLAN-ID show vlan interface [INTERFACE-ID] Explanation Configures the interface to operate in access mode and specifies the access VLAN of the interface. Displays the VLAN settings specified for the interfaces on the Switch. In the following example, the user specifies that Ethernet interface 4.2 should become an access member of VLAN 2 and verifies the configuration: DGS-6600:15#configure terminal DGS-6600:15(config)#interface eth4.2 DGS-6600:15(config-if)#access vlan 2 DGS-6600:15(config-if)#end DGS-6600:15#show vlan interface eth4.2 eth4.2 PVID : 2 GVRP State : Disabled Ingress checked : Enabled Access VLAN : 2 Advertise VLAN : 1-4094 Forbidden VLAN : Acceptable frame types : admit-all DGS-6600:15# Specifying Trunk VLAN Mode for an Interface When the user specifies the trunk allowed-vlan parameter on a port, the port will operate in trunk VLAN mode. If the port was previously operating in a different mode, all the related membership settings will be cleared. Multiple trunk VLANs can be specified for a port, with the port becoming a tagged member of the trunk VLAN. When a port is in trunk mode, no access VLANs can be defined for the port. The following commands are used to specify trunk VLAN mode for an interface and verify the VLAN interface settings: Command trunk allowed-vlan VLAN-ID show vlan interface [INTERFACE-ID] Explanation Configures the interface to operate in trunk mode and specifies the VLANs allowed to access the trunk connection. Displays the VLAN settings specified for the interfaces on the Switch. DGS-6600 Configuration Guide 92