Quick Reference Guide

PowerConnect B-Series TI24X Configuration Guide 347
53-1002269-02
Configuring GVRP
12
To specify a range, enter the first port in the range as ethernet <portnum> followed by to
followed by the last port in the range. For example, to add ports 1 – 8, enter the following
command: enable ethernet 1 to 8.
You can combine lists and ranges in the same command. For example: enable ethernet 1 to 8
ethernet 1 ethernet 2 ethernet 3.
Disabling VLAN advertising
To disable VLAN advertising on a port enabled for GVRP, enter a command such as the following at
the GVRP configuration level.
PowerConnect(config-gvrp)# block-applicant ethernet 1 ethernet 2ethernet 3
This command disables advertising of VLAN information on ports 1, 2, and3.
Syntax: [no] block-applicant all | ethernet <portnum> [ethernet <portnum> | to <portnum>]
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.
PowerConnect(config-gvrp)# block-learning ethernet 2
This command disables learning of VLAN information on port 2.
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 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 GVRP state is
changed to Leaving. Once the Leave timer expires, the port 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.