DGS-6604
m
gvrp forbidden
CLI Reference Guide
214
gvrp forbidden
Use the
gvrp forbidden
command to specify the port as a forbidden member.
Use the
no gvrp forbidden
command to remove the port as a forbidden
member.
gvrp forbidden
no gvrp forbidden
Syntax
None
Default
None
Command Mode
Interface configuration
Usage Guideline
The physical port and port-channel interfaces are both valid for this command. If
a physical port is a member of a port-channel, entering the command returns an
error message. If multiple interfaces are specified, the command can be
executed partially. Error messages are sent if the interfaces fail to execute this
command.
When the gvrp forbidden command is configured, all VLANs will be forbidden
except the default VLAN (1) of this port.
If some VLANs have already been defined as allowable VLANs for the port, then
these VLAN memberships will be removed when issuing the
gvrp forbidden
command. These memberships will not be recovered even when the
no gvrp
forbidden
command is applied.
Example
This example shows how to set Ethernet eth3.1 as a GVRP forbidden port.
Verify the settings by entering the
show gvrp configuration interface
command
Switch(config)# interface eth3.1
Switch(config-if)# gvrp forbidden