Chapter 5 Management Configuration
Parameters
Parameter
Description
enable
Enables the command grading function.
disable
Disables the command grading function.
Default
The command grading function is disabled.
Example
The following example enables the command grading function:
zte(cfg)#privilege enable
5.2.2 privilege session
Purpose
This command sets the privilege of a switch command.
Command Mode
Global configuration mode
Syntax
privilege
<
0-15
>
session
<
1-1024
>{
all
|
part
}<
mode
><
key1-string
>[<
key2-string
>[
...
<
key10-s
tring
>]]
Parameters
Parameter
Description
<
0-15
>
Command grade.
<
1-1024
>
Rule index.
all
The command exactly matches the key.
part
The command partially matches the key.
<
mode
>
Command mode. Currently, the following modes are supported:
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-define-acl.
<
key1-string
>[
...
<
key10-string
>
Rule keyword. At least 1 keyword and up to 10 keywords can
be configured.
5-5
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential