Dell S5148F-ON OS10 Enterprise Edition User Guide Release 10.3.2E-R1 - Page 85
switchport access vlan, switchport mode
View all Dell S5148F-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 85 highlights
Usage Information The speed command is supported only on the Management and Fibre Channel interfaces. This command is not supported on Ethernet interfaces. • When you manually configure the management port speed, match the speed of the remote device. Dell EMC highly recommends using auto-negotiation for the management port. • The no version of this command resets the port speed to the default value auto. Example OS10(conf-if-ma-1/1/1)# speed auto Supported Releases 10.3.0E or later switchport access vlan Assigns access VLAN membership to a port in L2 access or trunk mode. Syntax switchport access vlan vlan-id Parameters vlan vlan-id - Enter the VLAN ID number (1 to 4093). Default VLAN 1 Command Mode INTERFACE Usage Information This command enables L2 switching for untagged traffic and assigns a port interface to default VLAN 1. Use this command to change the assignment of the access VLAN that carries untagged traffic. You must create the VLAN before you can assign an access interface to it. The no version of this command resets access VLAN membership on a L2 access or trunk port to VLAN 1. Example OS10(conf-if-eth1/1/3)# switchport mode access OS10(conf-if-eth1/1/3)# switchport access vlan 100 Supported Releases 10.2.0E or later switchport mode Places an interface in L2 access or trunk mode. Syntax Parameters switchport mode {access | trunk} • 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. Interfaces 85