MNS-BB
Software User Guide
-83-
Notes
on Using VLANs
•
You can rename the default VLAN, but you cannot change its VID (1) or delete it
from the switch.
•
Any ports
not
specifically assigned to another VLAN will remain assigned to the
DEFAULT-VLAN.
•
Changing the number of VLANs supported on the switch requires the SAVE
command.
15.4
CLI: Configuring VLAN Parameters
In the factory default state, all ports on the switch belong to the default VLAN (DEFAULT-VLAN)
and are in the same broadcast/multicast domain. You can configure up to 31 additional static VLANs
by adding new VLAN names, and then assigning one or more ports to each VLAN.
(The switch accepts a maximum of 32 VLANs, including the default VLAN ).
NOTE
: LE2425A and LEV2525A support one type of VLAN at a time. The user has to set the
VLAN type before configuration.
Steps:
To set the type of Vlan that you are going to use.
Syntax
:
set vlan type=<port|tag|none>
LE2425A#
set vlan type=port
VLAN set to Port-based.
Go to Configuration mode
Syntax
:
configure vlan type=port OR vlan type=port
LE2425A
#vlan type=port
LE2425A(port-vlan)##
Add VLAN
Syntax
:
add id=<vlan Id> [name=<vlan name>] port=<number|list|range>
LE2425A(port-vlan)##
add id=2 name=test port=1-10
Start Vlan
Syntax
:
start vlan=<name|number|list|range>
LE2425A(port-vlan)##
start vlan=all
Save the configuration
Syntax
:
save
LE2425A(port-vlan)##
save
Saving current configuration...
Configuration saved
15.4.1 Displaying the Switch’s VLAN Configuration.
The next command lists the VLANs currently running in the switch, with VID, VLAN name, and
VLAN status.
LE2425A#
show vlan type=port
VLAN ID : 1
Name : Default VLAN
Status : Active
========================
PORT | STATUS
========================
1 | DOWN
2 | DOWN
3 | DOWN
4 | DOWN
5 | DOWN
6 | DOWN