snmp_host delete

Deletes an SNMP trap host entry from the Oracle FS System.

SYNOPSIS

snmp_host ‑delete 
   ‑id snmp‑host‑id‑or‑fqn [,snmp‑host‑id‑or‑fqn]...

   [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}]
   [{‑outputformat | ‑o} { text | xml }]
   [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}] 

DESCRIPTION

To stop sending SNMP traps to an SNMP trap host, or to disable the SNMP query host from issuing queries, run one of the following commands:
  • Run the snmp_host ‑modify ‑removeTrap ‑id snmp-host-fqn command to prevent traps from being sent to the specified host.

  • Run the snmp_host ‑delete ‑id snmp-host-fqn command to remove the host from the list of SNMP trap host entries.

To remove the host, provide the name of the SNMP trap or query host preceded by a forward slash ( / ) character. To obtain a list of SNMP host names, run the snmp_host ‑list command.
Note: Administrators with primary administrator or admin1 roles are authorized to run the snmp_host delete command.

OPTIONS

id

Specifies the unique ID or the name of an existing SNMP trap host. Include a forward slash ( / ) character before the name.

EXAMPLE

Task

Delete an SNMP trap or query host.

Parameters
  • The name of the SNMP trap or query host preceded by a forward slash ( / ): /⁠snmp_trap_server_1

$fscli snmp_host -delete -id /⁠snmp_trap_server_1