Chapter 4: Commands for CLI configuration
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
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
Default:
1
Usage Guide:
To remove
forbidden VLAN ID
for specific interface
Example:
To remove
forbidden VLAN ID
(5) for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
switchport forbidden vlan remove 5
switchport hybrid acceptable-frame-type
Command:
switchport hybrid acceptable-frame-type all | tagged |
untagged
switchport
Switching mode characteristics
hybrid
Change PVID for hybrid port
acceptable-frame-type
Set acceptable frame type on a port.
all
Allow all frames
tagged
Allow only tagged frames
untagged
Allow only untagged frames
Default:
All
Usage Guide:
To configure
acceptable-frame-type
of
Hybrid VLAN
for specific interface
NS4702-24P-4X Managed Switch Command Guide
101