list-protocols

Lists the existing protocols.

Synopsis

asadmin [asadmin-options] list-protocols [--help]
[target]
shell

Description

The list-protocols subcommand lists the existing protocols.

This subcommand is supported in remote mode only.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

Operands

target

Restricts the listing to protocols for a specified target. Valid values are as follows:

server

Lists the protocols for the default server instance. This is the default value.

configuration-name

Lists the protocols for the specified configuration.

cluster-name

Lists the protocols for all server instances in the specified cluster.

instance-name

Lists the protocols for the specified server instance.

Examples

Example 1 Listing Protocols

The following command lists all the protocols for the server instance:

asadmin> list-protocols
admin-listener
http-1
http-listener-1
http-listener-2
Command list-protocols executed successfully.
shell

Exit Status

0

command executed successfully

1

error in executing the command

See Also