Chapter4ServiceConguration
GARP/GVRPCongurationInstance
lCongurationDescription
AsshowninFigure4-26,switchAconnectswithswitchBthroughport1.By
conguringGVRP ,thetwoswitchescanregistereachotherandrefreshtheirVLAN
table.
Figure4-26GVRPCongurationInstance
lCongurationProcedure
1.CongurationofswitchA:
zte(cfg)#setgarpen
zte(cfg)#setgvrpen
zte(cfg)#setgvrpport1en
zte(cfg)#setvlan10-20en
zte(cfg)#setvlan10-20addport1
2.CongurationofswitchB:
zte(cfg)#setgarpen
zte(cfg)#setgvrpen
zte(cfg)#setgvrpport1en
zte(cfg)#setvlan30-40en
zte(cfg)#setvlan30-40addport1
Note:
1.GarpfunctionshouldbeenabledrstbeforeGvrpfunctionisenabled.
2.EnablingGVRPcanenableupto256vlans.
3.TimerofGarpgenerallyusesthedefaultvalue.Ifitismodied,thevaluemustbe
thesameastheoneconguredinthenetwork.
4.GvrpportregistrationtypeusesdefaultNormalvalue.Ifitismodiedtoother
types,vlanlearningcan’tbedone.
lCongurationVerication
SwitchA(cfg)#showgarp/*ViewGARPconfiguration*/
GARPisenabled!
GARPTimers:
HoldTimeout:100milliseconds
JoinTimeout:200milliseconds
LeaveTimeout:600milliseconds
LeaveAllTimeout:10000milliseconds
4-81
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential