The first time that you log in to the web-based utility of your switch, you have to use Traceroute as a diagnostic tool that is used to determine which path IP packets take to get to a remote destination. This can be used to troubleshoot a problem that has occurred across a network connection. Traceroute operates through the use of three User Datagram Protocol (UDP) datagrams with Time to Live (TTL) values. TTL is a mechanism that limits the lifespan of data in a network. Every time a packet is sent to a router, the TTL value decrements by one. Once the TTL value reaches 0, the router responds with an Internet Control Message Protocol (ICMP) Time Exceeded Message (TEM) which indicates that the datagram has expired.
At first, traceroute sends three UDP datagrams to the first router with TTL values of one. The first router responds with a ICMP TEM message which provides information for the traceroute feature. Next, traceroute sends three more UDP datagrams with TTL values of two. The second router along the route responds with an ICMP TEM message. This process continues until either the destination is reached or the configured max TTL value is reached. Once the traceroute is complete, the information that regards the traceroute is displayed in the Traceroute Table.
This article provides instructions on how to activate traceroute configuration on your switch.
Traceroute discovers the IP routes along which packets forwarded by sending an IP packet to the target host and back to the device. The Traceroute page shows each hop between the device and a target host, and the round-trip time to each hop. To configure traceroute settings on your switch, follow these steps:
Step 1. Log in to the web-based utility of your switch then choose Advanced in the Display Mode drop-down list.
Note: In this example, SG350X-48MP switch is used.
Note: If you have an Sx300 or Sx500 Series switch, skip to Step 2.
Step 2. Choose Administration > Traceroute.
Step 3. Click the radio button that corresponds to the desired way the host will be defined in the Host Definition area.
The options are:
Note: In this example, By IP address is chosen.
Step 4. (Optional) If the chosen host is defined by an IP address in Step 3, click the radio button that corresponds to the desired IP version in the IP Version area.
The options are:
Note: In this example, Version 4 is chosen.
Step 5. Choose the source interface whose IPv4 address will be used as the source IPv4 address for communication messages. If the chosen Host Definition field was By Name, all IPv4 and IPv6 addresses will be displayed in this drop-down field. If the chosen Host Definition field was By IP Address, only the existing IP addresses of the type specified in the IP Version field will be displayed.
Note: Alternatively, you can choose Auto to allow the switch to automatically choose the Source interface. In this example, 192.168.1.119(VLAN1) is chosen.
Step 6. Enter the host address or name of the destination host in the Host IP Address/Name field.
Note: In this example, 192.168.1.1 is used.
Step 7. Click the radio button that corresponds to the desired TTL. This is used to prevent datagrams from looping endlessly.
Note: In this example, Use Default is chosen.
Step 8. Click the radio button that corresponds to the desired Timeout value. The timeout value is the time that the switch will wait for a frame to return before it declares that the frame is lost.
Note: In this example, User Defined is chosen with 4 seconds Timeout value.
Step 9. Click Activate Traceroute to run traceroute.
The Traceroute page will display the status of the concluded traceroute in the Status area. In this example, the status is Traceroute Complete.
The Traceroute Table displays the following information:
Step 10. (Optional) Click Back to return to the previous Traceroute page.
You should now have successfully activated traceroute configuration on your switch.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
10-Dec-2018 |
Initial Release |