Hi all! What is mean '{}' in as_path? PAPA.rndpapa bird # birdcl show route where net = '216.126.32.0/20' all BIRD 1.6.3 ready. 216.126.32.0/20 via 95.174.97.33 on vlan8 [bird_ipv4 25.08.2017 17:54:37] * (100/0) [i] Type: BGP unicast univ BGP.origin: IGP BGP.as_path: 9002 3356 13703 { 20340 } BGP.next_hop: 95.174.97.33 BGP.med: 999 BGP.local_pref: 100 BGP.aggregator: 208.52.178.233 AS13703 BGP.community: (9002,9002) (9002,64657) (49037,0) (49037,10001) -- Regards, Mikhail V. Majorov
❦ 25 août 2017 19:27 +0300, Mikhail Mayorov <mm@tagan.ru> :
Hi all!
What is mean '{}' in as_path?
This is a set. This part is not ordered. With only one AS, this doesn't make much sense, but it can contain several of them. It usually means the route is an aggregation of several routes. -- Use the fundamental control flow constructs. - The Elements of Programming Style (Kernighan & Plauger)
participants (2)
-
Mikhail Mayorov -
Vincent Bernat