5-43
Cisco SCE 8000 10GBE Software Configuration Guide
OL-30621-02
Chapter 5 Configuring the Management Interface and Security
Configuring and Managing the SNMP Interface
write-view. All users in a group have common access rights. A read-view defines a view, containing the
OIDs available for the user to read (SNMPGET/GETNEXT), and similarly a write-view contains the
OIDs available for update (SNMPSET)
Note
SNMPv3 configurations are available only through Command Line Interface.
About CLI
•
CLI Commands for Configuring SNMP, page 5-43
•
CLI Commands for Monitoring SNMP, page 5-44
The Cisco SCE platform supports the CLI commands that control the operation of the SNMP agent. All
the SNMP commands are available in Admin authorization level. The SNMP agent is disabled by default
and any SNMP configuration command enables the SNMP agent (except where there is an explicit
disable command).
CLI Commands for Configuring SNMP
Following is a list of CLI commands available for configuring SNMPv1 and SNMPv2c. These are Global
Configuration mode commands.
•
snmp-server enable
•
no snmp-server
•
[no] snmp-server community [all]
•
[no | default] snmp-server enable traps
•
[no] snmp-server host [all]
•
[no] snmp-server contact
•
[no] snmp-server location
Following is a list of CLI commands available for configuring SNMPv3. These are Global Configuration
mode commands.
•
snmp-server enable
•
no snmp-server
•
snmp-server view <view-name> OID <oidOrMIBName> operation {included | excluded}
•
no snmp-server view all
•
no snmp-server view view-name OID <oidOrMIBName> operation {included | excluded}
•
snmp-server group <group-name> 3 { noAuthNoPriv | authNoPriv | authPriv } [read-view
<view-name>] [write-view <view-name>]
•
no snmp-server group all
•
no snmp-server group <group-name>
•
snmp-server user <user-name> group <group-name> [auth {MD5-auth | SHA-auth}
auth-pass-phrase <authPassPhrase>] [priv {AES-priv | DES-priv} priv-pass-phrase
<privPassPhrase>]
•
no snmp-server user all
•
no snmp-server user <user-name>