Specifications
6-16
Cisco ONS 15216 EDFA2 Operations Guide
78-13908-02
Chapter 6 CLI Commands
SNMP Commands
snmp session transmission set Command
Command: snmp session transmission set
Syntax: snmp session transmission set hostname retries timeout
Description: Sets the number of login retries and the time-out period for the module.
snmp session version get Command
Command: snmp session version get
Syntax: snmp session version get hostname
Description: Displays the SNMP version for the session. See Example 6-21.
Example 6-21 snmp session version get Command
hostname:ONS15216 EDFA2> snmp session version get local
host 172.22.82.19
version v1
snmp subtree display Command
Command: snmp subtree display
Syntax: snmp subtree display hostname subtree
Description: Displays the attributes below a node in a SNMP tree. See Example 6-22.
Example 6-22 snmp subtree display Command
hostname:ONS15216 EDFA2> snmp subtree display local
Root
ccitt
zeroDotZero
iso
org
dod
internet
directory
mgmt
mib-2
system
sysDescr
sysObjectID
sysUpTime
sysContact
sysName
sysLocation
sysServices
sysORLastChange
sysORTable
...
hostname:ONS15216 EDFA2> snmp subtree display local Root
BEGIN-HOST "testhost" 0.0.0.0 "write"