We recommend that all platforms in a routing matrix use the same configuration, which implies that you include system logging configuration statements on the TX Matrix platform only. In rare circumstances, however, you might choose to log different messages on different platforms. For example, if one platform in the routing matrix is experiencing problems with authentication, a Juniper Networks support representative might instruct you to log messages from the authorization facility with severity debug on that platform.
To configure platforms separately, include configuration statements in the appropriate groups at the [edit groups] hierarchy level on the TX Matrix platform:
When you use configuration groups, do not issue CLI configuration-mode commands to change statements at the [edit system syslog] hierarchy level on the TX Matrix platform. If you do, the resulting statements overwrite the statements defined in configuration groups and apply to the T640 routing nodes also. (We further recommend that you do not issue CLI configuration-mode commands on the T640 routing nodes at any time.)
For more information about the configuration groups for a routing matrix, see the chapter about configuration groups in the JUNOS CLI User Guide.
The following example shows how to configure the /var/log/messages files on three platforms to include
different sets of messages:
- [edit groups]
- re0 {
-
- system {
-
- syslog {
-
- file messages {
- any info;
- }
-
- host scc-master {
- any none;
- }
- }
- }
- }
- re1 {
- ... same statements as for re0 ...
- }
- lcc0-re0 {
-
- system {
-
- syslog {
-
- file messages {
- authorization info;
- }
- }
- }
- }
- lcc0-re1 {
- ... same statements as for lcc0-re0
...
- }
- lcc1-re0 {
-
- system {
-
- syslog {
-
- file messages {
- any notice;
- }
- }
- }
- }
- lcc0-re1 {
- ... same statements as for lcc1-re0
...
- }