Specifications

6-15
Cisco ONS 15216 EDFA2 Operations Guide
78-13908-02
Chapter 6 CLI Commands
SNMP Commands
Example 6-17 snmp row set Command
hostname:ONS15216 EDFA2> snmp row set local cerent15216EdfaAlarmEntry 1
cerent15216EdfaAlarmEnableStatus disabled
snmp session community get Command
Command: snmp session community get
Syntax: snmp session community get hostname
Description: Displays the default SNMP session communities. See Example 6-18.
Example 6-18 snmp session community get Command
hostname:ONS15216 EDFA2> snmp session community get local
host name: local
read string: public
write string: private
snmp session community set Command
Command: snmp session community set
Syntax: snmp session community set hostname write_community read_community
Description: Sets the default SNMP session communities. See Example 6-19.
Example 6-19 snmp session community set Command
hostname:ONS15216 EDFA2> snmp session community set local private public
write (string[0..32]) write community string
snmp session transmission get Command
Command: snmp session transmission get
Syntax: snmp session transmission get hostname
Description: Displays the default SNMP session parameters. The number of retries is the number of the
attempts made to log in. The time-out period is in minutes. See Example 6-20.
Example 6-20 snmp session transmission get Command
hostname:ONS15216 EDFA2> snmp session transmission get local
host name: 172.22.82.19
number of retries: 2
timeout period: 2