VLAN Commands
Page 312
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/all
|
remove
vlan-list/all
}
all - Specify all existing IEEE 802.1 VLANs
Parameters
•
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.
•
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 Configuration
All VLANs are allowed.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This command can be used to prevent GVRP from automatically making the specified VLANs active on the
selected ports.
Example
The following example forbids adding VLAN IDs 234 to 256 to Ethernet port 6.
Console(config)#
interface ethernet
6
Console(config-if)#
switchport forbidden vlan add
234-256
Содержание DES-3010FA
Страница 1: ......
Страница 86: ...D Link DES 3010FA GA PA CLI Reference Guide Page 85 ch3 Enabled ch4 Enabled ch5 Enabled ch6 Enabled ...
Страница 91: ...Ethernet Configuration Commands Page 90 ch2 ch3 ch4 ch5 ch6 ...
Страница 177: ...QoS Commands Page 176 Switch show qos interface 7 rate limit Port rate limit kbps 7 100 3 2 4 3 5 3 6 4 7 4 ...
Страница 193: ...Radius Commands Page 192 ...
Страница 318: ...D Link DES 3010FA GA PA CLI Reference Guide Page 317 ...
Страница 355: ...802 1x Commands Page 354 Trap frequency 100 Status Single host locked Violations since last trap 9 ...
Страница 361: ...International Offices Page 360 ...