Command Line Reference Guide

Interfaces | 565
portmode hybrid
c e s
Set a physical port or port-channel to accept both tagged and untagged frames. A port configured this
way is identified as a hybrid port in report displays.
Syntax
portmode hybrid
To return a port to accept either tagged or untagged frames (non-hybrid), use the no portmode hybrid
command.
Defaults
non-hybrid
Command Modes
INTERFACE (conf-if-interface-slot/port)
Command
History
Example 1
(Configuration)
FTOS(conf)#interface gi 7/0
FTOS(conf-if-gi-7/0)#portmode hybrid
FTOS(conf-if-gi-7/0)#interface vlan 10
FTOS(conf-if-vl-10)#untagged gi 7/0
FTOS(conf-if-vl-10)#interface vlan 20
FTOS(conf-if-vl-20)#tagged gi 7/0
FTOS(conf-if-vl-20)#
Usage
Information
The example above sets a port as hybrid, makes the port a tagged member of VLAN 20, and an
untagged member of VLAN 10, which becomes the native VLAN of the port. The port will now
accept:
untagged frames and classify them as VLAN 10 frames
VLAN 20 tagged frames
The next example is an example showing output with “Hybrid” as the newly added value for
802.1QTagged. The options for this field are:
True—port is tagged
False—port is untagged
Hybrid—port accepts both tagged and untagged frames
Example 2
(Display Tagged
Hybrid Interface)
FTOS(conf-if-vl-20)#do show interfaces switchport
Name: GigabitEthernet 7/0
802.1QTagged: Hybrid
Vlan membership:
Vlan 10, Vlan 20
Native VlanId: 10
FTOS(conf-if-vl-20)#
The example below is an example unconfiguration of the hybrid port using the no portmode hybrid
command.
Example 3
(Unconfigure
Hybrid Port)
FTOS(conf-if-vl-20)#interface vlan 10
FTOS(conf-if-vl-10)#no untagged gi 7/0
FTOS(conf-if-vl-10)#interface vlan 20
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.6.1.0 Introduced on E-Series and S-Series
Version 7.5.1.0 Introduced on C-Series only
Note: You must remove all other configurations on the port before you can remove the hybrid
configuration from the port.