Directing Messages to a Remote Destination from the Routing Matrix
You can configure a routing matrix to direct system logging messages to a remote machine or the other Routing Engine on each routing platform, just as on a single-chassis system. Include the
hoststatement at the[edit system syslog]hierarchy level on the TX Matrix platform:[edit system syslog]host (hostname| other-routing-engine) {facility severity;explicit-priority;facility-overridefacility;log-prefixstring;match "regular-expression";}source-addresssource-address;The TX Matrix platform directs messages to a remote machine or the other Routing Engine in the same way as a single-chassis system, and the optional statements (
explicit-priority,facility-override,log-prefix,match, andsource-address) also have the same effect as on a single-chassis system. For more information, see Directing Messages to a Remote Machine or the Other Routing Engine.For the TX Matrix platform to include priority information when it directs messages that originated on a T640 routing node to the remote destination, you must also include the
explicit-prioritystatement at the[edit system syslog host scc-master]hierarchy level.The
other-routing-enginestatement does not interact with message forwarding from the T640 routing nodes to the TX Matrix platform. For example, if you include the statement in the configuration for the Routing Engine in slot 0 (re0), there0Routing Engine on each T640 routing node sends messages to there1Routing Engine on its platform only. It does not also send messages directly to there1Routing Engine on the TX Matrix platform.Because the configuration on the TX Matrix platform applies to the T640 routing nodes, any T640 routing node that has interfaces for direct access to the Internet also directs messages to the remote machine. The consequences include the following:
- If the T640 routing nodes are configured to forward messages to the TX Matrix platform (as in the default configuration), the remote machine receives two copies of some messages: one directly from the T640 routing node and the other from the TX Matrix platform. Which messages are duplicated depends on whether the severities are the same for local logging and for forwarded messages. For more information, see Configuring Message Forwarding in the Routing Matrix.
- If the
source-addressstatement is configured at the[edit system syslog]hierarchy level, all platforms in the routing matrix use the same source address for messages directed to the remote machine. This is appropriate, as the routing matrix is intended to function as a single routing platform.- If the
log-prefixstatement is included, the messages from all platforms in the routing matrix include the same string. You cannot use the string to distinguish between the platforms in the routing matrix.