beautypg.com

105 switchport forbidden vlan add, 106 switchport forbidden vlan remove – PLANET SGS-5220-24T2X User Manual

Page 127

background image

Command Guide of SGS-5220-24T2X

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # switchport access vlan 5

4.2.45.105 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.45.106 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

-127-