configure policy syslog

configure policy syslog [machine-readable machine_readable | extended-format extended_format | every-time every_time]

Description

Sets Syslog parameters for policy rules.

Syntax Description

syslog Sets Syslog parameters for policy rules.
machine-readable Sets whether hexadecimal or decimal format is used for Syslog messages.
machine_readable Sets whether hexadecimal or decimal format is used for Syslog messages: "enable" (= hexadecimal) or "disable" (= decimal). Default is disabled (decimal).
extended-format Sets whether extended format is used for Syslog messages.
extended_format Sets whether extended format is used for Syslog messages: "enable" (= extended) or "disable" (= not extended). Default is disabled (not extended).
every-time Sets whether Syslog messages are sent every time a rule is used (not just first time).
every_time Sets whether Syslog messages are sent every time a rule is used (not just first time): "disable" or "enable". Default is disabled.

Default

By default, Syslog messages are only sent on first use of a rule.

By default, extended-format and machine-readable are disabled (not extended and in decimal format).

Usage Guidelines

This command allows you to set parameters for Syslog messages that are sent when a policy rule is used when set up in the command configure policy rule profile_index [{app-signature group group name name} | ether ether | icmp6type icmp6type | icmptype icmptype | ip6dest ip6dest |ipdestsocket ipdestsocket | ipfrag | ipproto ipproto | ipsourcesocket ipsourcesocket | iptos iptos | ipttl ipttl | macdest macdest | macsource macsource | port port | tcpdestportIP tcpdestportIP | tcpsourceportIP tcpsourceportIP | udpdestportIP udpdestportIP | udpsourceportIP udpsourceportIP ] {mask mask } {port-string [ port_string | all]} {storage-type [non-volatile | volatile]} {drop | forward} {syslog syslog} {trap trap} {cos cos } {mirror-destination control_index} {clear-mirror} .

When Syslog messages are configured to be sent every time a rule is used, messages are sent at a maximum rate of once every five seconds.

To view the parameters configured by this command, use the command show policy syslog {machine-readable} {extended-format} {every-time}.

Example

The following example sets Syslog messages to be sent every time a rule is used:

#configure policy syslog every-time enable

History

This command was first available in ExtremeXOS 30.2.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.