bgp update-groups

Hello

I just noticed a useful thing: when displaying received routes it says which updates group this route is later advertised to

R4#show ip bgp 112.0.0.0
BGP routing table entry for 112.0.0.0/8, version 18
Paths: (2 available, best #1, table default)
Advertised to update-groups:
4
Refresh Epoch 1
200 54 50 60
155.1.45.5 from 155.1.45.5 (150.1.5.5)
Origin IGP, localpref 200, valid, external, best
Community: 100:200
rx pathid: 0, tx pathid: 0x0
Refresh Epoch 1
200 54 50 60, (received-only)
155.1.45.5 from 155.1.45.5 (150.1.5.5)
Origin IGP, localpref 100, valid, external
Community: 100:200
rx pathid: 0, tx pathid: 0

 

and now we can do this:
R4#show ip bgp update-group 4
BGP version 4 update-group 4, internal, Address Family: IPv4 Unicast
BGP Update version : 19/0, messages 0
Topology: global, highest version: 19, tail marker: 19
Format state: Current working (OK, last not in list)
Refresh blocked (not in list, last not in list)
Update messages formatted 1, replicated 1, current 0, refresh 0, limit 1000
Number of NLRIs in the update sent: max 2, min 0
Minimum time between advertisement runs is 0 seconds
Has 1 member:
155.1.146.1

and (from another scenario) we can even see if it’s not advertised to anyone because it has a no-advertise community set inbound.

R2#show ip bgp 51.51.51.51
BGP routing table entry for 51.51.51.51/32, version 18
Paths: (1 available, best #1, table default, not advertised to any peer)
Not advertised to any peer
Refresh Epoch 2
254
192.10.1.254 from 192.10.1.254 (31.3.0.1)
Origin incomplete, metric 0, localpref 100, valid, external, best
Community: no-advertise
rx pathid: 0, tx pathid: 0x0

Skomentuj

Wprowadź swoje dane lub kliknij jedną z tych ikon, aby się zalogować:

Logo WordPress.com

Komentujesz korzystając z konta WordPress.com. Wyloguj /  Zmień )

Zdjęcie na Google

Komentujesz korzystając z konta Google. Wyloguj /  Zmień )

Zdjęcie z Twittera

Komentujesz korzystając z konta Twitter. Wyloguj /  Zmień )

Zdjęcie na Facebooku

Komentujesz korzystając z konta Facebook. Wyloguj /  Zmień )

Połączenie z %s