Chapter5ManagementConguration
Parameters
ParameterDescription
enableEnablesthecommandgradingfunction.
disableDisablesthecommandgradingfunction.
Default
Thecommandgradingfunctionisdisabled.
Example
Thefollowingexampleenablesthecommandgradingfunction:
zte(cfg)#privilegeenable
5.2.2privilegesession
Purpose
Thiscommandsetstheprivilegeofaswitchcommand.
CommandMode
Globalcongurationmode
Syntax
privilege<0-15>session<1-1024>{all|part}<mode><key1-string>[<key2-string>[...<key10-s
tring>]]
Parameters
ParameterDescription
<0-15>Commandgrade.
<1-1024>Ruleindex.
allThecommandexactlymatchesthekey.
partThecommandpartiallymatchesthekey.
<mode>
Commandmode.Currently,thefollowingmodesaresupported:
user,cfg,router,snmp,tffs,nas,group,ingress-basic-acl,
ingress-extend-acl,ingress-link-acl,ingress-hybrid-acl,
ingress-global-acl,egress-basic-acl,egress-extend-acl,
egress-link-acl,egress-hybrid-acl,mac-based-vlan,and
ingress-user-dene-acl.
<key1-string>[...<key10-string>
Rulekeyword.Atleast1keywordandupto10keywordscan
becongured.
5-5
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential