Chapter4ServiceConīæguration
GARP/GVRPConīgurationInstance
lConīægurationDescription
AsshowninFigure4-26,switchAconnectswithswitchBthroughport1.By
conīæguringGVRP ,thetwoswitchescanregistereachotherandrefreshtheirVLAN
table.
Figure4-26GVRPConīægurationInstance
lConīægurationProcedure
1.ConīægurationofswitchA:
zte(cfg)#setgarpen
zte(cfg)#setgvrpen
zte(cfg)#setgvrpport1en
zte(cfg)#setvlan10-20en
zte(cfg)#setvlan10-20addport1
2.ConīægurationofswitchB:
zte(cfg)#setgarpen
zte(cfg)#setgvrpen
zte(cfg)#setgvrpport1en
zte(cfg)#setvlan30-40en
zte(cfg)#setvlan30-40addport1
Note:
1.GarpfunctionshouldbeenabledīærstbeforeGvrpfunctionisenabled.
2.EnablingGVRPcanenableupto256vlans.
3.TimerofGarpgenerallyusesthedefaultvalue.Ifitismodiīæed,thevaluemustbe
thesameastheoneconīæguredinthenetwork.
4.GvrpportregistrationtypeusesdefaultNormalvalue.Ifitismodiīæedtoother
types,vlanlearningcanātbedone.
lConīægurationVeriīæcation
SwitchA(cfg)#showgarp/*ViewGARPconfiguration*/
GARPisenabled!
GARPTimers:
HoldTimeout:100milliseconds
JoinTimeout:200milliseconds
LeaveTimeout:600milliseconds
LeaveAllTimeout:10000milliseconds
4-81
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandConīædential