Configuring GARP/GVRP 65

When an Ethernet port registration type is set to normal, the dynamic and manual creation, registration, and logout of VLAN are allowed on this port.

When one trunk port registration type is set to fixed, the system adds the port to the VLAN if a static VLAN is created on the switch and the trunk port allows the VLAN passing. GVRP also adds this VLAN item to the local GVRP database, one link table for GVRP maintenance. However, GVRP cannot learn dynamic VLAN through this port. The learned dynamic VLAN from other ports of the local switch will not be able to send statements to the outside through this port.

When an Ethernet port registration type is set to forbidden, all the VLANs except VLAN1 are logged out and no other VLANs can be created or registered on this port.

Perform the following configurations in Ethernet port view.

Table 60 Setting the GVRP Registration Type

OperationCommand

Set GVRP registration type gvrp registration { normal fixed forbidden }

Set the GVRP registration type undo gvrp registration back to the default setting

By default, the GVRP registration type is normal.

Displaying and Debugging GVRP

After you set the GVRP registration type, execute the display command in all views to display the GVRP configuration and to verify the effect of the configuration.

Execute the debugging command in user view to debug the configuration of GVRP.

Table 61 Displaying and Debugging GVRP

Operation

Command

 

 

Display GVRP statistics

display gvrp statistics [ interface

information

interface-list ]

Display GVRP global status

display gvrp status

information

 

Enable GVRP packet or event

debugging gvrp { packet event }

debugging

 

Disable GVRP packet or event

undo debugging gvrp { packet event }

debugging

 

 

 

Example: GVRP Configuration Example

Set network requirements to dynamically register and update VLAN information among switches.

Page 65
Image 65
3Com 10014298 manual By default, the Gvrp registration type is normal, Displaying and Debugging Gvrp