cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14256
Views
10
Helpful
3
Replies

BGP AS number in traceroute

csco10851021
Level 1
Level 1

I want to see BGP AS number in traceroute.

R1(AS100)------R2(AS200)-------R3(AS300)-------R4(AS400)

R1 is advertising 11.11.11.11/32

when i traceroute 11.11.11.11 from R4...i want  see BGP AS number in trace.what command should i use.

In the below output AS number is not showing.

R4#traceroute 11.11.11.11

Type escape sequence to abort.
Tracing the route to 11.11.11.11

  1 34.34.34.3 [MPLS: Label 25 Exp 0] 92 msec 96 msec 88 msec
  2 23.23.23.2 [MPLS: Label 19 Exp 0] 84 msec 80 msec 92 msec
  3 12.12.12.1 108 msec *  140 msec

/Ganpat

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

The traceroute will not show BGP AS numbers.  If you want to see the AS numbers in the path, use "show ip bgp" or "sh ip bgp 11.11.11.11"

HTH

i Have done traceroute one internet IP

R2#traceroute 209.58.46.13

Type escape sequence to abort.
Tracing the route to 209.58.46.13

  1 203.78.193.53 [AS 2914] 0 msec 4 msec 0 msec
  2 129.250.2.197 [AS 2914] [MPLS: Labels 444124/478146 Exp 0] 8 msec 12 msec 8 msec
  3 129.250.3.20 [AS 2914] [MPLS: Labels 701856/478146 Exp 0] 8 msec 8 msec 8 msec
  4 129.250.3.88 [AS 2914] [MPLS: Label 478146 Exp 0] 208 msec 212 msec 208 msec
  5 129.250.5.13 [AS 2914] 192 msec 196 msec 192 msec
  6 209.58.116.21 [AS 6453] 200 msec 196 msec 200 msec
  7 64.86.142.1 [AS 6453] 224 msec 216 msec 216 msec
  8 64.86.252.141 [AS 6453] 216 msec 216 msec 216 msec

here it showing BGP AS numbers.

Hi,

I believe those AS numbers are not coming within the ICMP TTL-expired packets.

They are probably just added by the Cisco router running BGP on which you issued the traceroute command.

It migh be just looking to its BGP table to find the originating AS number for each IP address of the devices replying to the traceroute packets.

HTH,

Milan

Review Cisco Networking for a $25 gift card