Specifications
6-12
Cisco ONS 15216 EDFA2 Operations Guide
78-13908-02
Chapter 6 CLI Commands
SNMP Commands
cerent15216EdfaAlarmID.9 = powerBusA;
cerent15216EdfaAlarmID.10 = powerBusB;
cerent15216EdfaAlarmID.11 = isolationDiode;
Systest:ONS15216 EDFA2>
snmp attribute set Command
Command: snmp attribute set
Syntax: snmp attribute set hostname {attribute_name | index | new_value}
Description: Sets the attribute for a MIB item. Type the command, the first few letters of the attribute,
and press Tab to view a list of attributes that can be set. See Example 6-12.
Example 6-12 snmp attribute set Command
hostname:ONS15216 EDFA2> snmp attribute set local cerent15216EdfaAgentTrapEnable enabled
sysContact
sysName
sysLocation
ifAdminStatus
atIfIndex
atPhysAddress
atNetAddress
ipForwarding
ipDefaultTTL
ipRouteDest
ipRouteIfIndex
ipRouteMetric1
ipRouteMetric2
ipRouteMetric3
ipRouteMetric4
ipRouteNextHop
ipRouteType
ipRouteAge
ipRouteMask
ipRouteMetric5
...
snmp mib display Command
Command: snmp mib display
Syntax: snmp mib display {hostname | -all}
Description: Displays all writable MIB attributes (or all accessible attributes if the -all option is used).
snmp mib get Command
Command: snmp mib get
Syntax: snmp mib get hostname
Description: Displays all MIB attributes. The data is output in two columns. The first column lists the
attributes and indices and the second column lists the data. See Example 6-13.