
65
Ste
Command
Remarks
2. Enable the SNMP agent.
snmp-agent
Optional.
By default, the SNMP agent is
disabled.
You can enable SNMP agent with this
command or any command that
begins with snmp-agent.
3. Configure an SNMP
group and specify its
access right.
snmp-agent group v3 group-name
[ authentication | privacy ]
[ read-view read-view ] [ write-view
write-view ] [ notify-view
notify-view ] [ acl acl-number | acl
ipv6 ipv6-acl-number ] *
By default, no SNMP group is
configured.
NOTE:
Support for the acl ipv6
ipv6-acl-number
option depends on the
device model. For more information,
see
Getting Started Command
Reference
.
4. Add a user to the SNMP
group.
snmp-agent usm-user v3 user-name
group-name [ [ cipher ]
authentication-mode { md5 | sha }
auth-password [ privacy-mode
{ 3des | aes128 | des56 }
priv-password ] ] [ acl acl-number |
acl ipv6 ipv6-acl-number ] *
N/A
NOTE:
Support for the acl ipv6
ipv6-acl-number
option depends on the
device model. For more information,
see
Getting Started Command
Reference
.
Configuring SNMPv1 or SNMPv2c access
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable the SNMP agent.
snmp-agent
Optional.
By default, the SNMP agent
is disabled.
You can enable SNMP agent
with this command or any
command that begins with
snmp-agent.
3. Create or update MIB
view information.
snmp-agent mib-view { excluded | included }
view-name oid-tree [ mask mask-value ]
Optional.
By default, the MIB view
name is ViewDefault and
OID is 1.
Kommentare zu diesen Handbüchern