beautypg.com

118 switchport forbidden vlan add – PLANET WGSW-48040HP User Manual

Page 132

background image

Command Guide of WGSW-48040HP

VLAN ID of the VLAN when this port is in access mode

Default:

1

Usage Guide:

To configure access VLAN ID for specific interface

Example:

To configure access VLAN ID (5) for GigabitEthernet X/X

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # switchport access vlan 5

4.2.45.118 switchport forbidden vlan add

Command:

switchport forbidden vlan add

switchport Switching mode characteristics

forbidden Adds or removes forbidden VLANs from the current list of forbidden VLANs

vlan Add or modify VLAN entry in forbidden table.

add Add to existing list.

VLAN IDs

Default:

1

Usage Guide:

To add forbidden VLAN ID for specific interface

Example:

To add forbidden VLAN ID (5) for GigabitEthernet X/X

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # switchport forbidden vlan add 5

-132-