Chapter7ServiceConguration
CongurationofswitchA:
zte(cfg)#setgarpen
zte(cfg)#setgvrpen
zte(cfg)#setgvrpport1en
zte(cfg)#setvlan10-20en
zte(cfg)#setvlan10-20addport1
CongurationofswitchB:
zte(cfg)#setgarpen
zte(cfg)#setgvrpen
zte(cfg)#setgvrpport1en
zte(cfg)#setvlan30-40en
zte(cfg)#setvlan30-40addport1
Congurationcheck:
SwitchA(cfg)#showgarp/*ViewGARPconfiguration*/
GARPisenabled!
GARPTimers:
HoldTimeout:100milliseconds
JoinTimeout:200milliseconds
LeaveTimeout:600milliseconds
LeaveAllTimeout:10000milliseconds
SwitchA(cfg)#showgvrp/*ViewGVRPconfiguration*/
GVRPisenabled!
PortIdStatusRegistrationLastPduOrigin
-------------------------------------------
1EnabledNormal00.d0.d0.f2.51.24
SwitchA(cfg)#showport1vlan
PortId:1
Taggedinvlan:30-40
Untaggedinvlan:1,10-20
SwitchB(cfg)#showport1vlan
PortId:1
Taggedinvlan:10-20
Untaggedinvlan:1,30-40
SwitchA(cfg)#showvlan30-40
VlanId:30VlanStatus:enabled
VlanName:
VlanMode:Dynamic
Taggedports:1
Untaggedports:
Forbiddenports:
SwitchB(cfg)#showvlan10-20
VlanId:10VlanStatus:enabled
VlanName:
VlanMode:Dynamic
Taggedports:1
Untaggedports:
Forbiddenports:
Caution:
1.GarpfunctionshouldbeenabledrstbeforeGvrpfunctionis
enabled.
2.EnablingGVRPcanenableupto256vlans.
3.TimerofGarpgenerallyusesthedefaultvalue.Ifitismodi-
ed,thevaluemustbethesameastheoneconguredinthe
network.
4.GvrpportregistrationtypeusesdefaultNormalvalue.Ifitis
modiedtoothertypes,vlanlearningcan’tbedone.
CondentialandProprietaryInformationofZTECORPORATION83