11–6
MULTILINK ML810 MANAGED EDGE SWITCH – INSTRUCTION MANUAL
CONFIGURING GVRP THROUGH THE COMMAND LINE INTERFACE
CHAPTER 11: VLAN REGISTRATION OVER GARP
11.2 Configuring GVRP through the Command Line
Interface
11.2.1 Commands
The commands used for configuring GVRP are shown below.
The
gvrp
command enables or disables GVRP.
gvrp
<enable|disable>
The
show gvrp
command displays whether GVRP is disabled, along with the current
settings for the maximum number of VLANs and the current primary VLAN.
show gvrp
The
set-ports
command set the state of the port to learn, block or disable for GVRP.
Note the default state is disable.
set-ports
port=<port|list|range> state=<learn|block|disable>
The set-forbid command sets the forbid GVRP capability on the ports specified.
set-forbid
vlan=<tag vlanid>
forbid=<port-number|list|range>
The show-forbid command displays the ports with GVRP forbid capabilities.
show-forbid
The following example illustrates how to configure GVRP using the commands shown in
this section.
11.2.2 GVRP Operation Notes
A dynamic VLAN must be converted to a static VLAN before it can have an IP address.
After converting a dynamic VLAN to a static VLAN use the “save” command to save the
changes made - on a reboot the changes can be lost without the save command.
Within the same broadcast domain, a dynamic VLAN can pass through a device that is not
GVRP-aware. This is because a hub or a switch that is not GVRP-aware will flood the GVRP
(multicast) advertisement packets out all ports.
GVRP assigns dynamic VLANs as tagged VLANs. To configure the VLAN as untagged, first
convert the tagged VLAN to a static VLAN.
Rebooting a switch on which a dynamic VLAN deletes that VLAN. However, the dynamic
VLAN re-appears after the reboot if GVRP is enabled and the switch again receives
advertisements for that VLAN through a port configured to add dynamic VLANs.
By receiving advertisements from other devices running GVRP, the switch learns of static
VLANs from those devices and dynamically (automatically) creates tagged VLANs on the
links to the advertising devices. Similarly, the switch advertises its static VLANs to other
GVRP-aware devices.
A GVRP-enabled switch does not advertise any GVRP-learned VLANs out of the port(s) on
which it originally learned of those VLANs.