Print Download PDF Send Feedback

Previous

Next

Trace Options

The routing system can optionally log information about errors and events. Logging is configured for each protocol or globally. Logging is not generally turned on during normal operations, as it can decrease performance. Log messages are saved in the /var/log/routed.log.* files.

For detailed example instructions, see these procedures:

Configuring Trace Options - Gaia Portal

To enable Trace options:

  1. In the tree view, click Advanced Routing > Routing Options.
  2. Click the Configuration tab.
  3. In the Trace Options section, configure:
    • Maximum Trace File Size - enter a value between 1 to 2047 MB (the default is 1)

      Note - When the trace file reaches the specified size, it is renamed to file.0, then file.1, file.2.

    • Number of Trace Files - enter a number between 1 to 4294967295 (the default is 10)
    • Filter Visible Tables Below - select trace options tables - Show All, Global, BGP, Bootp / DHCP Relay, IPv6 DHCP Relay, ICMP, IGMP, IP Broadcast Helper, IP Reachability Detection, BFD, Kernel, MFC, OSPF, Policy Based Routing, PIM, RIP, Router Discovery, VRRP, IPv6 OSPF, IPv6 RIPng, IPv6 Router Discovery, IPv6 VRRP
    • In each trace options table, select options (to select multiple options, hold down Shift and click the options)
    • Click Add.
  4. Click Apply at the top of the page.

If you want to enable tracing of a specific routing option for all protocols, in the Global options table, select that option. If you want to enable tracing of all routing options for all protocols, in the Global options table, select All.

For an explanation of each trace option, see the Description of Trace Options.

You can see the most recent trace log messages in the /var/log/routed.log log file.

To monitor a Trace options:

  1. In the Monitoring tab of the Advanced Routing > Routing Options view, configure the Number of lines that you want to show at the end (the "tail") of the log file -minimum is 5, maximum is 100.
  2. Click Get Tail.

    The log messages show.

Configuring Trace Options - Gaia Clish

Before you configure the routing trace options, you can configure the log file size and the maximal number of log files.

To configure the log file options:

Run these commands:

set tracefile maxnum {<num> | default}

set tracefile size {<size_MB> | default}}

Parameter

Description

maxnum {<num> | default}

Maximal number of log files - a number between
1 and 4294967295. The default number is 10.

size {<size_MB> | default}

Maximal size of the log file, in MB - a number between
1 and 4095. The default size is 1 MB.

To configure the routing trace options:

Run this command:

set trace {bfd | bgp | bootp | cluster | dhcp6relay | global | icmp | igmp | ip-reachability-detection | iphelper | kernel | mfc | ospf | ospf3 | pbr | pim | rip | ripng | router-discovery | router-discovery6 | vrrp | vrrp6} <protocol-specific event option> {on | off}

To configure the protocol-specific event options:

Notes: