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

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

PDF

show interfaces switchport

Display only virtual and physical interfaces in Layer 2 mode. This command displays the Layer 2 mode interfaces’ IEEE 802.1Q tag status and VLAN membership.

Syntax show interfaces switchport [ interface | stack-unit unit-id ]
Parameters
interface (OPTIONAL) Enter one of the following keywords and slot/port or number information:
  • For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet followed by the slot/port information.
  • Enter the keyword backup to view the backup interface for this interface.
  • NOTE: This command also enables you to view information corresponding to a range of ports.
    • For physical interfaces, you can specify multiple ports as slot/port-range. For example, if you want to display information corresponding to all ports between 1 and 4, specify the port range as show interfaces interface-type 1/1 - 4 .
    • For port–channel interfaces, you can specify multiple ports as port-range. For example, if you want to display information corresponding to all ports between 1 and 4, specify the port range as show interfaces port—channel 1 - 4.
stack-unit unit-id (OPTIONAL) Enter the keywords stack-unit followed by the stack member number. The range is from 0 to 5.
Command Modes
  • EXEC
  • EXEC Privilege
Supported Modes All Modes
Command History
Version Description
9.9(0.0) Introduced on the FN IOM and added support to display the interface configurations corresponding to a range of ports.
9.4(0.0) Supported on the FN I/O Aggregator.
8.3.17.0 Supported on the M I/O Aggregator.
Usage Information The following describes the show interfaces switchport command for the following example.
Items Description
Name Displays the interface’s type, slot, and port number.
802.1QTagged Displays whether if the VLAN tagged (“True”), untagged (“False”), or hybrid (“Hybrid”), which supports both untagged and tagged VLANs by port 13/0.
Vlan membership Lists the VLANs to which the interface is a member. Starting with Dell Networking OS version 7.6.1, this field can display native VLAN membership by port 13/0.
Example
Dell#sh interfaces switchport
                                             
                                             Codes:  U - Untagged, T - Tagged
                                             x - Dot1x untagged, X - Dot1x tagged
                                             G - GVRP tagged, M - Trunk, H - VSN tagged
                                             i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged
                                             
                                             Name: TenGigabitEthernet 2/9
                                             802.1QTagged: True
                                             Vlan membership:
                                             Q       Vlans
                                             T       1001
                                             
                                             
                                             Name: TenGigabitEthernet 2/11
                                             802.1QTagged: True
                                             Vlan membership:
                                             Q       Vlans
                                             T       1001
                                             
                                             
                                             Dell#
                                          
Related Commands

show ip interface — displays Layer 3 information about the interfaces.


对此内容评级

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