Chapter5ServiceConguration
5.26GARP/GVRPConguration
GARP/GVRPOverview
TheGenericAttributeRegistrationProtocol(GARP)isatypeofgenericattribute
registrationprotocol,whichdistributesVLANandmulticastMACaddressdynamicallyto
thememberinthesameswitchingnetworkbyapplyingthedifferentapplicationprotocols.
GARPVLANRegistrationProtocol(GVRP)isatypeofapplicationprotocoldened
bytheGARP,whichmaintainsVLANinformationintheswitchdynamicallybased
ontheGARPprotocolmechanism.AllswitchessupportingGVRPcanreceivethe
VLANregistrationinformationfromotherswitchesandupdatelocalVLANregistration
informationdynamicallyincludingthecurrentVLANonthisswitchandtheportsin
thisVLAN.AllswitchessupportingGVRPcanbroadcastthelocalVLANregistration
informationtootherswitches,sothat,theVLANcongurationsofalldeviceswiththe
GVRPinthesameswitchingnetworkhaveaconsistentinterworkingaccordingtothe
demand.
ConguringGARP/GVRP
TheGARP/GVRPcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setvlan<vlanlist>{permit|forbid}{port<portlist>|
trunk<trunklist>}
Permitsorforbidsadding/deleting
port/trunkinthespeciedVLAN.
zte(cfg)#setgarp{enable|disable}EnablesordisablestheGARP
function.
zte(cfg)#setgarptimer{hold|join|leave|learvall}<timer_value>SetsvariousGARPtimers.
showgarp(allcongurationmodes)DisplaysGARPconguration.
zte(cfg)#setgvrp{enable|disable}EnablesordisablesGVRP .
zte(cfg)#setgvrp{port<portlist>|trunk<trunklist>}{enable|
disable}
EnablesordisablesGVRPonthe
port/trunk.
zte(cfg)#setgvrp{port<portlist>|trunk<trunklist>}registration
{normal|fixed|forbidden}
SetsGVRPregistrationtypeon
Trunkport.
showgvrp(allcongurationmodes)DisplaysGVRPcongurationand
state.
GARP/GVRPCongurationInstance
lCongurationDescription
SwitchAconnectswithswitchBthroughport1.ByconguringGVRP ,thetwo
switchescanregistereachotherandrefreshtheirVLANtable.SeeFigure5-30.
5-93
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential