![KeeNetic Lite KN-1310 Command Reference Manual Download Page 137](http://html1.mh-extra.com/html/keenetic/lite-kn-1310/lite-kn-1310_command-reference-manual_3863741137.webp)
3.16.94 interface switchport mode
Description
Set
access
or
trunk
mode for
. By default,
access
mode is set.
Command with no prefix resets setting to default.
Prefix no
Yes
Change settings
Yes
Multiple input
No
Interface type
Port
Synopsis
(config-if)>
switchport mode
[ (
access
[
q-in-q
] ) |
trunk
]
(config-if)>
no switchport mode
Arguments
Description
Value
Argument
mode
Enable the access mode to a
, that is
the mode when only the untagged frames
access
pass through the port. The incoming
frames get tagged with the PVID marker,
which is set with
command. The port is an output one only
for
with PVID ID. Once a frame is
transferred to the port, the
marker
gets removed.
Enable the
trunk mode, that is the
mode when frames belonging to several
trunk
VLANs get transmitted through the port.
In this case each frame gets tagged. The
list of IDs of
networks that include
the port is set with
command.
Enable double tagging.
Keyword
q-in-q
Example
(config-if)> switchport mode access
Network::Interface::Switch: "FastEthernet0/1": access mode ►
enabled.
History
Version
Description
The interface switchport mode command has been
introduced.
2.06
Keenetic Lite (KN-1310) — Command Reference Guide
137
Chapter 3 Command Reference
Summary of Contents for Lite KN-1310
Page 2: ......
Page 6: ...Command Reference Guide Keenetic Lite KN 1310 6 Contents Overview...
Page 18: ...Command Reference Guide Keenetic Lite KN 1310 18 Table of Contents...
Page 20: ...Command Reference Guide Keenetic Lite KN 1310 20 Chapter 1 Product Overview...
Page 26: ...Command Reference Guide Keenetic Lite KN 1310 26 Chapter 2 Introduction to the CLI...
Page 314: ...Command Reference Guide Keenetic Lite KN 1310 314 Appendix C SNMP MIB...