Chapter 4: Commands for CLI configuration
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
89
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
Example:
To configure
acceptable-frame-type
(tagged)
of
Hybrid VLAN
for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
switchport hybrid acceptable-frame-type
tagged
switchport hybrid allowed vlan
Command:
switchport hybrid allowed vlan [all | none | add <vlan_list> |
remove <vlan_list> | except <vlan_list>]
switchport
Switching mode characteristics
hybrid
Change PVID for hybrid port
allowed
Set allowed VLAN characteristics when interface is in hybrid mode
<vlan_list>
VLAN IDs of the allowed VLANs when this port is in hybrid mode
add
Add VLANs to the current list
all
All VLANs
except
All VLANs except the following
none
No VLANs
remove
Remove VLANs from the current list
Default:
All
Usage Guide:
To configure
VLAN list
of
Hybrid VLAN
for specific interface
Example:
To configure
VLAN list
(None)
of
Hybrid VLAN
for
GigabitEthernet X/X
Switch# configure terminal