ZXR102900ESeriesCongurationGuide
Figure5-5SSHLOGINRESULT
5.3PRIVILEGE
PRIVILEGEOverview
Thecommandlevelfunction,ortheprivilegefunction,referstolevelingthecommandlines
availablefortheswitchesandgrantingdifferentpermissions.Withthisfunction,users
ofdifferentlevelscanaccessthecommandsofdifferentscopes.Thisprotectsswitch
congurationfrombeingmodiedbyanyuserwithanypermission.
PRIVILEGEConguration
PRIVILEGEcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#privilege{enable|disable}
Enables/disablesthecommand
levelfunction.
zte(cfg)#privilege<0-15>session<1-1024>{all|
part}<mode><key1-string>[<key2-string>[...<key10-string>]]
Setsthecommandpermission.
zte(cfg)#clearprivilegesession[<1-1024>]
Clearsaspeciedcommand
permissionrule.
showprivilege{default|level[<0-15>]|session[<1-1024>]}(for
allcongurationmodes)
Displaysaspeciedcommand
permissionrule.
PRIVILEGECongurationInstance
lCongurationDescription
Userscanperformthiscongurationonlywhenloggingintotheswitchwiththehighest
permission(Level15).
5-6
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential