LDP treetrace works best with label-IP (lbl-ip) hashing enabled, rather than label-only (lbl-only) hashing. These options are set with the lsr-load-balancing command. For information on the lsr-load-balancing command, refer to the 7705 SAR Basic System Configuration Guide, ‟System Command Reference” and the 7705 SAR Router Configuration Guide, ‟IP Router Command Reference”.
ldp-treetrace prefix ip-prefix/mask [max-ttl max-label-ttl] [max-path max-paths] [timeout timeout] [retry-count retry-count] [fc fc-name [profile {in | out}]] [downstream-map-tlv {dsmap | ddmap}]
oam
This command configures LDP treetrace parameters in order to perform OAM manual treetrace tests on demand. Treetrace tests are used to discover all possible ECMP paths of an LSP.
the address prefix and subnet mask of the destination node
the maximum time-to-live value in the MPLS label for the LSP trace test, expressed as a decimal integer
the maximum number of paths for an LDP treetrace test
the maximum amount of time, in seconds, that the router will wait for a message reply after sending the message request. The timeout parameter overrides the default timeout value. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded.
the maximum number of consecutive MPLS echo requests that do not receive a reply before the trace operation fails for a given TTL
the forwarding class of the MPLS echo request packets. The actual forwarding class encoding is controlled by the network egress LSP-EXP mappings.
The LSP-EXP mappings on the receive network interface control the mapping back to the internal forwarding class used by the far-end 7705 SAR that receives the message request. The egress mappings of the egress network interface on the far-end 7705 SAR control the forwarding class markings on the return reply message.
The LSP-EXP mappings on the receive network interface control the mapping of the message reply at the originating 7705 SAR.
the profile state of the MPLS echo request encapsulation
specifies which format of the downstream mapping TLV to use in the LSP trace packet. Use dsmap for the original target FEC stack TLV for BGP-labeled IPv4/32 prefixes as defined in RFC 4379 or ddmap for the enhanced TLV format specified in RFC 6424. If this parameter is not set, the value will be inherited from the global downstream mapping TLV value.
[no] ldp-treetrace
config>test-oam
This command enables the context to configure LDP treetrace parameters in order to perform OAM manual treetrace tests. Treetrace commands at this level configure periodic proactive treetrace and set path discovery and path probing parameters.
fc fc-name [profile {in | out}]
no fc
config>test-oam>ldp-treetrace
This command configures forwarding class name and profile parameters. The parameters indicate the forwarding class of the MPLS echo request packets. The actual forwarding class encoding is controlled by the network egress LSP-EXP mappings. The LSP-EXP mappings on the receive network interface control the mapping back to the internal forwarding class used by the far-end 7705 SAR that receives the message request. The egress mappings of the egress network interface on the far-end 7705 SAR control the forwarding class markings on the return reply message.
The LSP-EXP mappings on the receive network interface control the mapping of the message reply at the originating 7705 SAR.
the forwarding class of the MPLS echo request packets.
the profile state of the MPLS echo request encapsulation
path-discovery
config>test-oam>ldp-treetrace
This command enables the context to configure path discovery parameters for ECMP paths of an LSP.
interval minutes
no interval
config>test-oam>ldp-treetrace>path-discovery
This command configures the time to wait before repeating the LDP tree auto-discovery process.
60
the number of minutes to wait before repeating the LDP tree auto-discovery process
max-path max-paths
no max-path
config>test-oam>ldp-treetrace>path-discovery
This command configures the maximum number of paths that can be discovered for a selected IP address FEC.
128
the maximum number of paths for the tree discovery
max-ttl ttl-value
no max-ttl
config>test-oam>ldp-treetrace>path-discovery
This command configures the maximum time-to-live value in the MPLS label for an LSP trace request during the tree discovery.
30
the maximum TTL value for an LSP trace request during the tree discovery
policy-statement policy-name [policy-name...(up to 5 max)]
no policy-statement
config>test-oam>ldp-treetrace>path-discovery
This command specifies policies to filter LDP imported address FECs.
no policy-statement
the route policy name to filter LDP imported address FECs. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. The specified policy names must already be defined.
retry-count retry-count
no retry-count
config>test-oam>ldp-treetrace>path-discovery
This command configures the maximum number of consecutive timeouts before the path probe fails.
3
the maximum number of timeouts
timeout timeout
no timeout
config>test-oam>ldp-treetrace>path-discovery
This command configures the maximum amount of time, in seconds, that the router will wait for a message reply after sending the message request. The timeout command overrides the default timeout value. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded.
30
the maximum amount of time that the router will wait for a message reply
path-probing
config>test-oam>ldp-treetrace
This command enables the context to configure path probing parameters for ECMP paths of an LSP.
interval minutes
no interval
config>test-oam>ldp-treetrace>path-probing
This command configures the time to wait before repeating a probe (ping) on an ECMP-discovered path of an LSP.
1
the number of minutes to wait between probing ECMP paths
retry-count retry-count
no retry-count
config>test-oam>ldp-treetrace>path-probing
This command configures the maximum number of consecutive timeouts before the path probe fails.
3
the maximum number of timeouts
timeout timeout
no timeout
config>test-oam>ldp-treetrace>path-probing
This command configures the maximum amount of time, in seconds, that the router will wait for a message reply after sending the message request. The timeout command overrides the default timeout value. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded.
1
the maximum amount of time that the router will wait for a message reply