
KSwitch D10 MMT Managed Time Sensitive Ethernet Switch - Preliminary User Guide, Rev. 0.99
// 87
9.7.2.1.
Switchport Mode
Description- Defines the port mode as access (default), trunk or hybrid unconditionally.
switchport mode
{ access | trunk | hybrid }
Parameter
Description
Parameter
access
Configure a switch port mode is access
trunk
Configure a switch port mode is trunk
hybrid
Configure a switch port mode is hybrid
Default
The switch port default mode is access
Mode
Port List Interface Mode
Usage
Set port mode
Examples
Example#1 (configure the port 3 mode as trunk)
# configure terminal
(config)# interface GigabitEthernet 1/3
(config-if)# switchport mode trunk
9.7.2.2.
Switchport Trunk Native VLAN
Description - Configure VLAN ID to be added internally by the Switch whenever native VLAN packet (packet with
no VLAN header) is received.
switchport trunk native vlan
<pvid>
no switchport trunk native vlan
Parameter
Description
Parameter
<pvid>
VLAN ID of the native VLAN when this port is in trunk mode
Default
Trunk native default VLAN is VLAN1
Mode
Port List Interface Mode
Usage
Configure a port VLAN ID for a trunk port. Use the no version of the command to revert to
default.
Examples
Example#1 (configure port 3 as trunk with PVID 4)
# configure terminal
(config)# interface GigabitEthernet 1/3
(config-if)# switchport mode trunk
(config-if)# switchport trunk native vlan 4