beautypg.com

123 switchport forbidden vlan add, 124 switchport forbidden vlan remove – PLANET XGSW-28040HP User Manual

Page 160

background image

Command Guide of XGSW-28040HP

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # switchport access vlan 5

4.2.65.123 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

4.2.65.124 switchport forbidden vlan remove

Command:

switchport forbidden vlan remove

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.

remove Remove from existing list.

VLAN IDs

-160-

This manual is related to the following products: