To implement MTR, you must configure a interior gateway protocol (IGP) to route local network traffic. MTR supports both OSPFv2 and static routes. Only static routes support IPv6 addresses since MTR does not support OSPFv3. Configure OSPF to add routes from the default topology to the routing table for the specified topology. To enable OSPF for MTR, include the topology statement at the [edit protocols ospf] hierarchy level:
- [edit ospf protocols]
- topology voice { # Specify a topology name configured under
the [edit routing-options]
# hierarchy level.
- topology-id 127; # Specify a topology identifier from 32
through 127.
- }
Optionally, you can configure a specific metric for a topology for any interface on which OSPF has been enabled. Any topology-specific metric that you configure applies to routes advertised from that interface that belong only to that topology. To configure a topology-specific metric for an OSPF interface, include the following statements at the [edit protocols ospf] hierarchy level:
- [edit protocols ospf]
- area 0.0.0.0 {
-
- interface fe-2/2/1 {
- metric 10; # You can specify a metric for the interface
that overrides the default
# value of 1.
- }
-
- topology voice {
- metric 15; # Specify a topology-specific metric from 1
through 65,535.
- }
- }
- }