24
•
If the same OID is specified in multiple rules, the rule with the higher ID takes effect. For
example, a user role can access the MIB node with OID 1.3.6.1.4.1.25506.141.3.0.1 if the user
role contains rules configured by using the following commands:
rule 1 permit read write oid 1.3.6
rule 2 deny read write oid 1.3.6.1.4.1
rule 3 permit read write oid 1.3.6.1.4.1
When you specify a command string, follow the guidelines in
Table 3 Command string configuration rules
Rule
Guidelines
Semicolon (
;
) is the delimiter.
Use a semicolon to separate the command of each view that you must
enter before you access a command or a set of commands. However,
do not use a semicolon to separate commands available in user view or
any view, for example,
display
and
dir
.
Each semicolon-separated segment must have a minimum of one
printable character.
To specify the commands in a view but not the commands in the view's
subviews, use a semicolon as the last printable character in the last
segment. To specify the commands in a view and the view's subviews,
the last printable character in the last segment must not be a semicolon.
For example, you must enter system view before you enter interface
view. To specify all commands starting with the
ip
keyword in any
interface view, you must use the "
system
;
interface
* ;
ip
* ;
" command string.
For another example, the "
system
;
radius scheme
* ;
"
command string represents all commands that start with the
radius
scheme
keywords in system view. The "
system
;
radius
scheme
*
" command string represents all commands that start with
the
radius scheme
keywords in system view and all commands in
RADIUS scheme view.
Asterisk (
*
) is the wildcard.
An asterisk represents zero or multiple characters.
In a non-last segment, you can use an asterisk only at the end of the
segment.
In the last segment, you can use an asterisk in any position of the
segment. If the asterisk appears at the beginning, you cannot specify a
printable character behind the asterisk.
For example, the "
system
; *
" command string represents all
commands available in system view and all subviews of the system
view. The "
debugging
*
event
" command string represents all
event debugging commands available in user view.
Keyword abbreviation is allowed.
You can specify a keyword by entering the first few characters of the
keyword. Any command that starts with this character string matches
the rule.
For example, "
rule 1 deny command dis arp source
*
"
denies access to the commands
display arp source-mac
interface
and
display arp source-suppression
.
Summary of Contents for SOHO IE4300
Page 285: ...i Contents Tcl commands 1 cli 1 tclquit 1 tclsh 2...
Page 288: ...i Contents Python commands 1 exit 1 python 1 python filename 2...
Page 291: ...i Contents Automatic configuration commands 1 autodeploy udisk enable 1...
Page 323: ...25 Sysname Ten GigabitEthernet1 0 51 undo shutdown Related commands irf port...
Page 465: ...ii stp vlan enable 55 vlan mapping modulo 55...
Page 602: ...12 Related commands display mvrp statistics...
Page 609: ...i Contents VLAN mapping commands 1 display vlan mapping 1 vlan mapping 2...
Page 678: ...9 Related commands reset pppoe relay statistics...
Page 846: ...i Contents Basic IP forwarding commands 1 display fib 1 ip forwarding table save 2...
Page 1770: ...i Contents Time range commands 1 display time range 1 time range 1...
Page 2026: ...34 Related commands display mac authentication...
Page 2028: ...ii...
Page 2143: ...i Contents User profile commands 1 display user profile 1 user profile 2...
Page 2308: ...61 ipsec transform set...
Page 2531: ...i Contents SAVI commands 1 ipv6 savi down delay 1 ipv6 savi log enable 1 ipv6 savi strict 2...
Page 2534: ...3 Sysname ipv6 savi strict Related commands ipv6 verify source...
Page 2791: ...14 Sysname track 1 Related commands delay display track...
Page 2939: ...9 sntp authentication keyid sntp reliable authentication keyid...
Page 2967: ...27 Related commands apply poe profile poe enable poe max power interface view poe priority...