beautypg.com

5 traceroute, 6 traceroute6 – Accton Technology ES4626 User Manual

Page 55

background image

55

Configure the IP address, add SSH user and enable SSH service on the switch.

SSH2.0 client can log on the switch by using the username and password to configure

the switch.

Switch(Config)#interface vlan 1

Switch(Config-Vlan-1)#ip address 100.100.100.200 255.255.255.0

Switch(Config-Vlan-1)#exit

Switch(Config)#ssh-user test password 0 test

Switch(Config)#ssh-server enable

2.2.5 Traceroute

Trace route command is for testing the gateways through which the data packets

travels from the source device to the destination device, so to check the network

accessibility and locate the network failure.

Execution procedure of the Trace route command consists of: first a data packet with

TTL at 1 is sent to the destination address, if the first hop returns an ICMP error message

to inform this packet can not be sent (due to TTL timeout), a data packet with TTL at 2 will

be sent. Also the send hop may be a TTL timeout return, but the procedure will carries on

till the data packet is sent to its destination. These procedures is for recording every

source address which returned ICMP TTL timeout message, so to describe a path the IP

data packets traveled to reach the destination

2.2.6 Traceroute6

The Traceroute6 function is used on testing the gateways passed through by the

data packets from the source equipment to the destination equipment, to verify the

accessibility and locate the network failure. The principle of the Traceroute6 under IPv6 is

the same as that under IPv4, which adopts the hop limit field of the ICMPv6 and IPv6

header. First, Traceroute6 sends an IPv6 datagram (including source address,

destination address and packet sent time) whose HOPLIMIT is set to 1. When first route

on the path receives this datagram, it minus the HOPLIMIT by 1 and the HOPLIMIT is
now 0. So the router will discard this datagram and returns with a 「ICMPv6 time

exceeded」 message (including the source address of the IPv6 packet, all content in the

IPv6 packet and the IPv6 address of the router). Upon receiving this message, the

Traceroute6 sends another datagram of which the HOPLIMIT is increased to 2 so to

discover the second router. Plus 1 to the HOPLIMIT every time to discover another router,

the Traceroute6 repeat this action till certain datagram reaches the destination.

Traceroute6 Options and explanations of the parameters of the Traceroute6

This manual is related to the following products: