Configure Remote Syslog Receiver IP Addresses Using the CLI

Follow these steps to configure a remote syslog receiver IP address using the CLI.

What to Do

  1. Establish a local serial console connection or SSH connection to the server SP or CMM:

    • Local Serial Console Connection

      Attach a serial console to the serial port on the server or CMM.

      For more information, see Attach Serial Console to Chassis Monitoring Module or Attach Local Devices to a Sun Blade Server Module.

      or

    • Remote - Secure Shell (SSH) Connection

      From the remote client, establish a secure connection as root to the server SP or active CMM.

      For example, you can establish a secure connection from a remote SSH client to the server SP by typing the following:

      ssh -l root <server_ip_address>

      Password: changeme

    The default command prompt appears (->).

  2. Type one of the following command paths to set the working directory:

    • For a rackmount server SP: cd /SP/clients/syslog

    • For a blade server SP in chassis: cd /CH/BLn/SP/clients/syslog

    • For a CMM: cd /CMM/clients/syslog

  3. Type the show command to display the syslog properties.

    The properties appear.

    For example, accessing the syslog properties for the first time on an SP would appear as follows:

    /SP/clients/syslog

    Targets:

    Properties:

    destination_ip1 = 0.0.0.0

    destination_ip2 = 0.0.0.0

    Commands:

    cd

    set

    show

  4. Use the set command to identify a destination IP address for IP 1 (and, if applicable, IP2). For example to set an IP destination to IP address 11.222.33.4, you would type:

    set destination_ip1=111.222.33.4

  5. Press Enter for the setting to take effect.

    The results of setting the IP address appear. For example, if you set the destination IP address to 111.222.33.4, the following would appear:

    Set ‘destination_ip1’ to ‘111.222.33.4’