28-8
www.hp.com
HP PC Blade Switch CLI Reference Guide
VLAN Commands
switchport trunk allowed vlan
The
switchport trunk allowed vlan
Interface Configuration mode command adds or removes
VLANs to or from a trunk port.
Syntax
switchport trunk allowed vlan {add
vlan-list
|
remove
vlan-list
}
Parameters
■
add
vlan-list
— List of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a
comma and no spaces. A hyphen designates a range of IDs.
■
remove
vlan-list
— 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
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
There are no user guidelines for this command.
Example
The following command adds VLANs 1, 2, 5 to 6 to the allowed list of Ethernet port 1/e16.
Console(config)#
interface ethernet
1/e16
Console(config-if)#
switchport trunk allowed vlan add
1
-
2,5-6
Содержание 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 ...