5-50
Cisco SCE 8000 10GBE Software Configuration Guide
OL-30621-02
Chapter 5 Configuring the Management Interface and Security
Configuring and Managing the SNMP Interface
Defining SNMP Hosts
Use this command to define the hosts that will receive notifications from the Cisco SCE platform.
•
How to Configure the Cisco SCE Platform to Send Notifications to a Host (NMS), page 5-50
•
How to Configure the Cisco SCE Platform to Stop Sending Notifications to a Host, page 5-50
•
Configuring SNMP Traps, page 5-51
Options
The following options are available:
•
hostname
—Name of the SNMP notification host
•
ip-address
—IP address of the SNMP notification host
•
community-string
—Security string that identifies a community of managers who are permitted to
access the SNMP server
•
version
—SNMP version running in the system. Can be set to 1, 2c, or 3. The default is 1 (SNMPv1).
•
noAuthNoPriv
—(SNMPv3 only)Sets the security level to no authentication and no privacy. Trap
does not require any authentication or encryption security levels for access.
•
authNoPriv
—(SNMPv3 only)Sets the security level with authentication and no privacy. The users
of this trap has to authenticate themselves to get access.
•
authPriv
—(SNMPv3 only)Sets the security level with authentication and privacy. The users of this
trap requires both authentication and encryption security levels for access.
How to Configure the Cisco SCE Platform to Send Notifications to a Host (NMS)
At the SCE(config)# prompt, type:
Configuring the Cisco SCE Platform to Send Notifications to Multiple Hosts: Example
The following example shows how to configure the Cisco SCE platform to send SNMPv1 notifications
to one host, SNMPv2c notifications to another, and SNMPv3 notification to a third host:
SCE(config)# snmp-server host myhost.cisco.com traps public
SCE(config)# snmp-server host 20.20.20.20 version 2c mycommunity
SCE(config)# snmp-server host host 10.1.1.205 version 3 authPriv user user1
How to Configure the Cisco SCE Platform to Stop Sending Notifications to a Host
At the SCE(config)# prompt, type:
Command
Purpose
snmp-server host
{
hostname
|
ip-address
}
[
traps
] [
version
version
] {
community-string
| {
noAuthNoPriv
|
authNoPriv
|
authPriv
}}
user
user-name
Configures Cisco SCE platform to send
notifications to a host (NMS).
If the version is not specified, SNMPv1 is
assumed.
Only one host can be specified per command. To
define multiple hosts, execute one command for
each host.