Reference Guide

VLAN Stacking | 945
Starting with FTOS 9.0.2.0 for S-Series, a VLAN-Stack trunk port is also allowed to be configured as a
tagged port and as an untagged port for single-tagged VLANs. When the VLAN-Stack trunk port is
also a member of an untagged VLAN, the port should be in hybrid mode. See portmode hybrid.
In Example 1 below.a VLAN-Stack trunk port is configured and then also made part of a single-tagged
VLAN.
In Example 2 below, the Tag Protocol Identifier (TPID) is set to 8848. The “Gi 3/10” port is configured
to act as a VLAN-Stack access port, while the “TenGi 8/0” port will act as a VLAN-Stack trunk port,
switching Stackable VLAN traffic for VLAN 10, while also switching untagged traffic for VLAN 30
and tagged traffic for VLAN 40. (To allow VLAN 30 traffic, the native VLAN feature is required, by
executing the port mode hybrid command. See portmode hybrid in Interfaces.
Example 1
Figure 46-2. Adding a Stackable VLAN Trunk Port to a Tagged VLAN
FTOS(conf-if-gi-0/42)#switchport
FTOS(conf-if-gi-0/42)#vlan-stack trunk
FTOS(conf-if-gi-0/42)#show config
!
interface GigabitEthernet 0/42
no ip address
switchport
vlan-stack trunk
no shutdown
FTOS(conf-if-gi-0/42)#interface vlan 100
FTOS(conf-if-vl-100)#vlan-stack compatible
FTOS(conf-if-vl-100-stack)#member gigabitethernet 0/42
FTOS(conf-if-vl-100-stack)#show config
!
interface Vlan 100
no ip address
vlan-stack compatible
member GigabitEthernet 0/42
shutdown
FTOS(conf-if-vl-100-stack)#interface vlan 20
FTOS(conf-if-vl-20)#tagged gigabitethernet 0/42
FTOS(conf-if-vl-20)#show config
!
interface Vlan 20
no ip address
tagged GigabitEthernet 0/42
shutdown
FTOS(conf-if-vl-20)#do show vlan
Codes: * - Default VLAN, G - GVRP VLANs
Q: U - Untagged, T - Tagged
x - Dot1x untagged, X - Dot1x tagged
G - GVRP tagged, M - Vlan-stack
NUM Status Description Q Ports
* 1 Inactive
20 Active T Gi 0/42
100 Active M Gi 0/42
FTOS(conf-if-vl-20)#
Example 2
Figure 46-3. Adding a Stackable VLAN Trunk Port to Tagged and Untagged VLANs
FTOS(config)#vlan-stack protocol-type 88A8
FTOS(config)#interface gigabitethernet 3/10
FTOS(conf-if-gi-3/10)#no shutdown
FTOS(conf-if-gi-3/10)#switchport
FTOS(conf-if-gi-3/10)#vlan-stack access
FTOS(conf-if-gi-3/10)#exit