Sets Syslog parameters for policy rules.
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. |
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).
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}.
The following example sets Syslog messages to be sent every time a rule is used:
#configure policy syslog every-time enable
This command was first available in ExtremeXOS 30.2.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.