ZXR102900ESeriesCongurationGuide
4.24GARP/GVRPConguration
GARP/GVRPOverview
GARPisakindofgenericattributeregistrationprotocol,whichdistributesVLANand
multicastMACaddressdynamicallytothememberinthesameswitchingnetworkby
applyingthedifferentapplicationprotocols.
GVRP(GARPVLANRegistrationProtocol)isakindofapplicationprotocoldenedby
GARP ,whichmaintainsVLANinformationinswitchdynamicallybasedonGARPprotocol
mechanism.AllswitchessupportingGVRPcanreceivetheVLANregistrationinformation
fromotherswitchesandupdatelocalVLANregistrationinformationdynamicallyincluding
thecurrentVLANonthisswitchandtheportsinthisVLAN.Alsoallswitchessupporting
GVRPcanbroadcastthelocalVLANregistrationinformationtootherswitches,sothat,
theVLANcongurationsofalldeviceswithGVRPinthesameswitchingnetworkhave
theconsistentinterworkingaccordingtodemand.
ConguringGARP/GVRP
TheGARP/GVRPcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setvlan<vlanlist>{permit|forbid}{port<portlist>|trunk
<trunklist>}
Permitsorforbidsadding/deleting
port/trunkinthespeciedVLAN.
zte(cfg)#setgarp{enable|disable}EnablesordisablesGARPfunction.
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}
EnablesordisablesGVRPonport/trunk
.
zte(cfg)#setgvrp{port<portlist>|trunk<trunklist>}registration{normal|
fixed|forbidden}
SetsGVRPregistrationtypeonTrunk
port.
showgvrp(allcongurationmodes)DisplaysGVRPcongurationandstate.
Note:
1.OnlyGARPisenabledrst,canGVRPbeenabled.
2.Generally,GARPtimerusesdefaultvalue.Ifitismodied,thecongurationinthe
networkmustbesame.
3.GVRPportregistrationtypeusesdefaultnormalvalue.Ifitismodied,VLANlearning
cannotbeimplemented.
4-80
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential