
17-48
Function:
Configure the forbidden vlan for a port. Note that this command can only be used to configure on trunk or hybrid
ports and the port with GVRP not enabled. No command cancels the forbidden vlanlist for a port.
Parameters:
WORD, add the vlanList as forbidden vlan and cover the previous configuration
all, set all VLANs as forbidden vlan
add WORD, add vlanList to the current forbidden vlanList
except WORD, set all VLANs as forbidden vlan except vlanList
remove WORD, remove vlan specified by vlanList from current forbidden vlanList
Command Mode:
Port mode
Default:
Forbidden vlanList is empty
Usage Guide:
Tag the corresponding position for forbidden vlanList and clear allow vlanList flags in ports. A port leaves these
VLANs if it joins them statically, and it sends message to GVRP module to enable corresponding registered machine
of the port to enter forbidden mode.
Example:
Port quits the corresponding VLAN and the corresponding registered machine of GVRP to enter forbidden mode.
Switch(config-if-ethernet1/1)#switchport forbidden vlan all
17.1.29 switchport hybrid allowed vlan
Command:
switchport hybrid allowed vlan {WORD | all | add WORD | except WORD | remove WORD} {tag | untag}
no
switchport hybrid allowed vlan
Function:
Set hybrid
port which allow the VLAN to pass with tag or untag method; the “
no
switchport hybrid allowed vlan
”
command restores the default setting.