Disabling Vlan Learning; Changing The Gvrp Timers - HP 9304m Installation And Getting Started Manual

Procurve routing switches
Table of Contents

Advertisement

NOTE: Leaveall messages are still sent on the GVRP ports.

Disabling VLAN Learning

To disable VLAN learning on a port enabled for GVRP, enter a command such as the following at the GVRP
configuration level:
HP9300(config-gvrp)# block-learning ethernet 6/24
This command disables learning of VLAN information on port 6/24.
NOTE: The port still advertises VLAN information unless you also disable VLAN advertising.
Syntax: [no] block-learning all | ethernet <portnum> [ethernet <portnum> | to <portnum>]

Changing the GVRP Timers

GVRP uses the following timers:
Join – The maximum number of milliseconds (ms) a device's GVRP interfaces wait before sending VLAN
advertisements on the interfaces. The actual interval between Join messages is randomly calculated to a
value between 0 and the maximum number of milliseconds specified for Join messages. You can set the Join
timer to a value from 200 – one third the value of the Leave timer. The default is 200 ms.
Leave – The number of ms a GVRP interface waits after receiving a Leave message on the port to remove the
port from the VLAN indicated in the Leave message. If the port receives a Join message before the Leave
timer expires, GVRP keeps the port in the VLAN. Otherwise, the port is removed from the VLAN. When a
port receives a Leave message, the port's GVRP state is changed to Leaving. Once the Leave timer expires,
the port's GVRP state changes to Empty. You can set the Leave timer to a value from three times the Join
timer – one fifth the value of the Leaveall timer. The default is 600 ms.
NOTE: When all ports in a dynamically created VLAN (one learned through GVRP) leave the VLAN, the
VLAN is immediately deleted from the device's VLAN database. However, this empty VLAN is still maintained
in the GVRP database for an amount of time equal to the following:
(number-of-GVRP-enabled-up-ports) * (2 * join-timer)
While the empty VLAN is in the GVRP database, the VLAN does not appear in the show vlans display but
does still appear in the show gvrp vlan all display.
Leaveall – The minimum interval at which GVRP sends Leaveall messages on all GVRP interfaces. Leaveall
messages ensure that the GVRP VLAN membership information is current by aging out stale VLAN
information and adding information for new VLAN memberships, if the information is missing. A Leaveall
message instructs the port to change the GVRP state for all its VLANs to Leaving, and remove them unless a
Join message is received before the Leave timer expires. By default, you can set the Leaveall timer to a value
from five times the Leave timer – maximum value allowed by software (configurable from 300000 – 1000000
ms). The default is 10000.
NOTE: The actual interval is a random value between the Leaveall interval and 1.5 * the Leaveall time or the
maximum Leaveall time, whichever is lower.
NOTE: You can increase the maximum configurable value of the Leaveall timer from 300000 ms up to
1000000 ms using the gvrp-max-leaveall-timer command. (See "Increasing the Maximum Configurable
Value of the Leaveall Timer" on page 8-6.)
Configuring GARP VLAN Registration Protocol (GVRP)
8 - 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

9315m

Table of Contents