Smarts IP: How do I remove an IP address from the SNMP AgentAddressList of a device?
search cancel

Smarts IP: How do I remove an IP address from the SNMP AgentAddressList of a device?

book

Article ID: 327656

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How do I remove an IP address from the SNMP AgentAddressList of a device in Smarts IP Availability Manager (AM) or Performance Manager (PM)?



To permanently remove unwanted IP addresses from the SNMP AgentAddressList for a device in the Smarts IP topology, you must modify the SNMP agent configuration in the agent device OS and change the configuration of the AgentAddressList there. The following sections present the Smarts dmctl commands you can use to view and temporarily remove an IP address from the Smarts IP SNMP AgentAddressList. The change is temporary because a rediscovery of the device in Smarts IP will re-populate the removed IP addresses again in the Smarts IP AgentAddressList.

To remove an IP address temporarily from the Smarts IP SNMP AgentAddressList, do the following:

  1. Identify the IP address you want to remove from the SNMP agent. To view the IP addresses on Smarts IP SNMP Agent address list, run the following dmctl command:

    dmctl -s <domain> get SNMPAgent::<SNMP Agent Name>::AgentAddressList

     
  2. Remove the IP address from the device SNMP agent. To remove an IP address from the device agent found in the preceding "get" command, run the following dmctl command:

    dmctl -s <domain> invoke IP::IP-x.x.x.x remove

    Where x.x.x.x is the IP address to be removed.

     
  3. Update the Smarts IP SNMPAgentAddressList. This update will remove the IP addresses from the Smarts IP SNMPAgentAddressList that were removed from the device SNMP agent in the preceding command (until another Smarts IP discovery is run on the device). To do this, run the following dmctl command:

    dmctl -s <domain> invoke SNMPAgent::<SNMP Agent Name> updateAgentAddressList