syslog

syslog facilities

  • auth, a.k.a. security
  • authpriv
  • cron
  • daemon
  • kern
  • lrp
  • mail
  • mark
  • news
  • security
  • syslog
  • user
  • uucp
  • local0 to local7

syslog priorities

A list of syslog priorities, sorted by importance, ascending:

  1. debug
  2. info
  3. notice
  4. warning (previously warn, now deprecated)
  5. err (previously error, now deprecated)
  6. crit
  7. alert
  8. emerg (previously panic, now deprecated)

Send test message to remote syslog server

echo '<12>sourcehost message text' | nc -v -u -w 0 12.34.56.78 514

Source

procmail

Procmail Recipes Syntax

Very briefly:

  • A line starting with :0 denotes the beginning of a new recipe.
  • A line starting with * denotes the definition of a condition inside a recipe.
  • The last line of a recipe is the action. Action lines can begin with:

    • / in which case the email is appended to a text file, mbox-style.
    • | in which case the email is piped to a script for further handling.
    • ! [email protected] in which case the email is forwarded to the email address defined after the !.
    • { which denotes the beginning of a nested recipe.

crontab

crontab can refer to two things:

  1. File /etc/crontab.
  2. Command crontab.

dhcrelay

dhcrelay acts as a proxy between DHCP clients and a DHCP server, when those are separated by a router, which by default blocks broadcasted DHCP requests. It makes sense to install this on a router between two subnets, only one of which has a DHCP server, or on a relay system, again between two subnets.

Cisco: clock

With clock you can set the current time and date on a Cisco device. For example:

clock set 20:08:56 Sept 21 2010

The generic syntax of the command is:

clock set hh:mm:ss MONTH <0-31> YYYY

...where:

  • hh is the hour,
  • mm are the minutes,
  • ss are the seconds,
  • MONTH is the month,
  • <0-31> is the date, an integer between 0 and 31, and
  • YYYY is the year.

Note that the month and date are also acceptable in the reverse order, for example:

clock set 20:08:56 21 Sept 2010

alias (Cisco command)

Example:

cisco(config)#alias exec save copy running-config startup-config

The example above will make the word save an alias of the longer command copy running-config startup-config. The general form of the command is:

alias MODE ALIAS COMMAND

Cisco: banner motd

With banner motd you can define a message that will be displayed to the user when she connects to the device in any way (both to VTY and to console lines). The difference of this command with banner login is that the message defined with banner login will only display on connections to VTY lines.

See Also

Cisco: banner login

With banner login you can set a message that will be displayed to the user when she connects to a VTY line.

See also banner motd.

Cisco: show port-security

show port-security displays a table with brief information on the status of all ports on which port-security rules have been configured.

Citrix XenServer 6.2

Deprecated Features

Installation Guide

See also

  • xvpsource, a cross-platform VNC-based and Web-based Management for Citrix XenServer and Xen Cloud Platform. This, according to Citrix, can replace the Web Self Service feature that was removed in XenServer 6.2.
About

Hello, I'm Marios Zindilis and this is my website. Opinions are my own. You also find me on LinkedIn and GitHub.

Unless otherwise specified, content is licensed under CC0.

Search