F I N A L D R A F T - C I S C O C O N F I D E N T I A L
6-17
Cisco ONS 15216 EDFA2 Operations Guide
78-16033-01
Chapter 6 ASH Commands
SNMP Commands
6.6.3 snmp attribute set Command
Command
snmp attribute set
Syntax Description
snmp attribute set {IP_address | local} attribute_name index new_value
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-16
.
Example 6-16 snmp attribute set Command
ash: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
...
6.6.4 snmp mib display Command
Command
snmp mib display
Syntax Description
snmp mib display {IP_address | local} -all
Displays all writable MIB attributes (or all accessible attributes if the -all option is used).