cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
430
Views
5
Helpful
6
Replies

bgp as show as a wired number

gbcbooksmj
Level 1
Level 1

check below .

why neighbor as number show like that ? 

6 Replies 6

SOHAN HEGDE
Level 1
Level 1

Hello,

You must be using command "bgp asnotation dot" under BGP configuration

router bgp 1
 bgp asnotation dot

Cisco router allows us  to use ASPLAIN or ASDOT notation.Default is ASPLAIN notation. in your case it is ASDOT notation activated. it is a just representation.

Please Rate the post is it if helful

what is its profit ? 

can we translate it to original ? 

Hello,

I wont recommend this if it is production. as there could be filter list set with decimal.

However, if it is not in production you can use "no bgp asnotation dot"

R6#sh ip bgp su
BGP router identifier 11.11.11.11, local AS number 1
BGP table version is 1, main routing table version 1

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
22.22.22.22     4          4.9       0       0        1    0    0 never    Idle
55.55.55.55     4       2.4319       0       0        1    0    0 never    Idle
R6#
R6#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R6(config)#router bgp 1
R6(config-router)#no bgp asnotation dot
R6(config-router)#c
R6#

R6#sh ip bgp su
BGP router identifier 11.11.11.11, local AS number 1
BGP table version is 1, main routing table version 1

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
22.22.22.22     4       262153       0       0        1    0    0 never    Idle
55.55.55.55     4       135391       0       0        1    0    0 never    Idle
R6#
R6#

Please rate the post if it is useful

yes thanks

but i found something  interesting , please check attachment

 

Cisco official document said . 1*65535+10 = 65546 ,  notice, it  is 65535 . not 65536 . 

but i try it myself , 65536 is correct . 

Hello,

Main idea is to use  ASN greater than 65535, which is not possible in 4 Bytes ASPLAIN notation.

  ASDOT indicates that ASNs greater than 65535 should be represented as two words, seperated by a dot,

formula   :  (higher2bytes in decimal)*65536 + (lower2bytes in decimal)

for example

  65536 will be reprented as  (1*65536)+(0)=1.0

 in your case 2.4319 is equivalent to (2*65536)+4319=135391 ASN

Please rate the post if it is useful

Review Cisco Networking for a $25 gift card