ZXR10 2900E Series Command Reference
5.4.5 create view
Purpose
This command creates a view and specifies whether the view contains a Management
Information Base (MIB) subtree.
Command Mode
SNMP configuration mode
Syntax
create view
<
string
>[{
include
|
exclude
}<
mib-oid
>]
Parameter Description
Parameter
Description
<
string
>
View name.
include
The view contains an MIB subtree.
exclude
The view does not contain an MIB subtree.
<
mib-oid
>
Root node of the MIB subtree.
Example
The following example creates a view named as bjView:
zte(cfg-snmp)#create view bjView
5.4.6 set community acl-rule-id
Purpose
This command specifies the ACL rule ID bound with a community.
Command Mode
SNMP configuration mode
Syntax
set community
<
string
>
ingress-acl-basic-number
<
1-99
>
Parameter Description
Parameter
Description
community
string
>
Community name
<
1-99
>
ACL rule ID bound with the community
5-12
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential