User`s manual

39
mode Configures the port mode
native Configures the PVID of the port
private-vlan Private VLAN
untag-vid Configures the port untag vid
[ Accept Frame Type ]
switchport acceptable-frame-types all command is used to allow the
interface port(s) to accept all types of frame.
switchport acceptable-frame-types tagged command is used to allow the
interface port(s) to accept tagged frame only. Other frame type will be
rejected.
[ VLAN Port Assignment ]
switchport allowed vlan add x command will add the interface port(s) to
VLAN x. “x” is the VLAN ID and its valid value is 1~-4094.
switchport allowed vlan remove x command will remove the interface port(s)
from VLAN x. “x” is the VLAN ID and its valid value is 1~-4094.
[ VLAN Port Mode Setting for Private VLAN ]
switchport mode private-vlan host command will set the port type of the
interface port(s) in Private VLAN as “host”. “host” port(s) could be for
Community VLAN or Isolated VLAN.
switchport mode private-vlan promiscuous command will set the port type
of the interface port(s) in Private VLAN as “promiscuous”. “promiscuous”
port(s) could be for Primary VLAN or Isolated VLAN.
no switchport mode private-vlan command will set the port type of the
interface port(s) in Private VLAN as “normal”. “normal” port(s) is for normal
802.1Q VLAN operation.
[ VLAN Port Tag/Untag Setting for 802.1Q VLAN ]
switchport mode hybrid command will set the interface port(s) as hybrid
port(s) for 802.1Q VLAN operation. If a port is defined as “hybrid”, it is a tag
port basically. But it will act as an untag port for packets working in VLAN
defined in “Untag VID”. So, it is called a hybrid port.
For example, set Port 5 as “hybrid” and its Untag VID as 10. Port 5 will act as
a tag port for all packets except packets for VLAN 10. Port 5 will act as an
untag port for packets working for VLAN 10.
switchport mode trunk command will set the interface port(s) as tag port(s)
for 802.1Q VLAN operation. Tag port will always send tagged packets and is
used for switch-to-switch cascading. It is a VLAN trunk connection because
there could be more than one VLAN working through it.
switchport mode access command will set the interface port(s) as untag
port(s) for 802.1Q VLAN operation. Untag port will always send untagged
packets and is used for switch to users connection. And its role is a “access”
connection for users
[ Port VLAN ID Setting ]
switchport native vlan x command is used to assign VLAN ID of the native
VLAN for classifying untagged frames on ingress port. “x” is the port VLAN ID
(PVID) and its valid value is 1~4094.