cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1343
Views
0
Helpful
2
Replies

tracert command

bapatsubodh
Level 1
Level 1

Hi,

Do we option in tracert ( or any other command on cisco router or command prompt of windows machine or on any unix based machine ) which will tell us the entering interface of hop device and also the exit interface or the devce.

Thanks

Subodh

2 Replies 2

Anand Narayana
Level 6
Level 6

hi bapat,

traceroute in cisco switch/routers.

m.sir
Level 7
Level 7

From windows, Cisco or Linux machine for entering interface you can use tracert(trace) or pathping (on Windows)

tracert target_IP

pathping target_IP

For exit interface its more difficult you can use ping with record route option (on Windows)h

ping -n 1 -r 9 target_IP

n means number of packets, r means record route option , 9 is maximum number for record route...

Record-route uses Option field in IP packet header to record outgoing router interface. Record-route has limited value because space allocated for optios in IP header is only 9..

Also traffic for record route must be permited

ACL should looks like this

permit ip any any option record-route

M.

Hope that helps rate if it does