Switchport Access Vlan - HP Bc1500 - BladeSystem - Blade PC Reference Manual

Blade switch
Hide thumbs Also See for Bc1500 - BladeSystem - Blade PC:
Table of Contents

Advertisement

switchport access vlan

The switchport access vlan Interface Configuration mode command configures the VLAN ID
when the interface is in access mode. To return to the default configuration, use the no form of
this command.
Syntax
switchport access vlan {vlan-id | dynamic}
no switchport access vlan
Parameters
vlan-id — Specifies the ID of the VLAN to which the port is configured.
dynamic —Indicates that the port is assigned to a VLAN based on the source MAC address
of the host connected to the port.
Default Setting
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
The command automatically removes the port from the previous VLAN and adds it to the new
VLAN.
Example
The following command configures Ethernet port 1/e16 in access mode to be member of
VLAN 23.
Console(config)# interface ethernet 1/e16
Console(config-if)# switchport access vlan 23
HP PC Blade Switch CLI Reference Guide
www.hp.com
VLAN Commands
28-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bladesystem pc

Table of Contents