| type=page |
| status=published |
| title=delete-network-listener |
| next=delete-node-config.html |
| prev=delete-module-config.html |
| ~~~~~~ |
| |
| = delete-network-listener |
| |
| [[delete-network-listener-1]][[GSRFM00098]][[delete-network-listener]] |
| |
| == delete-network-listener |
| |
| Removes a network listener |
| |
| [[sthref890]] |
| |
| === Synopsis |
| |
| [source] |
| ---- |
| asadmin [asadmin-options] delete-network-listener [--help] |
| [--target target] |
| listener-name |
| ---- |
| |
| [[sthref891]] |
| |
| === Description |
| |
| The `delete-network-listener` subcommand removes the specified network |
| listener. This subcommand is supported in remote mode only. |
| |
| [[sthref892]] |
| |
| === Options |
| |
| asadmin-options:: |
| Options for the `asadmin` utility. For information about these |
| options, see the link:asadmin.html#asadmin-1m[`asadmin`(1M)] help page. |
| `--help`:: |
| `-?`:: |
| Displays the help text for the subcommand. |
| `--target`:: |
| Deletes the network listener only from the specified target. Valid |
| values are as follows: |
| |
| `server`;; |
| Deletes the network listener from the default server instance. This |
| is the default value. |
| configuration-name;; |
| Deletes the network listener from the specified configuration. |
| cluster-name;; |
| Deletes the network listener from all server instances in the |
| specified cluster. |
| standalone-instance-name;; |
| Deletes the network listener from the specified standalone server |
| instance. |
| |
| [[sthref893]] |
| |
| === Operands |
| |
| listener-name:: |
| The name of the network listener to be deleted. |
| |
| [[sthref894]] |
| |
| === Examples |
| |
| [[GSRFM567]][[sthref895]] |
| |
| ==== Example 1 Deleting a Network Listener |
| |
| The following command deletes the network listener named |
| `sampleListener`: |
| |
| [source] |
| ---- |
| asadmin> delete-network-listener sampleListener |
| Command delete-network-listener executed successfully. |
| ---- |
| |
| [[sthref896]] |
| |
| === Exit Status |
| |
| 0:: |
| command executed successfully |
| 1:: |
| error in executing the command |
| |
| [[sthref897]] |
| |
| === See Also |
| |
| link:asadmin.html#asadmin-1m[`asadmin`(1M)] |
| |
| link:create-network-listener.html#create-network-listener-1[`create-network-listener`(1)], |
| link:list-network-listeners.html#list-network-listeners-1[`list-network-listeners`(1)] |
| |
| |