Monitoring Network Reachability by Using the MPLS Ping Capability
In IP networks, you can use the ping
and traceroute
commands to verify network connectivity and find
broken links or loops. In an MPLS-enabled network, you can use the mpls ping
and trace mpls
commands to detect plane
failures in different types of MPLS applications and network topologies.
To perform an MPLS ping operation:
- From the View selector, select Service View. The functionalities that you can configure in this view are displayed on the View pane in the GUI window.
- Click the Monitor mode icon in the Service View on the Connectivity Services Director banner. The workspaces that are applicable to this mode are displayed in the GUI window.
- On the Service View pane, on the left, click the plus sign (+) next to Network Services to expand the tree and display the different service types that you can configure.
- Click the plus sign (+) beside Connectivity to view services
based on protocols.
Expand the E-Line Services tree to select an E-Line service.
Expand the E-LAN Services tree to select an E-LAN service.
- From the Tasks pane, select MPLS Ping.
The MPLS Ping Service Type - Service Name window appears.
Note:A warning message is displayed in the window stating that the MPLS echo request to the device might be timed out if the response is delayed from the device.
Note:MPLS ping is supported only from managed endpoints to unmanaged endpoints. Therefore, unmanaged endpoints are not listed in the Source column.
For a BGP-based E-Line service, with one endpoint as an unmanaged device, the MPLS ping utility is not supported because the remote site ID of the unmanaged device is not available as part of the service configuration. The remote site ID is required for MPLS ping from a managed to an unmanaged endpoint.
- In the Endpoint Device section, do the following:
The source device sends an MPLS echo request packet to the specified IP or IPv6 address or, alternatively, sends MPLS echo packets to the egress node in a point-to-multipoint LSP. The MPLS echo request packets and echo reply packets created by this command use the LDP IPv4 LSP sub-TLV described in RFC 4379—Detecting Multi-Protocol Label Switched (MPLS) Data Plane Failures (February 2006).
- From the Source Device list, select the source device, whose IP address is to be used as the packet source address.
- From the Destination Device list, select the target endpoint, whose IP address is used as the target IP address for MPLS ping packets or echo requests.
- On the Advance Options list, do the following:
In the Ping count (packets) field, enter the number of packets to send to the destination address, in the range 0–4294967295. The default value is 5 and 0 (zero) means ping forever.
In the Ping size (bytes) field, specify the number of bytes comprising the MPLS packet, including the header, in the range 0–64000. The default value is 100 bytes.
In the Forwarding Class field, specify the value of the forwarding class for the MPLS ping packets.
In the Sweep field, configure the payload size, which enables you to vary the sizes of the echo packets being sent. This capability is useful for determining the minimum sizes of the MTUs configured on the nodes along the path to the destination address. This reduces packet fragmentation, which contributes to performance problems. The default is not to sweep; all packets are of the same size.
From the Reply Mode field, select the reply mode for the echo request packet:
IP-UDP—Specifies that the echo request packet is an IPv4 UDP packet
Application Level Control Channel—Specifies that the echo request packet is replied using the application-level control channel connection.
- From the Format list, select XML to display the result or the response of the MPLS ping operation in XML format. Alternatively, select ASCII to display the output in the format in which it is displayed on the CLI. The Junos XML API is an XML representation of Junos configuration statements and operational mode commands. Junos XML configuration tag elements are the contents to which the Junos XML protocol operations apply. Junos XML operational tag elements are equivalent in function to operational mode commands on the CLI, which administrators use to retrieve status information for a device.
- Click Ping to start the ping operation and
to send the MPLS echo requests from the source to the destination
device.
The results of the ping operation are displayed in the Response Console pane at the bottom of the MPLS Ping Service Type - Service Name window.