beautypg.com

6 name, 7 switchport mode, User guidelines – Planet Technology WGSW-48040 User Manual

Page 336: Example, Syntax, Default configuration, Command mode

background image

User’s Manual of WGSW-24020/WGSW-48040

-33

User Guidelines

Commands under the interface range context are executed independently on each interface in the range. If the command

returns an error on one of the interfaces, an error message is displayed and execution continues on other interfaces.

Example

The following example groups VLAN 221 until 228 and VLAN 889 to receive the same command.

Console (config)# interface range vlan 221-228,889

Console (config-if)#

5.27.6 name

The name interface configuration command adds a name to a VLAN. To remove the VLAN name use the no form of this

command.

Syntax

name string

no name

ƒ

string — Unique name, up to 32 characters in length, to be associated with this VLAN.

Default Configuration

No name is defined.

Command Mode

Interface Configuration (VLAN) mode

User Guidelines

The VLAN name should be unique.

Example

The following example names VLAN number 19 with the name "Marketing".

Console (config)# interface vlan 19

Console (config-if)# name Marketing

5.27.7 switchport mode

The switchport mode interface configuration command configures the VLAN membership mode of a port. To reset the mode to

the appropriate default for the device, use the no form of this command.

This manual is related to the following products: