Ajouter/Supprimer un serveur syslog à un F5 BigIP

BIG-IP versions 10.x

In BIG-IP version 10.0.x, you must use the bigpipe syslog command to create custom syslog configurations. For BIG-IP version 10.1.0 through 10.2.2, you can use the tmsh command or the bigpipe syslog command to create customsyslog configurations.

Adding a remote syslog server using the tmsh command

To configure the BIG-IP system to send all messages to a remote server using the tmsh command for versions 10.1.0 through 10.2.2, perform the following procedure:

  1. Log in to the command line.
  2. To add a single remote syslog server, use the following command syntax: tmsh modify sys syslog remote-servers add {{host XXXXX remote-port XXXXX}}
  3. For example:

    tmsh modify sys syslog remote-servers add {server1.net {host 192.168.1.15 remote-port 514 }}

    To add multiple remote syslog servers, use the following command syntax: tmsh modify sys syslog remote-servers add {{host XXX remote-port XXXX}{host XXXXX remote-port XXXXXX}}

    For example:

    tmsh modify sys syslog remote-servers add {server1.net {host 192.168.1.15 remote-port 514} server2.net {host 192.168.1.20 remote-port 514}}

  4. To save the configuration, type the following command:tmsh save sys config

Remove a remote syslog server using the tmsh command

To configure the BIG-IP system to send all messages to a remote server using the tmsh command for versions 10.1.0 through 10.2.2, perform the following procedure:

  1. Log in to the command line.
  2. To add a single remote syslog server, use the following command syntax: tmsh modify sys syslog remote-servers delete {name}
  3. For example:

    tmsh modify sys syslog remote-servers delete {server1.net}

    To add multiple remote syslog servers, use the following command syntax: tmsh modify sys syslog remote-servers delete {name}{name}

    For example:

    tmsh modify sys syslog remote-servers add {server1.net} {server2.net}

  4. To save the configuration, type the following command:tmsh save sys config

Laisser un commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

Logo WordPress.com

Vous commentez à l'aide de votre compte WordPress.com. Déconnexion / Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion / Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion / Changer )

Photo Google+

Vous commentez à l'aide de votre compte Google+. Déconnexion / Changer )

Connexion à %s