3.2.7
VLAN Commands Set
Table 3.7: VLAN Commands Set
Commands
Level
Description
Example
vlan database
P
Enter VLAN configure mode
switch#
vlan database
Vlanmode
[portbase| 802.1q | gvrp]
V
To set switch VLAN mode.
switch(vlan)#
vlanmode portbase
or
switch(vlan)#
vlanmode 802.1q
or
switch(vlan)#
vlanmode gvrp
no vlan
V
No VLAN
Switch(vlan)#
no vlan
Ported based VLAN configuration
vlan port-based grpname
[Group Name]
grpid
[GroupID]
port
[PortNumbers]
V
Add new port based VALN
switch(vlan)#
vlan port-based grpname test grpid
2 port 2-4
or
switch(vlan)#
vlan port-based grpname test grpid
2 port 2,3,4
show vlan
[GroupID]
or
show vlan
V
Show VLAN information
switch(vlan)#
show vlan 23
no vlan group
[GroupID]
V
Delete port base group ID
switch(vlan)#
no vlan group 2
IEEE 802.1Q VLAN
vlan 8021q name
[GroupName]
vid
[VID]
V
Change the name of VLAN group, if
the group didn’t exist, this command
can’t be applied.
switch(vlan)#
vlan 8021q name test vid 22
vlan 8021q port
[PortNumber]
access-link untag
[UntaggedVID]
V
Assign a access link for VLAN by
port, if the port belong to a trunk
group, this command can’t be
applied.
switch(vlan)#
vlan 8021q port 3 access-link untag
33
vlan 8021q port
[PortNumber]
trunk-link tag
[TaggedVID List]
V
Assign a trunk link for VLAN by port,
if the port belong to a trunk group,
this command can’t be applied.
switch(vlan)#
vlan 8021q port 3 trunk-link tag
2,3,6,99
or
switch(vlan)#
vlan 8021q port 3 trunk-link tag 3-20
vlan 8021q port
[PortNumber]
hybrid-link untag
[UntaggedVID]
tag
[TaggedVID List]
V
Assign a hybrid link for VLAN by
port, if the port belong to a trunk
group, this command can’t be
applied.
switch(vlan)#
vlan 8021q port 3 hybrid-link untag 4
tag 3,6,8
or
switch(vlan)#
vlan 8021q port 3 hybrid-link untag 5
tag 6-8
vlan 8021q trunk
[PortNumber]
access-link untag
[UntaggedVID]
V
Assign a access link for VLAN by
trunk group
switch(vlan)#
vlan 8021q trunk 3 access-link untag
33
vlan 8021q trunk
[PortNumber]
trunk-link tag
[TaggedVID List]
V
Assign a trunk link for VLAN by trunk
group
switch(vlan)#
vlan 8021q trunk 3 trunk-link tag
2,3,6,99
or
switch(vlan)#
vlan 8021q trunk 3 trunk-link tag 3-
20
vlan 8021q trunk
[PortNumber]
hybrid-link untag
[UntaggedVID]
tag
[TaggedVID List]
V
Assign a hybrid link for VLAN by
trunk group
switch(vlan)#
vlan 8021q trunk 3 hybrid-link untag
4 tag 3,6,8
or
switch(vlan)#
vlan 8021q trunk 3 hybrid-link untag
5 tag 6-8
show vlan
[GroupID]
or
show vlan
V
Show VLAN information
switch(vlan)#
show vlan 23
no vlan group
[GroupID]
V
Delete port base group ID
switch(vlan)#
no vlan group 2
43 Chapter3
Summary of Contents for EKI-2748FI
Page 18: ...EKI 2748FI_Manual 18 ...
Page 21: ...2 2 Dimensions unit mm Figure 2 1 Front View 21 Chapter 2 ...
Page 22: ...Figure 2 2 Side View EKI 2748FI_Manual 22 ...
Page 23: ...Figure 2 3 Rear View 23 Chapter 2 ...
Page 24: ...Figure 2 4 Top View EKI 2748FI_Manual 24 ...
Page 83: ...Figure 3 3 33 802 1Q VLAN Configuration 83 Chapter3 ...
Page 90: ...Figure 3 3 40 SNMP V3 Configuration interface EKI 2748FI_Manual 90 ...
Page 92: ...Figure 3 3 41 QoS Configuration interface EKI 2748FI_Manual 92 ...
Page 102: ...Figure 3 3 50 All MAC Address interface EKI 2748FI_Manual 102 ...
Page 107: ...107 Chapter3 ...
Page 108: ...EKI 2748FI_Manual 108 Troubleshooting CHAPTER ...
Page 110: ...EKI 2748FI_Manual 110 Pin Assignments Wiring APPENDIX ...
Page 113: ...113 ...
Page 114: ...EKI 2748FI_Manual 114 Compatible SFP Transceivers APPENDIX ...