79-26
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter79 Configuring SNMP
Monitoring SNMP
VLAN-only—SNMP uses logical statistics for ifInOctets and ifOutOctets.
The examples in Table 7 9-6 show the differences in SNMP traffic statistics. Example 1 shows the
difference in physical and logical output statistics for the show interface command and the show traffic
command. Example 2 shows output statistics for a VLAN-only interface for the show interface
command and the show traffic command. The example shows that the statistics are close to the output
that appears for the show traffic command.
Monitoring SNMP
NMSs are the PCs or workstations that you set up to monitor SNMP events and manage devices, such as
the ASA.You can monitor the health of a device from an NMS by polling required information from the
SNMP agent that has been set up on the device. Predefined events from the SNMP agent to the NMS
generate syslog messages. This section includes the following topics:
SNMP Syslog Messaging, page79-27
SNMP Monitoring, page 79-27
Table79-6 SNMP Traffic Statistics for Physical and VLAN Interfaces
Example 1 Example 2
hostname# show interface GigabitEthernet3/2
interface GigabitEthernet3/2
description fullt-mgmt
nameif mgmt
security-level 10
ip address 10.7.14.201 255.255.255.0
management-only
hostname# show traffic
(Condensed output)
Physical Statistics
GigabitEthernet3/2:
received (in 121.760 secs)
36 packets 3428 bytes
0 pkts/sec 28 bytes/sec
Logical Statistics
mgmt:
received (in 117.780 secs)
36 packets 2780 bytes
0 pkts/sec 23 bytes/sec
The following examples show the SNMP output statistics for the
management interface and the physical interface. The ifInOctets
value is close to the physical statistics output that appears in the
show traffic command output but not to the logical statistics
output.
ifIndex of the mgmt interface:
IF_MIB::ifDescr.6 = Adaptive Security Appliance ‘mgmt’
interface
ifInOctets that corresponds to the physical interface statistics:
IF-MIB::ifInOctets.6 = Counter32:3246
hostname# show interface GigabitEthernet0/0.100
interface GigabitEthernet0/0.100
vlan 100
nameif inside
security-level 100
ip address 10.7.1.101 255.255.255.0 standby
10.7.1.102
hostname# show traffic
inside
received (in 9921.450 secs)
1977 packets 126528 bytes
0 pkts/sec 12 bytes/sec
transmitted (in 9921.450 secs)
1978 packets 126556 bytes
0 pkts/sec 12 bytes/sec
ifIndex of VLAN inside:
IF-MIB::ifDescr.9 = Adaptive Security Appliance
‘inside’ interface
IF-MIB::ifInOctets.9 = Counter32: 126318