Dell PowerSwitch S4112F-ON OS10 Enterprise Edition User Guide Release 10.4.0ER - Page 117
switchport mode, switchport trunk allowed vlan
![]() |
View all Dell PowerSwitch S4112F-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 117 highlights
switchport mode Places an interface in L2 access or trunk mode. Syntax switchport mode {access | trunk} Parameters • access - Enables L2 switching of untagged frames on a single VLAN. • trunk - Enables L2 switching of untagged frames on the access VLAN, and of tagged frames on the VLANs specified with the switchport trunk allowed vlan command. Default Command Mode Usage Information access INTERFACE • If an IP address is assigned to an interface, you cannot use this command to enable L2 switching - you must first remove the IP address. • The access parameter automatically adds an interface to default VLAN 1 to transmit untagged traffic. Use the switchport access vlan command to change the access VLAN assignment. • The trunk parameter configures an interface to transmit tagged VLAN traffic. You must manually configure VLAN membership for a trunk port with the switchport trunk allowed vlan command. • Use the no switchport command to remove all L2 configuration when you configure an interface in L3 mode. • Use the no switchport mode command to restore a trunk port on an interface to L2 access mode on VLAN 1. Example OS10(conf-if-eth1/1/7)# switchport mode access Supported Releases 10.2.0E or later switchport trunk allowed vlan Configures the tagged VLAN traffic that a L2 trunk interface can carry. An L2 trunk port has no tagged VLAN membership and does not transmit tagged traffic. Syntax Parameters Default Command Mode Usage Information Example switchport trunk allowed vlan vlan-id-list vlan-id-list - Enter the VLAN numbers of the tagged traffic that the L2 trunk port can carry. Commaseparated and hyphenated VLAN number ranges are supported. None INTERFACE Use the no version of this command to remove the configuration. OS10(conf-if-ma-1/1/1)# switchport trunk allowed vlan 1000 OS10(conf-if-ma-1/1/1)# no switchport trunk allowed vlan 1000 Supported Releases 10.2.0E or later Interfaces 117
![](/manual_guide/products/dell-powerswitch-s3048on-os10-enterprise-edition-user-guide-release-1040er3-c44ef57/117.png)