HP PC Blade Switch CLI Reference Guide
www.hp.com
28-7
VLAN Commands
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
Содержание Bc1500 - BladeSystem - 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 ...
Страница 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Страница 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Страница 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Страница 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Страница 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Страница 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Страница 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Страница 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Страница 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Страница 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...