Back to Contents Page

GVRP Commands

Dell™ PowerConnect™ 3324/3348 Switch CLI Guide

  gvrp enable (global)

  gvrp enable (interface)

  garp timer

  gvrp vlan-creation-forbid

  gvrp registration-forbid

  clear gvrp statistics

  show gvrp configuration

  show gvrp statistics

  show gvrp error-statistics



gvrp enable (global)

GVRP, or GARP VLAN Registration Protocol, is an industry-standard protocol designed to circulate VLAN information from device to device. With GVRP, a single switch is manually configured with all desired VLANs for the network, and all other switches on the network learn these VLANs dynamically.

The gvrp enable global configuration command enables GVRP globally. To disable GVRP globally on the switch, use the no form of this command.

Syntax

gvrp enable

no gvrp enable

Default Configuration

GVRP is globally disabled.

Command Mode

Global Configuration Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example globally enables GVRP on the device.

Console (config)# gvrp enable


gvrp enable (interface)

The gvrp enable interface configuration command enables GVRP on an interface. To disable GVRP on an interface, use the no form of this command.

Syntax

gvrp enable

no gvrp enable

Default Configuration

GVRP is disabled on all interfaces by default.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode

User Guidelines

The default port state is access, which is a port that belongs to a single, untagged VLAN. GVRP cannot join a port with state as access. To modify the port state, see the command switchport mode.

Example

The following example enables GVRP on port 1/e8.

Console (config)# interface ethernet 1/e8

Console (config-if)# gvrp enable


garp timer

Use the garp timer interface configuration command to adjust the GARP application join, leave, and leaveall GARP timer values. To reset the timer to default values, use the no form of this command.

Syntax

garp timer {join | leave | leaveall} timer_value

no garp timer

Default Configuration

The default timer values are as follows:

Command Mode

Interface Configuration (Ethernet, port-channel) Mode

User Guidelines

The following relationship must be maintained for the various timer values:

Set the same GARP timer values on all Layer 2-connected devices. If the GARP timers are set differently on Layer 2-connected devices, GARP applications will not operate successfully.

Example

The following example sets the leave timer for port 1/e8.

Console (config)# interface ethernet 1/e8

Console (config-if)# garp timer leave 900


gvrp vlan-creation-forbid

Use the gvrp vlan-creation-forbid interface configuration command to disable dynamic VLAN creation. To enable dynamic VLAN creation, use the no form of this command.

Syntax

gvrp vlan-creation-forbid

no gvrp vlan-creation-forbid

Default Configuration

Dynamic VLAN creation is enabled by default.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example disables dynamic VLAN creation on port 1/e8.

Console (config)# interface ethernet 1/e8

Console (config-if)# gvrp vlan-creation-forbid


gvrp registration-forbid

Use the gvrp registration-forbidden interface configuration command to de-register all VLANs and prevent dynamic VLAN registration on the port. To allow dynamic registering for VLANs on a port, use the no form of this command.

Syntax

gvrp registration-forbid

no gvrp registration-forbid

Default Configuration

Dynamic registering and deregistering for each VLAN on the port is allowed.

Command Mode

Interface Configuration (Ethernet, port-channel) Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example shows how default dynamic registering and deregistering is forbidden for each VLAN on port 1/e8.

Console (config)# interface ethernet 1/e8

Console (config-if)# gvrp registration-forbid


clear gvrp statistics

Use the clear gvrp statistics global configuration command to clear all the GVRP statistics information.

Syntax

clear gvrp statistics [ethernet interface | port-channel port-channel-number]

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example clears all the GVRP statistics information on port 1/e8.

Console # clear gvrp statistics ethernet 1/e8


show gvrp configuration

Use the show gvrp configuration privileged EXEC command to display GVRP configuration information, including timer values, whether GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP.

Syntax

show gvrp configuration [ethernet interface | port-channel port-channel-number]

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays GVRP configuration information.

Console# show gvrp configuration

GVRP Feature is currently enabled on the switch.

Maximum VLANs: 256, Maximum VLANs after reset: 256.

Port(s) Status Registration Dynamic VLAN Timers (milliseconds)

Creation Join Leave Leave All

-------- ------- ------------ ------------ ----- ----- ----------

2/1 Enabled Normal Enabled 200 600 10000

4/4 Enabled Normal Enabled 200 600 10000


show gvrp statistics

Use the show gvrp statistics privileged EXEC command to display GVRP statistics.

Syntax

show gvrp statistics [ethernet interface | port-channel port-channel-number]

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays GVRP statistics information.

Console# show gvrp statistics

GVRP statistics:

----------------

Legend:

rJE : Join Empty Received rJIn : Join In Received

rEmp : Empty Received rLIn : Leave In Received

rLE : Leave Empty Received rLA : Leave All Received

sJE : Join Empty Sent sJIn : Join In Sent

sEmp : Empty Sent sLIn : Leave In Sent

sLE : Leave Empty Sent sLA : Leave All Sent

Port rJE rJIn rEmp rLIn rLE rLA sJE sJIn sEmp sLIn sLE sLA

---- --- ---- ---- ---- --- --- --- --- --- ---- --- ---

1/e1 0 0 0 0 0 0 0 0 0 0 0 0

1/e2 0 0 0 0 0 0 0 0 0 0 0 0

1/e3 0 0 0 0 0 0 0 0 0 0 0 0

1/e4 0 0 0 0 0 0 0 0 0 0 0 0

1/e5 0 0 0 0 0 0 0 0 0 0 0 0

1/e6 0 0 0 0 0 0 0 0 0 0 0 0

1/e7 0 0 0 0 0 0 0 0 0 0 0 0

1/e8 0 0 0 0 0 0 0 0 0 0 0 0


show gvrp error-statistics

Use the show gvrp error-statistics privileged EXEC command to display GVRP error statistics.

Syntax

show gvrp error-statistics [ethernet interface | port-channel port-channel-number]

Default Configuration

This command has no default configuration.

Command Mode

Privilege EXEC Mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays GVRP statistics information.

Console# show gvrp error-statistics

GVRP error statistics:

----------------

Legend:

INVPROT : Invalid Protocol Id INVPLEN : Invalid PDU Length

INVATYP : Invalid Attribute Type INVALEN : Invalid Attribute Length

INVAVAL : Invalid Attribute Value INVEVENT : Invalid Event

Port INVPROT INVATYP INVAVAL INVPLEN INVALEN INVEVENT

---- ------- ------- ------- ------ ------- --------

1/e1 0 0 0 0 0 0

1/e2 0 0 0 0 0 0

1/e3 0 0 0 0 0 0

1/e4 0 0 0 0 0 0

1/e5 0 0 0 0 0 0

1/e6 0 0 0 0 0 0

1/e7 0 0 0 0 0 0

1/e8 0 0 0 0 0 0


Back to Contents Page