Configure routing table logging
Applies to: Exchange Server 2013
Topic Last Modified: 2013-02-22
Routing table logging periodically records a snapshot of the routing table used by Microsoft Exchange Server 2013 to route messages to their destinations.
Estimated time to complete: 15 minutes
You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Transport service" and "Edge Transport server" entries in the Mail flow permissions topic.
You can only use the Shell to perform this procedure.
To configure the time interval for automatic recalculation of the routing table, you modify the EdgeTransport.exe.config XML application configuration file. Changes you save to this file are applied after you restart the Microsoft Exchange Transport service. When you restart this service, mail flow on the server is temporarily interrupted.
Any customized per-server settings you make in Exchange XML application configuration files, for example, web.config files on Client Access servers or the EdgeTransport.exe.config file on Mailbox servers, will be overwritten when you install an Exchange Cumulative Update (CU). Make sure that you save this information so you can easily re-configure your server after the install. You must re-configure these settings after you install an Exchange CU.
For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.
Run the following command:
Set-TransportService <ServerIdentity> -RoutingTableLogMaxAge <dd.hh:mm:ss> -RoutingTableLogMaxDirectorySize <Size> -RoutingTableLogPath <LocalFilePath>
This example sets the following routing table log settings on the Mailbox server named Mailbox01:
Sets the location of the routing table log files to D:\Routing Table Log. Note that if the folder doesn't exist, it will be created for you.
Sets the maximum size of the routing table log folder to 70 MB.
Sets the maximum age of a routing table log file to 45 days.
Set-TransportService Mailbox01 -RoutingTableLogPath "D:\Routing Table Log" -RoutingTableLogMaxDirectorySize 70MB -RoutingTableLogMaxAge 45.00:00:00
Setting the RoutingTableLogMaxAge parameter to the value |
In a Command prompt window, open the EdgeTransport.exe.config application configuration file in Notepad by running the following command:
Modify the following key in the
<add key="RoutingConfigReloadInterval" value="<hh:mm:ss>" />
For example, to change the interval for automatic recalculation of the routing table to 10 hours, use the following value:
<add key="RoutingConfigReloadInterval" value="10:00:00" />
When you are finished, save and close the EdgeTransport.exe.config file.
Restart the Microsoft Exchange Transport service by running the following command:
net stop MSExchangeTransport && net start MSExchangeTransport
To verify that you have successfully configured the interval for the automatic recalculation of the routing table, verify the routing table log is updated during the time interval you specified.
Note that the routing table will be recalculated and logged earlier than the value specified by the RoutingConfigReloadInterval key if any of the following conditions occur:
A routing configuration change is detected. For example, a Send connector or a Receive connector is added, removed, or modified, or the 6 hour Kerberos token renewal occurs.
The Microsoft Exchange Transport service is started.