Lantech LGS-2424C User manual - Vlan Commands
67
VLAN Commands
Commands
Description
Example
configuration
[
Show the VLAN aware mode, port
VLAN ID and accepted frame type
for the port and the permanently
stored VLAN table.
vlan>
configuration
or
vlan>
configuration 2
add
[
Add VLAN entry and include ports
in member set.
[
ports).
vlan>
add 2 1
or
vlan>
add 2 2-4
or
vlan>
add 2 2-4,6
or
vlan>
add 2 all
delete
Delete VLAN entry (all ports
excluded from member set).
vlan>
delete 2
lookup
Lookup VLAN entry and show port
list.
vlan>
lookup 2
aware
[
[enable|disable]
Set or show the VLAN awareness
mode for the port. VLAN aware
ports will strip the VLAN tag from
received frames and insert the tag
in transmitted frames (except
PVID). VLAN unaware ports will
not strip the tag from received
frames or insert the tag in
transmitted frames.
[
ports).
vlan>
aware 1 enable
or
vlan>
aware all enable