Introduction Introduction
Software Reference for SwitchBlade x3100 Series Switches (Network Management)
7-114
7.6 IP Statistics
7.6.1 Introduction
Subsection 7.5.4 describes how to gather and retrieve statistical information. In addition, there are a number of
statistics associated with SNMP MIBs that can be retrieved from both the CLI and an SNMP-enabled interface.
Table 7-18 lists the CLI commands used and the associated MIB information.
Note: For command output, commands that provide the option of displaying one record will show two
columns, with the first column listing the fieldnames and the second column listing the associated
values. When a command allows all records to be displayed, each record’s data will be contained in
one row. When a record exceeds an 80-column width, the data will wrap.
7.6.2 Access of MIB Statistics Using an SNMP Browser
With an appropriate v1/v2c browser and with the relevant MIBs loaded, these same MIB statistics can be
retrieved one at a time (using GET or GET-NEXT) or collectively (using GET-BULK). The following shows an
example, where the GET operation is used repeatedly to get output for the entire tcpConnEntry row.
tpConnState.0.0.0.0.23.0.0.0.0.0:-->listen(2)
tcpConnState.90.0.0.1.23.90.0.0.254.2526:-->established(5)
tcpConnLocalAddress.0.0.0.0.23.0.0.0.0.0:-->0.0.0.0
tcpConnLocalAddress.90.0.0.1.23.90.0.0.254.2526:-->90.0.0.1
tcpConnLocalPort.0.0.0.0.23.0.0.0.0.0:-->23
tcpConnLocalPort.90.0.0.1.23.90.0.0.254.2526:-->23
tcpConnRemAddress.0.0.0.0.23.0.0.0.0.0:-->0.0.0.0
tcpConnRemAddress.90.0.0.1.23.90.0.0.254.2526:-->254.0.0.90
tcpConnRemPort.0.0.0.0.23.0.0.0.0.0:-->0
tcpConnRemPort.90.0.0.1.23.90.0.0.254.2526:-->2526
TABLE 7-18 SNMP Statistics
Command MIB File SNMP MIB
SHOW IP ROUTE[={ipaddress-list|ALL}] ipRouteEntry rfc1213.mib
SHOW IP COUNTER={TCP|UDP|ICMP} tcp rfc1213.mib
SHOW IP CONNECTIONS [={TCP|UDP}] tcpConnEntry rfc1213.mib
SHOW IP COUNTER={TCP|UDP|ICMP} udp rfc1213.mib
SHOW IP CONNECTIONS [={UDP|TCP}] udpEntry rfc1213.mib
SHOW IP COUNTER={TCP|UDP|ICMP} icmp rfc1213.mib
SHOW
IP
[INTERFACE[={MGMT|type:id-range|if-
name-list|ALL}]][ FULL ]
ifEntry rfc1573.mib