beautypg.com

7 commands for vlan – KBC Networks ESML6-FL2 User Manual

Page 39

background image

Ethernet Switch User Manual

Manual_sw-ESML6-FL2-Rev1106

Copyright © KBC Networks Ltd.

Page 38 of 64

www.kbcnetworks.com

4.7 Commands for VLAN

Commands

Description

add vlan vid 1> protocol ports
[tag|untag]

create VLAN group.

: the name assigned to the VLAN. The valid strings
are 15 max.

: the VLAN ID assigned to the VLAN. The valid
values are 1~4094.

: to assign a protocol defined by the user. The
valid values are 0~18.

: port number. Eg. add vlan v1 vid 2 protocol 0
ports 1,2 tag

config vlan protocol

assign a protocol to the VLAN

: the VLAN name. Eg. config vlan v1 protocol 5

config vlan addport
[tag|untag]

add one or more ports to the VLAN. The user can assign
tagged or untagged port. Eg. config vlan v1 addport 3,4 tag

config vlan delport

delete one or more ports from the VLAN.

Eg. config vlan v1 delport 3,4

Config vlan tag

configure the tagged port in the VLAN.

Eg. config vlan v1 tag 1

config vlan untag

configure the untagged port in the VLAN.

Eg. config vlan v1 untag 2

delete vlan

delete the VLAN by name

Eg. del vlan v1

delete vlan vid <1~4094>

delete the VID by name

Eg. del vlan vid 2

show vlantbl

display the VLAN name.

show vlantblindex

display all switch names

enable vlan gvrp

configure VLAN as port-based 802.1Q with GVRP.

disable vlan gvrp

configure VLAN as port-based 802.1Q without GVRP.

show vlanstate

display the VLAN status

show prtcl vlantbl

display the VLAN protocol type.

config vlan pvid <1~4094> ports

configure the PVID of each port.