OcNOS-RON : Layer 2 Guide : Layer 2 Command Reference : VLAN and Private VLAN Commands : switchport mode trunk ingress-filter
switchport mode trunk ingress-filter
Use this command to set the switching characteristics of the interface as trunk, and specify only tagged frames. Received frames are classified based on the VLAN characteristics, then accepted or discarded based on the specified filtering criteria.
Command Syntax
switchport mode trunk ingress-filter (enable|disable)
Parameters
ingress-filter
Set the ingress filtering for the received frames.
enable
Set the ingress filtering for received frames. Received frames that cannot be classified in the previous step based on the acceptable frame type parameter (access/trunk) are discarded. This is the default value.
disable
Turn off ingress filtering to accept frames that do not meet the classification criteria.
Default
Received frames that cannot be classified in the previous step based on the acceptable frame type parameter (access/trunk) are discarded.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#switchport mode trunk ingress-filter enable
Last modified date: 07/13/2023