123 switchport forbidden vlan add, 124 switchport forbidden vlan remove – PLANET GS-5220-48T4X User Manual

Page 161

Advertising
background image

Command Guide

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 <vlan_list>

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_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 <vlan_list>

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_list> VLAN IDs

-161-

Advertising