[j-nsp] can i see bgp looped AS PATH prefixes on the receiving router

Aaron Gould aaron1 at gvtc.com
Fri Jun 16 08:15:10 EDT 2017


I'm able to use traceoptions to see prefixes that have an AS PATH with a
looped AS, but Is there a way to see these prefixes that are being rcv'd as
loop detected with a cli show command ?

 

Jun 16 11:41:25.766030 BGP RECV 10.0.2.9+53391 -> 10.0.2.10+179

Jun 16 11:41:25.766076 BGP RECV message type 2 (Update) length 69

Jun 16 11:41:25.766097 BGP RECV Update PDU length 69

Jun 16 11:41:25.766120 BGP RECV flags 0x40 code Origin(1): IGP

Jun 16 11:41:25.766152 BGP RECV flags 0x40 code ASPath(2) length 10: (65001
65000)

Jun 16 11:41:25.766179 BGP RECV flags 0x40 code NextHop(3): 10.0.6.1

Jun 16 11:41:25.766200 BGP RECV flags 0x40 code LocalPref(5): 101

Jun 16 11:41:25.766222 BGP RECV flags 0xc0 code Communities(8): 65535:65281

Jun 16 11:41:25.766539 BGP RECV         192.168.10.0/24 , 192.168.100.0/24

 

Jun 16 11:41:25.766640 As loop detected. Rejecting update

 

Jun 16 11:41:25.766700 bgp_rcv_nlri: 192.168.10.0/24

Jun 16 11:41:25.766733 bgp_rcv_nlri: Uninstalling 192.168.10.0/24: route
entry not found

Jun 16 11:41:25.766759 bgp_rcv_nlri: 192.168.100.0/24

Jun 16 11:41:25.766788 bgp_rcv_nlri: Uninstalling 192.168.100.0/24: route
entry not found

Jun 16 11:41:25.766828

Jun 16 11:41:25.766828 BGP RECV 10.0.2.9+53391 -> 10.0.2.10+179

Jun 16 11:41:25.766862 BGP RECV message type 2 (Update) length 58

Jun 16 11:41:25.766882 BGP RECV Update PDU length 58

Jun 16 11:41:25.766904 BGP RECV flags 0x40 code Origin(1): IGP

Jun 16 11:41:25.766933 BGP RECV flags 0x40 code ASPath(2) length 10: (65001
65000)

Jun 16 11:41:25.766959 BGP RECV flags 0x40 code NextHop(3): 10.0.2.2

Jun 16 11:41:25.766979 BGP RECV flags 0x40 code LocalPref(5): 100

Jun 16 11:41:25.767007 BGP RECV         192.168.30.0/24

 

Jun 16 11:41:25.767042 As loop detected. Rejecting update

 

Jun 16 11:41:25.767081 bgp_rcv_nlri: 192.168.30.0/24

Jun 16 11:41:25.767109 bgp_rcv_nlri: Uninstalling 192.168.30.0/24: route
entry not found

Jun 16 11:41:25.767144

Jun 16 11:41:25.767144 BGP RECV 10.0.2.9+53391 -> 10.0.2.10+179

Jun 16 11:41:25.767177 BGP RECV message type 2 (Update) length 23

Jun 16 11:41:25.767197 BGP RECV End of RIB: AFI 1 SAFI 1

Jun 16 11:41:25.767236 rt_close: 4 routes proto BGP_65001.10.0.2.9+53391

Jun 16 11:41:25.767236

Jun 16 11:41:25.767278 bgp_read_v4_message: done with 10.0.2.9 (External AS
65001) received 258 octets 5 updates 5 routes

Jun 16 11:41:25.767533 bgp_flash_cb: rtt (null)(0x2a5c000) rib=0 flash
type=1 cb target=group my-cbgp type External

Jun 16 11:41:25.768970 bgp_flash_cb: rtt (null)(0x2a5c000) rib=0 flash
type=1 cb target=group my-cbgp type External

 

- Aaron Gould



More information about the juniper-nsp mailing list