![HP BladeSystem bc2000 - Blade PC Скачать руководство пользователя страница 402](http://html.mh-extra.com/html/hp/bladesystem-bc2000-blade-pc/bladesystem-bc2000-blade-pc_reference-manual_158505402.webp)
28-6
www.hp.com
HP PC Blade Switch CLI Reference Guide
VLAN Commands
switchport mode
The
switchport mode
Interface Configuration mode command configures the VLAN
membership mode of a port. To return to the default configuration, use the
no
form of this
command.
Syntax
switchport mode {access | trunk | general}
no switchport mode
Parameters
n
access
— Indicates an untagged layer 2 VLAN port.
n
trunk
— Indicates a trunking layer 2 VLAN port.
n
general
— Indicates a full 802-1q supported VLAN port.
Default Setting
All ports are in access mode. All ports do not all belong to the default VLAN. By default, odd
ports 1-41, 42, 45, and 46 are all in VLAN 1. The remaining ports are in VLAN 2.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
.
When MSTP-to-RSTP is enabled (enabled by default) attempting to put any switch port into
trunk or general mode will cause the following error message:
Port <Number>, extension
separated-bridge exist
. This feature must be disabled before the switch can support these
modes. Please see spanning-tree mst mstp-rstp for more information.
Example
The following command configures Ethernet port e42 as an untagged layer 2 VLAN port.
Console(config)#
interface ethernet
e42
Console(config-if)#
switchport mode access
Содержание BladeSystem bc2000 - Blade PC
Страница 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Страница 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Страница 142: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Страница 152: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Страница 162: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Страница 178: ...1 1 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Страница 194: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Страница 202: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Страница 208: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Страница 216: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Страница 272: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Страница 362: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...