15 switchport forbidden vlan, 16 map protocol protocols-group, Syntax – PLANET WGSD-1022 User Manual

Page 326: Default configuration, Command mode, User guidelines, Example

Advertising
background image

5.27.15 switchport forbidden vlan

The switchport forbidden vlan interface configuration command forbids adding specific VLANs to a

port. This may be used to prevent GVRP from automatically making these VLANs active on the selected

ports. To revert to allowing the addition of specific VLANs to the port, use the remove parameter for this

command.

Syntax

switchport forbidden vlan {add vlan-list | remove vlan-list}

ƒ add vlan-list — List of VLAN IDs to add to the "forbidden" list. Separate non consecutive VLAN

IDs with a comma and no spaces. A hyphen designates a range of IDs.

ƒ remove vlan-list — List of VLAN IDs to remove from the "forbidden" list. Separate non

consecutive VLAN IDs with a comma and no spaces. A hyphen designates a range of IDs.

Default Configuration

All VLANs allowed.

Command Mode

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example forbids adding VLANs number 234 till 256, to e8.

Console (config)# interface ethernet e8

Console (config-if)# switchport forbidden vlan add 234-256

5.27.16 map protocol protocols-group

The map protocol protocols-group VLAN database command adds a special protocol to a named

group of protocols, which may be used for protocol-based VLAN assignment. To delete a protocol from a

group, use the no form of this command.

Syntax

map protocol protocol [encapsulation] protocols-group group

no map protocol protocol encapsulation

ƒ protocol — The protocol is a protocol number or one of the reserved names. The format is Hex

format.

Advertising