beautypg.com

123 switchport forbidden vlan add, 124 switchport forbidden vlan remove – Interlogix NS4702-24P-4S-4X Command Line Guide User Manual

Page 162

background image

-162-

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