11-7
Cisco Broadband Access Center 3.8 Administrator Guide
OL-27172-01
Chapter 11 Monitoring Cisco Broadband Access Center
Monitoring Servers by Using SNMP
Note The default port number of an SNMP agent is 8001.
You can use the snmpAgentCfgUtil.sh tool for:
• Adding a Host, page 11-7
• Deleting a Host, page 11-7
• Adding an SNMP Agent Community, page 11-8
• Deleting an SNMP Agent Community, page 11-9
• Starting the SNMP Agent, page 11-9
• Stopping the SNMP Agent, page 11-9
• Changing the SNMP Agent Location, page 11-10
• Setting Up SNMP Contacts, page 11-10
• Displaying SNMP Agent Settings, page 11-11
Adding a Host
You use this command to add the host address to the list of hosts that receive SNMP notifications from
the SNMP agent.
Syntax Description
snmpAgentCfgUtil.sh add host host-addr community community [udp-port port]
• host-addr—Specifies the IP address of the host that you want to add to the list of hosts.
• community—Specifies the community (read or write) to use while sending SNMP notifications.
• port—Identifies the UDP port used for sending the SNMP notifications.
Examples
# ./snmpAgentCfgUtil.sh add host test.cisco.com community trapCommunity udp-port 162
OK
Please restart [stop and start] SNMP agent.
Note The changes that you introduce through this command do not take effect until you restart the
SNMP agent by using the /etc/init.d/bprAgent restart snmpAgent command. For detailed
information, see Cisco BAC Process Watchdog, page 9-1.
Deleting a Host
You use this command to remove a host from the list of those receiving SNMP notifications from the
SNMP agent.
Syntax Description
snmpAgentCfgUtil.sh delete host host-addr
host-addr—Specifies the IP address of the host that you want to delete from the list of hosts.