28-14
www.hp.com
HP PC Blade Switch CLI Reference Guide
VLAN Commands
switchport forbidden vlan
The
switchport forbidden vlan
Interface Configuration mode command forbids adding specific
VLANs to a port. To return to the default configuration, use the
remove
parameter for this
command.
Syntax
switchport forbidden vlan {add
vlan-list
| remove
vlan-list
}
Parameters
n
add
vlan-list
— Specifies the list of VLAN IDs to be added. Separate nonconsecutive VLAN
IDs with a comma and no spaces. A hyphen designates a range of IDs.
n
remove
vlan-list
— Specifies the list of VLAN IDs to be removed. Separate nonconsecutive
VLAN IDs with a comma and no spaces. A hyphen designates a range of IDs.
Default Setting
All VLANs are allowed.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
This command can be used to prevent GVRP from automatically making the specified VLANs
active on the selected ports.
Example
The following command forbids adding VLAN IDs 234 to 256 to Ethernet port e42.
Console(config)#
interface ethernet
e42
Console(config-if)#
switchport forbidden vlan add
234-256
Содержание 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 ...