DELL N3000 User Manual
Configuring VLANs
695
Configuring GVRP
Beginning in Privileged EXEC mode, use the following commands to enable
GVRP on the switch and on an interface, and to configure various GVRP
settings.
Command
Purpose
configure
Enter global configuration mode.
gvrp enable
Enable GVRP on the switch.
interface
interface
Enter interface configuration mode for the specified port
or LAG. The
interface
variable includes the interface type
and number, for example tengigabitethernet 1/0/3 or port-
channel 3.
You can also specify a range of interfaces with the interface
You can also specify a range of interfaces with the interface
range command, for example, interface range
tengigabitethernet 1/0/8-12 configures interfaces 8, 9, 10,
11, and 12.
gvrp enable
Enable GVRP on the interface.
switchport general
forbidden vlan {add
vlan-list
|remove
vlan-
list
}
—and—
switchport trunk allowed
switchport trunk allowed
vlan {add
vlan-list
|
remove
vlan-list
}
(Optional) Forbids dynamically adding the VLANs
specified by the remove parameter to a port. To revert to
allowing the addition of specific VLANs to the port, use
the add parameter of this command.
add
add
vlan-list
— List of valid VLAN IDs to remove from the
forbidden list. Separate nonconsecutive VLAN IDs with a
comma and no spaces. Use a hyphen to designate a range
of IDs.
remove
remove
vlan-list
— List of valid VLAN IDs to add to the
forbidden list. Separate nonconsecutive VLAN IDs with a
comma and no spaces. Use a hyphen to designate a range
of IDs.
gvrp registration-forbid (Optional) Deregister all VLANs on a port and prevent any
dynamic registration on the port.
gvrp vlan-creation-
forbid
(Optional) Disable dynamic VLAN creation.
exit
Exit to global configuration mode.