Configure the Default Ping and Traceroute Context

About this task

Ping commands and traceroute commands execute in Global Router (GRT) context by default. You can configure ping commands and traceroute commands to execute in management (mgmt) context or in Virtual Router Forwarding (vrf) context.

Note

Note

This procedure is not supported on VSP 8600 Series.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the default ping command and traceroute command context:

    sys default-ping-context {grt | mgmt | vrf}

Variable Definitions

The following table defines parameters for the sys default-ping-context command.

Note

Note

The sys default-ping-context command is not supported on VSP 8600 Series.
Variable Value
grt Specifies Global Routing Table (grt) context as the default context for ping commands and traceroute commands. The default configuration is grt as the default context.
mgmt Specifies management (mgmt) context as the default context for ping commands and traceroute commands. The default configuration is grt as the default context.
vrf Specifies Virtual Router Forwarding (vrf) context as the default context for ping commands and traceroute commands. The default configuration is grt as the default context.