Description

This article describes the issue of traceroute and ping commands not supporting the Junos CLI pipe ( | ) feature.

Symptoms

  • CLI features, such as match and grep , which are used with pipe '|', are not supported for traceroute and ping commands. This is expected behavior.
  • CLI will still allow usage of these knobs; but they will not have any effect.
  • This was last tested with 11.4R2.

Solution


The grep command can be used with traceroute or ping via the router shell. The user can logon to the shell by using the start shell command.