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
■
access
— Indicates an untagged layer 2 VLAN port.
■
trunk
— Indicates a trunking layer 2 VLAN port.
■
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
There are no user guidelines.
Example
The following command configures Ethernet port 1/e16 as an untagged layer 2 VLAN port.
Console(config)#
interface ethernet
1/e16
Console(config-if)#
switchport mode access
Summary of Contents for Bc1500 - BladeSystem - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...