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

sysLocation = "";

sysServices = 0; sysORLastChange = 120;

};

6.6.14 snmp table get Command

Command

snmp table get

Syntax Description snmp table get {IP_address local} table

Accesses table data. See Example 6-26.

Example 6-26 snmp table get Command

ash:hostname:ONS15216 EDFA2> snmp table get local system

attributes

 

sysDescr

"hostname, Hardware Rev A1, ONS15216 EDFA2,

v2.3.0, Serial No DIT0533000P, MAC Addr 00059a383d10"

sysObjectID

cerent15216EdfaNode

sysUpTime

1330310

sysContact

"username"

sysName

"sysname"

sysLocation

"Lab"

sysServices

0

sysORLastChange

125

6.6.15 snmp table list Command

Command

snmp table list

 

 

 

 

snmp table list {IP_address local} table

Syntax Description

 

Lists all the data within a table. Example 6-27below displays the command for the UDP (User Datagram

 

Protocol) table. This command displays data by attribute.

 

Example 6-27 snmp table list Command

 

ash:hostname:ONS15216 EDFA2> snmp table list local udp

 

udpInDatagrams.0 =

11341;

 

 

udpNoPorts.0 =

135;

 

 

 

udpInErrors.0 =

1983;

 

 

udpOutDatagrams.0 =

9233;

 

 

udpLocalAddress.172.22.82.19.161

= 172.22.82.19;

 

udpLocalPort.172.22.82.19.161 =

161;

Cisco ONS 15216 EDFA2 Operations Guide

6-24

78-16033-01

 

 

Page 124
Image 124
Cisco Systems 15216 EDFA2 manual Snmp table get Command, Snmp table list Command