Cisco Cisco Broadband Access Center for Cable 4.1
8-31
Cisco Broadband Access Center for Cable Administrator’s Guide
OL-2445-02
Chapter 8 Broadband Access Center for Cable Support Tools and Advanced Concepts
Using the rduSnmpAgent.sh Command
•
•
Adding a Host to the RDU SNMP Agent
This command adds the host address to the list of hosts that receive SNMP traps from the RDU SNMP
agent.
agent.
Syntax Description
To add a host:
> rduSnmpAgent.sh
add host <host-addr> community <community> [udp-port <port>]
Where:
•
<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 be used while sending SNMP traps
•
<port>—identifies the UDP port used for sending the SNMP traps
Examples
This example shows how to use the rduSnmpAgent.sh command to add a host:
> rduSnmpAgent.sh add host test.cisco.com community trapCommunity udp-port 162
OK
Please restart [stop and start] RDU SNMP agent.
Deleting a Host from the RDU SNMP Agent
You can remove a host from the list of those receiving SNMP traps from the RDU SNMP agent.
Syntax Description
To delete a host:
rduSnmpAgent.sh
delete host <host-addr>
Where:
•
<host-addr>—Specifies the IP address of the host that you want to delete from the list of hosts.
Examples
This example shows how to use the rduSnmpAgent.sh command to delete a host:
> ./rduSnmpAgent.sh delete host test.cisco.com
OK
Please restart [stop and start] RDU SNMP agent.
Adding an RDU SNMP Agent Community
You can add a SNMP community string to allow access to the RDU SNMP agent.