Layer 2 Switching Commands
799
show interfaces switchport
Use the
show interfaces switchport
command to display the complete
switchport VLAN configuration for all possible switch mode configurations:
access, dot1q-tunnel, general, trunk, and (private VLAN) host or (private
VLAN) promiscuous.
Syntax
show interfaces switchport
{{
gigabitethernet
unit/slot/port |
port-channel
port-channel-number |
tengigabitethernet
unit/slot/port|
fortygigabitethernet
unit/slot/port}}
Default Configuration
If no interface parameter is given, all interfaces are shown.
Command Mode
Privileged Exec mode, Interface Configuration mode and all Configuration
submodes
User Guidelines
Each of the switchport modes can be configured independently for a port or
port channel. The configurations are retained even when the port is
configured in a different mode.
It is recommended that the private VLAN host ports be configured as
spanning-tree portfast.
Examples
The following example displays switchport configuration individually for
gi1/0/1.
switch-top(config-if-Gi1/0/1)#show interfaces switchport gi1/0/1
Port: Gi1/0/1
VLAN Membership Mode: Trunk Mode
Access Mode VLAN: 1 (default)
General Mode PVID: 1 (default)
General Mode Ingress Filtering: Enabled
General Mode Acceptable Frame Type: Admit All
General Mode Dynamically Added VLANs:
Содержание N1100-ON
Страница 2: ......
Страница 4: ......
Страница 258: ...Using the CLI 258 ...
Страница 488: ...Layer 2 Switching Commands 488 Operational State Querier Operational version 1 ...
Страница 656: ...Layer 2 Switching Commands 656 10 ...
Страница 1128: ...Audio Visual Bridging Commands 1128 ...
Страница 1186: ...Data Center Technology Commands 1186 ...
Страница 1414: ...Layer 3 Routing Commands 1414 Command History Introduced in version 6 2 0 1 firmware Example console route map set metric 6432 ...
Страница 1435: ...Layer 3 Routing Commands 1435 Number of Joins 7 Number of Groups 1 ...
Страница 1598: ...Layer 3 Routing Commands 1598 Vl10 Rx 0 0 0 0 0 0 0 Tx 2 0 0 0 0 0 0 Invalid Packets Received 0 ...
Страница 1621: ...Layer 3 Routing Commands 1621 Vl10 Rx 0 0 0 0 0 0 0 Tx 2 0 0 0 0 0 0 Invalid Packets Received 0 ...
Страница 2330: ......
Страница 2331: ...www dell com support dell com Printed in the U S A ...
Страница 2332: ......