Chapter 6 ASH Commands

SNMP Commands

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.6 SNMP Commands

The SNMP commands are useful in working with the SNMP protocol to provision and configure the ONS 15216 EDFA2. When issuing these SNMP commands, the command syntax requires that the command must be followed by either the ONS 15216 EDFA2 IP address or the word “local”.

SNMP commands are listed as follows:

snmp attribute get Command, page 6-15

snmp attribute list Command, page 6-16

snmp attribute set Command, page 6-17

snmp mib display Command, page 6-17

snmp mib get Command, page 6-18

snmp mib list Command, page 6-18

snmp row display Command, page 6-19

snmp row get Command, page 6-20

snmp row set Command, page 6-20

snmp subtree display Command, page 6-21

snmp subtree get Command, page 6-21

snmp subtree list Command, page 6-22

snmp table display Command, page 6-23

snmp table get Command, page 6-24

snmp table list Command, page 6-24

snmp tree attribute list Command, page 6-25

6.6.1snmp attribute get Command

Command

snmp attribute get

Syntax Description snmp attribute get {IP_address local} attribute_name index

Accesses and displays a specific MIB attribute. See Example 6-13.

Example 6-13 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-14.

Cisco ONS 15216 EDFA2 Operations Guide

 

78-16033-01

6-15

 

 

 

Page 115
Image 115
Cisco Systems 15216 EDFA2 manual Snmp Commands, Snmp attribute get Command, Example 6-13 snmp attribute get Command