bgp-community new-format
today i ahve studied about the bgp community representation
But my doubt is at tcp/ip vol2 says
set community 400:50
set community 0x1900032
set community 26214450
above 3 are same ?
can any guys help me to sort this out.
Also if i am using #bgp-community new-format
and i issue
# set community 1258
How to covert it into AA:NN format.
one more example for understnding my problem
set comunity 6555600
this is decimal format
how to get equavalent of this in AA:NN and Hex format?
answer is : 100:2000 or 0x6407d0
But my doubt is at tcp/ip vol2 says
set community 400:50
set community 0x1900032
set community 26214450
above 3 are same ?
can any guys help me to sort this out.
Also if i am using #bgp-community new-format
and i issue
# set community 1258
How to covert it into AA:NN format.
one more example for understnding my problem
set comunity 6555600
this is decimal format
how to get equavalent of this in AA:NN and Hex format?
answer is : 100:2000 or 0x6407d0
Comments
-
EdTheLad Member Posts: 2,111 ■■■■□□□□□□I'll show you the method and you can work the second part out.
Community is 4 bytes
2 byte / 2 byte
or
4 bytes
2^32 = 4294967296
2^32 = 65536/65536
400/50
400 = 110010000
50 = 110010
0000000110010000 / 0000000000110010
00000001100100000000000000110010 = 26214450
00000001100100000000000000110010 = 0x1900032Networking, sometimes i love it, mostly i hate it.Its all about the $$$$