SIGNAMAX a.s.
Office: Vlarska 22, 627 00 Brno, CZ
T:+420 533 338 854 l F:+420 533 338 883 l www.signamax.eu
64
2.6.15 VLAN command mode
Enter the vlan command in Configuration mode. The vlan mode shows as follows:
SWH(config)# vlan
SWH(config-vlan)#
Command
Purpose & Description
Usage
=================== ===========================
=============================
mode VLAN Mode mode [enable|disable]
filter Ingress Filter Mode filter [enable|disable]
ethertype Ether Type ethertype <type>
port-base Enter Port Base Cmd. Mode port-base
dot1q Enter Dot1q Cmd. Mode dot1q <vid>
srv-vlan Enter SVLAN Cmd. Mode srv-vlan <vid>
proto-vlan Enter Protocol VLAN Mode proto-vlan
frame-type Set Frame Type frame <port_list> <type>
mgt-vlan Set Management VLAN mgt <port_list> <vid> <type>
pvid Set Pvid pvid <port_list> <pvid>
svid Set Svid svid <port_list> <svid>
egress Set Egress egress <port_list> <type>
exit Exit from current mode exit
show Show VLAN Settings show
SWH(config-vlan)#
Prompt
Command & Parameter
Description
mode <enable | disable>
To enable or disable VLAN Global mode.
filter <enable | disable>
To enable or disable ingress filter. When
enabled, ingress traffic that belongs to one
of the existing VID entries is allowed to pass
through; otherwise, they will be dropped
before checking the entire VID table. When
disabled, ingress traffic will be checked
against all existing VID entries before
allowing them to pass through or being
dropped.
For example:
SWH(config-vlan)# filter enable
SWH(config-vlan)#
ethertype <type>
To specify the Ether type in hexadecimal
notation.
<type> : Enter the Ether type in
hexadecimal notation.
mode <enable | disable>
Enable or disable port-based VLAN function.
add <port_list> <name>
Add a new port-based VLAN. This managed
switch allows you to enter 26 sets of port-
based VLAN rules.
<port_list>: Specify a port number or
multiple port numbers with the format 5, 7,
8, 9, 12 or 5, 7-9, 12, cpu
<name>: Specify a name for this port-
based VLAN rule of up to 15 characters.
For example:
SWH(config-vlan-port-base)# add 2, cpu
myvlan
SWH(config-vlan-
port-base)#
delete <name> or <index>
Delete a registered port-based VLAN.