206/461

## list-protocols

lists the existing protocols

Synopsis

    list-protocols [--help]
    [target]

Description

The `list-protocols` subcommand lists the existing protocols. This subcommand is supported in remote mode only.

Options

`--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.

Exit Status

0

  command executed successfully

1

  error in executing the command

See Also

create-protocol(1), delete-protocol(1)

asadmin(1M)