4 interface vlan, 5 interface range vlan, Syntax – Planet Technology WGSW-48040 User Manual
Page 335: Default configuration, Command mode, User guidelines, Example
![background image](/manuals/187496/335/background.png)
User’s Manual of WGSW-24020/WGSW-48040
-33
5.27.4 interface vlan
The interface vlan global configuration command enters the interface configuration (VLAN) mode.
Syntax
interface vlan vlan-id
vlan-id — The ID of an existing VLAN (excluding GVRP dynamic VLANs).
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example configures the VLAN 1 IP address of 131.108.1.27 and subnet mask 255.255.255.0.
Console (config)# interface vlan 1
Console (config-if)# ip address 131.108.1.27 255.255.255.0
5.27.5 interface range vlan
The interface range vlan global configuration command enters the interface configuration mode to configure multiple VLANs.
Syntax
interface range vlan
{vlan-range | all}
vlan-range — A list of valid VLAN IDs to add. Separate non consecutive VLAN IDs with a comma and no spaces; a
hyphen designates a range of IDs.
all — All existing static VLANs.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode