5-45
Cisco SCE 8000 10GBE Software Configuration Guide
OL-30621-02
Chapter 5 Configuring the Management Interface and Security
Configuring and Managing the SNMP Interface
Enabling the SNMP Interface
Use this command to explicitly enable the SNMP interface.
The SNMP interface is implicitly enabled when any
snmp-server
command is executed to configure any
SNMP parameter. For more information on configuring and managing the SNMP parameters, including
hosts, communities, contact, location, and trap destination hosts, see
SNMP Interface” section on page 5-41
.
•
How to Enable the SNMP Interface, page 5-45
•
How to Disable the SNMP Interface, page 5-45
How to Enable the SNMP Interface
You must define at least one community string to allow SNMP access. For complete information on
community strings see
“Configuring SNMP Community Strings” section on page 5-45
.
From the SCE(config)# prompt, type:
How to Disable the SNMP Interface
From the SCE(config)# prompt, type:
Configuring SNMP Community Strings
•
Defining a Community String, page 5-46
•
Removing a Community String, page 5-46
•
Displaying the Configured Community Strings, page 5-47
To enable SNMP management, you must configure SNMP community strings to define the relationship
between the SNMP manager and the agent.
After receiving an SNMP request, the SNMP agent compares the community string in the request to the
community strings that are configured for the agent. The requests are valid under the following
circumstances:
•
SNMP
Get
,
Get-next
, and
Get-bulk
requests are valid if the community string in the request matches
the read-only community.
•
SNMP
Get
,
Get-next
,
Get-bulk
and
Set
requests are valid if the community string in the request
matches the agent’s read-write community.
Command
Purpose
snmp-server enable
Enables SNMP interface.
Command
Purpose
no snmp-server
Disables SNMP interface.