10.2 Viewing a List of Listeners

You can view a list of HTTP or TCP listeners by using either the administration console or the CLI.

Note:

The CLI examples in this section are shown in shell mode (tadm>). For information about invoking the CLI shell, see Section 2.3.1, "Accessing the Command-Line Interface."

Viewing a List of Listeners Using the Administration Console

To view a list of HTTP or TCP listeners by using the administration console, do the following:

  1. Log in to the administration console, as described in Section 2.3.2, "Accessing the Administration Console."

  2. Click the Configurations button that is situated at the upper left corner of the page.

    A list of the available configurations is displayed.

  3. Select the configuration for which you want to view HTTP or TCP listeners.

  4. In the navigation pane, expand Listeners, and select a listener.

    The Listeners page is displayed. It shows a list of the listeners defined for the configuration.

    Note:

    HTTP and TCP listeners can also be identified by their icons.

You can view the properties of a listener in detail by clicking on its name.

Viewing a List of Listeners Using the CLI

  • To view a list of HTTP listeners, run the list-http-listeners command, as shown in the following example:

    tadm> list-http-listeners --config=soa --verbose --all
    name          ip       port    ssl-enabled     default-virtual-server
    -----------------------------------------------------------------------
    listener-1    *        1904       false           vs1
    listener-2    *        80         false           vs1
    

    You can view the properties of an HTTP listener in detail by running the get-http-listener-prop command.

    For more information about the list-http-listeners and get-http-listener-prop commands, see the Oracle Traffic Director Command-Line Reference or run the commands with the --help option.

  • To view a list of TCP listeners, run the list-tcp-listeners command, as shown in the following example:

    tadm> list-tcp-listeners --config=soa --verbose --all
    name          ip         port            ssl-enabled             tcp-proxy-name
    ------------------------------------------------------------------------
    listener-1    *          9090         false                     tcp_proxy1
    listener-2    *          9092         false               tcp_proxy1
    

    You can view the properties of an TCP listener in detail by running the get-tcp-listener-prop command.

    For more information about the list-tcp-listeners and get-tcp-listener-prop commands, see the Oracle Traffic Director Command-Line Reference or run the commands with the --help option.