Technical data
Using Technician Interface Software
C-26
303561-A Rev 00
Example Syslog Configuration
The following is an example of a Syslog configuration procedure when:
• Your management workstation has an IP address of 192.32.6.14.
• You want to receive at your management workstation messages for all
software entities running on a particular Bay Networks router. (This is a
wildcard configuration scenario.)
• You want to create and enable Syslog on a model BLN router.
• You want to capture all fault, warning, and debug level messages from the
router.
• You want to capture only messages logged on slots 2 to 4 of the router.
Proceed as follows:
1.
Define a slot mask for Syslog on the router:
$: set wfProtocols.wfSYSLLoad.0 0x7FFE0000;commit
The hexadecimal number 7FFE0000 converts to the binary number
0111 1111 1111 1110 0000 0000 0000 0000. The most significant bit
position of the binary number represents slot 1. The bit positions in
descending order of significance represent slots 2, 3, 4, and so on.
2.
Create the Syslog base record on the router:
$: set wfSyslog.1.0 1;commit
3.
Create a host record for 192.32.6.14:
$: set wfSyslogHostTable.wfSyslogHostEntry.1.192.32.6.14 1;commit
Note:
When you create a host record, the log facility defaults to a value of 184
(Local7).