380
Command Reference for IE200 Series Industrial Managed PoE+ Switches
C613-50066-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
VLAN C
OMMANDS
SWITCHPORT
MODE
TRUNK
switchport mode trunk
Overview
Use this command to set the switching characteristics of the port to trunk.
Received frames are classified based on the VLAN characteristics, then accepted or
discarded based on the specified filtering criteria.
Syntax
switchport mode trunk [ingress-filter {enable|disable}]
Default
By default, ports are in access mode, are untagged members of the default VLAN
(vlan1), and have ingress filtering on.
Mode
Interface Configuration
Usage
A port in trunk mode can be a tagged member of multiple VLANs, and an untagged
member of one native VLAN.
To configure which VLANs this port will trunk for, use the
switchport trunk allowed
vlan
command.
Example
awplus#
configure terminal
awplus(config)#
interface port1.0.3
awplus(config-if)#
switchport mode trunk ingress-filter enable
Validation
Command
show interface switchport
Parameter
Description
ingress-filter
Set the ingress filtering for the frames received.
enable
Turn on ingress filtering for received frames. This is the default.
disable
Turn off ingress filtering to accept frames that do not meet the
classification criteria.