Chapter4ServiceConguration
Example
ThefollowingexampleconguresVLANs2and4topermitdynamicallyaddingports2and
4,andconguresVLANs3and5toforbiddynamicallyaddingports3and5:
zte(cfg)#setvlan2,4permitport2,4
zte(cfg)#setvlan3,5forbidport3,5
zte(cfg)#showvlan
VlanType:802.1qvlan
VlanId:1VlanStatus:enabled
VlanName:
VlanMode:Static
Taggedports:
Untaggedports:1-28
Untaggedtrunks:1-15
Forbiddenports:
VlanId:3VlanStatus:disabled
VlanName:
VlanMode:Static
Taggedports:
Untaggedports:
Forbiddenports:3,5
VlanId:5VlanStatus:disabled
VlanName:
VlanMode:Static
Taggedports:
Untaggedports:
Forbiddenports:3,5
TotalVlans:3
zte(cfg)#
4.24.2setgarpenable/disable
Purpose
ThiscommandenablesordisablestheGARPfunction.
CommandMode
Globalcongurationmode
Syntax
setgarp{enable|disable}
4-425
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential