Specifications
6-15
Cisco ONS 15216 EDFA2/EDFA2-A Operations Guide, R2.4
July 2004
Chapter 6 ASH Commands
6.6.1 snmp attribute get Command
6.6.1 snmp attribute get Command
Command Types snmp attribute get
Syntax Description
snmp attribute get {
IP_address
| local}
attribute_name index
Accesses and displays a specific MIB attribute. See Example 6-11.
Example 6-11 snmp attribute get Command
ash:
hostname
:ONS15216 EDFA2> snmp attribute get local sysDescr
attributes
sysDescr "hostname, Hardware Rev B0, ONS15216 EDFA2, v2.1.9,
Serial No DIT05470008, MAC Addr 00059a383d11"
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 get Command List
ash:
hostname
:ONS15216 EDFA2> snmp attribute get local cerent
cerent15216EdfaCommIndex
cerent15216EdfaCommName
cerent15216EdfaCommViewIndex
cerent15216EdfaCommPrivileges
cerent15216EdfaCommSrcIPAddr
cerent15216EdfaCommNetMask
cerent15216EdfaCommStatus
cerent15216EdfaCommTrapIndex
cerent15216EdfaCommTrapCommunity
cerent15216EdfaCommTrapDestIPAddress
cerent15216EdfaCommTrapDestUDPPort
cerent15216EdfaCommTrapViewIndex
cerent15216EdfaCommTrapVersion
cerent15216EdfaCommTrapStatus
cerent15216EdfaViewIndex
cerent15216EdfaViewSubtree
cerent15216EdfaViewMask
cerent15216EdfaViewType
cerent15216EdfaViewStatus
cerent15216EdfaAgentTrapEnable
...
6.6.2 snmp attribute list Command
Command Types snmp attribute list
Syntax Description
snmp attribute list {
IP_address
| local}
attribute_name
Lists the value of an attribute for all table rows. See Example 6-13.