跳转至主要内容
  • 快速、轻松地下订单
  • 查看订单并跟踪您的发货状态
  • 创建并访问您的产品列表
  • 使用“Company Administration”(公司管理),管理Dell EMC站点、产品和产品级联系人。

Dell PowerEdge FN I/O Module Command Line Reference Guide 9.10(0.0)

PDF

vlan-stack trunk

Specify a Layer 2 port or port channel as a trunk port to the Stackable VLAN network.

Syntax vlan-stack trunk

To remove a trunk port designation from the selected interface, use the no vlan-stack trunk command.

Defaults Not configured.
Command Modes INTERFACE
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information

Prior to using this command, to place the interface in Layer 2 mode, execute the switchport command.

To remove the trunk port designation, first remove the port (using the no member interface command) from all stackable VLAN-enabled VLANs.

Starting with the Dell Networking OS version 7.8.1.0, 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 must be in Hybrid mode. Refer to portmode hybrid.

In the first example, a VLAN-Stack trunk port is configured and then also made part of a single-tagged VLAN.

In the second example, the tag protocol identifier (TPID) is set to 8848. The “Gi 3/10” Te 3/8 port is configured to act as a VLAN-Stack access port, while the “TenGi 8/0” port acts 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 portmode hybrid command. Refer to portmode hybrid in the Interfaces chapter.

Example
Dell(conf-if-Te-0/12)#switchport
                                             Dell(conf-if-Te-0/12)#vlan-stack trunk
                                             Dell(conf-if-Te-0/12)#show config
                                             !
                                             interface TenGigabitEthernet 0/42
                                             no ip address
                                             switchport
                                             vlan-stack trunk
                                             no shutdown
                                             Dell(conf-if-Te-0/42)#interface vlan 100
                                             Dell(conf-if-vl-100)#vlan-stack compatible
                                             Dell(conf-if-vl-100-stack)#member TenGigabitethernet 0/12
                                             Dell(conf-if-vl-100-stack)#show config
                                             !
                                             interface Vlan 100
                                             no ip address
                                             vlan-stack compatible
                                             member TenGigabitEthernet 0/42
                                             shutdown
                                             Dell(conf-if-vl-100-stack)#interface vlan 20
                                             Dell(conf-if-vl-20)#tagged Tengigabitethernet 0/12
                                             Dell(conf-if-vl-20)#show config
                                             !
                                             interface Vlan 20
                                             no ip address
                                             tagged TenGigabitEthernet 0/12
                                             shutdown
                                             Dell(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 Te 0/12
                                             100  Active               M Te 0/12
                                             Dell(conf-if-vl-20)#
                                          
Example
Dell(config)#vlan-stack protocol-type 88A8
                                             Dell(config)#interface TenGigabitethernet 3/8
                                             Dell(conf-if-te-3/8)#no shutdown
                                             Dell(conf-if-te-3/8)#switchport
                                             Dell(conf-if-te-3/8)#vlan-stack access
                                             Dell(conf-if-te-3/8)#exit
                                             
                                             Dell(config)#interface TenGigabitethernet 8/0
                                             Dell(conf-if-te-10/0)#no shutdown
                                             Dell(conf-if-te-10/0)#portmode hybrid
                                             Dell(conf-if-te-10/0)#switchport
                                             Dell(conf-if-te-10/0)#vlan-stack trunk
                                             Dell(conf-if-te-10/0)#exit
                                             
                                             Dell(config)#interface vlan 20
                                             Dell(conf-if-vlan)#vlan-stack compatible
                                             Dell(conf-if-vlan)#member Te 7/0, te 3/8, TenGi 8/0
                                             Dell(conf-if-vlan)#exit
                                             
                                             Dell(config)#interface vlan 20
                                             Dell(conf-if-vlan)#untagged TenGi 8/0
                                             Dell(conf-if-vlan)#exit
                                             Dell(config)#
                                             
                                             Dell(config)#interface vlan 40
                                             Dell(conf-if-vlan)#tagged TenGi 8/0
                                             Dell(conf-if-vlan)#exit
                                             Dell(config)#
                                          

对此内容评级

准确性
有用性
易理解性
这篇文章对您有帮助吗?
0/3000 characters
  请提供评级(1-5星)。
  请提供评级(1-5星)。
  请提供评级(1-5星)。
  请选择这篇文章是否有帮助。
  注释中不得包含以下特殊字符:<>()\