8-47
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Chapter 8 Configuring SNMP
Example of an SNMP Configuration
Note
The ACE updates the counters that the
show service-policy
command displays
after the applicable connections are closed.
For example, to display service policy statistics for the
SNMP_MGMT_ALLOW_POLICY policy map, enter:
host1/Admin#
show service-policy SNMP_MGMT_ALLOW_POLICY
Status : ACTIVE
Description: Allow mgmt protocols
-----------------------------------------
Context Global Policy:
service-policy: SNMP_MGMT_ALLOW_POLICY
To clear the service policy statistics, use the
clear service-policy
command. The
syntax of this command is as follows:
clear service-policy
policy_name
For the
policy_name
argument, enter the identifier of an existing policy map that
is currently in service (applied to an interface).
For example, to clear the statistics for the policy map
SNMP_MGMT_ALLOW_POLICY that is currently in service, enter:
host1/Admin#
clear service-policy SNMP_MGMT_ALLOW_POLICY
Example of an SNMP Configuration
The following example illustrates a running-configuration that verifies the current
status of a real server through SNMP and the CLI. It also verifies that SNMP traps
are sent when a real server or virtual server is not operational. This example
illustrates that you can restrict the client source host IP address allowed to
connect to the ACE. The policy map is applied to all of the VLAN interfaces
associated with the context. The SNMP configuration appears in bold in the
example.
access-list ACL1 line 10 extended permit ip any any
rserver host SERVER1
ip address 192.168.252.245
inservice
rserver host SERVER2