mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:10:28 +00:00
![]() Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Ticket: CM-3868 NOTE: Many of the ibgp peers are not up in the 'show ip bgp summ' output below. This is because ospf was disabled at the time. The main thing to look for is whether or not all of the correct peers are listed based on their 'activate' status. Basic Example ============= router bgp 10 bgp router-id 10.0.0.1 no bgp default ipv4-unicast no bgp bestpath as-path multipath-relax bgp bestpath compare-routerid bgp route-map delay-timer 1 neighbor EBGP peer-group neighbor EBGP advertisement-interval 1 neighbor IBGP peer-group neighbor IBGP remote-as 10 neighbor IBGP update-source 10.0.0.1 neighbor IBGP advertisement-interval 1 neighbor 10.0.0.2 peer-group IBGP neighbor 10.0.0.3 peer-group IBGP neighbor 10.0.0.4 peer-group IBGP neighbor 20.1.1.6 remote-as 20 neighbor 20.1.1.6 peer-group EBGP neighbor 20.1.1.7 remote-as 20 neighbor 20.1.1.7 peer-group EBGP neighbor 40.1.1.2 remote-as 40 neighbor 40.1.1.2 peer-group EBGP neighbor 40.1.1.6 remote-as 40 neighbor 40.1.1.6 peer-group EBGP neighbor 40.1.1.10 remote-as 40 neighbor 40.1.1.10 peer-group EBGP ! address-family ipv4 unicast neighbor EBGP activate neighbor IBGP activate neighbor IBGP next-hop-self exit-address-family ! superm-redxp-05# show ip bgp summ BGP router identifier 10.0.0.1, local AS number 10 BGP table version 4200 RIB entries 2399, using 281 KiB of memory Peers 8, using 129 KiB of memory Peer groups 2, using 112 bytes of memory Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd r2(10.0.0.2) 4 10 107 211 0 0 0 00:23:01 Connect r3(10.0.0.3) 4 10 107 211 0 0 0 00:23:01 Connect r4(10.0.0.4) 4 10 207 211 0 0 0 00:23:01 Active r6(20.1.1.6) 4 20 873 975 0 0 0 00:23:29 600 r7(20.1.1.7) 4 20 873 976 0 0 0 00:23:29 600 r8(40.1.1.2) 4 40 874 975 0 0 0 00:23:30 600 r9(40.1.1.6) 4 40 874 975 0 0 0 00:23:30 600 r10(40.1.1.10) 4 40 874 975 0 0 0 00:23:30 600 Total number of neighbors 8 superm-redxp-05# Example where one member of the peer-group is inactive...we can do this now that peer-group members can have different outbound policies from the peer-group. ================================================================================ superm-redxp-05# conf t superm-redxp-05(config)# router bgp 10 superm-redxp-05(config-router)# address-family ipv4 unicast superm-redxp-05(config-router-af)# no neighbor 10.0.0.3 activate superm-redxp-05(config-router-af)# do show run router bgp 10 bgp router-id 10.0.0.1 no bgp default ipv4-unicast no bgp bestpath as-path multipath-relax bgp bestpath compare-routerid bgp route-map delay-timer 1 neighbor EBGP peer-group neighbor EBGP advertisement-interval 1 neighbor IBGP peer-group neighbor IBGP remote-as 10 neighbor IBGP update-source 10.0.0.1 neighbor IBGP advertisement-interval 1 neighbor 10.0.0.2 peer-group IBGP neighbor 10.0.0.3 peer-group IBGP neighbor 10.0.0.4 peer-group IBGP neighbor 20.1.1.6 remote-as 20 neighbor 20.1.1.6 peer-group EBGP neighbor 20.1.1.7 remote-as 20 neighbor 20.1.1.7 peer-group EBGP neighbor 40.1.1.2 remote-as 40 neighbor 40.1.1.2 peer-group EBGP neighbor 40.1.1.6 remote-as 40 neighbor 40.1.1.6 peer-group EBGP neighbor 40.1.1.10 remote-as 40 neighbor 40.1.1.10 peer-group EBGP ! address-family ipv4 unicast neighbor EBGP activate neighbor IBGP activate neighbor IBGP next-hop-self no neighbor 10.0.0.3 activate exit-address-family ! superm-redxp-05# show ip bgp summ BGP router identifier 10.0.0.1, local AS number 10 BGP table version 4200 RIB entries 2399, using 281 KiB of memory Peers 8, using 129 KiB of memory Peer groups 2, using 112 bytes of memory Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd r2(10.0.0.2) 4 10 107 211 0 0 0 00:23:24 Connect r4(10.0.0.4) 4 10 207 211 0 0 0 00:23:24 Active r6(20.1.1.6) 4 20 881 983 0 0 0 00:23:52 600 r7(20.1.1.7) 4 20 881 984 0 0 0 00:23:52 600 r8(40.1.1.2) 4 40 881 982 0 0 0 00:23:53 600 r9(40.1.1.6) 4 40 881 982 0 0 0 00:23:53 600 r10(40.1.1.10) 4 40 881 982 0 0 0 00:23:53 600 Total number of neighbors 7 superm-redxp-05# Example where the peer-group is inactive but a member of the peer-group is active: ================================================================================== superm-redxp-05(config)# router bgp 10 superm-redxp-05(config-router)# address-family ipv4 unicast superm-redxp-05(config-router-af)# neighbor 10.0.0.3 activate superm-redxp-05(config-router-af)# no neighbor IBGP activate superm-redxp-05(config-router-af)# superm-redxp-05(config-router-af)# neighbor 10.0.0.4 activate superm-redxp-05(config-router-af)# end superm-redxp-05# show run router bgp 10 bgp router-id 10.0.0.1 no bgp default ipv4-unicast no bgp bestpath as-path multipath-relax bgp bestpath compare-routerid bgp route-map delay-timer 1 neighbor EBGP peer-group neighbor EBGP advertisement-interval 1 neighbor IBGP peer-group neighbor IBGP remote-as 10 neighbor IBGP update-source 10.0.0.1 neighbor IBGP advertisement-interval 1 neighbor 10.0.0.2 peer-group IBGP neighbor 10.0.0.3 peer-group IBGP neighbor 10.0.0.4 peer-group IBGP neighbor 20.1.1.6 remote-as 20 neighbor 20.1.1.6 peer-group EBGP neighbor 20.1.1.7 remote-as 20 neighbor 20.1.1.7 peer-group EBGP neighbor 40.1.1.2 remote-as 40 neighbor 40.1.1.2 peer-group EBGP neighbor 40.1.1.6 remote-as 40 neighbor 40.1.1.6 peer-group EBGP neighbor 40.1.1.10 remote-as 40 neighbor 40.1.1.10 peer-group EBGP ! address-family ipv4 unicast neighbor EBGP activate neighbor IBGP next-hop-self neighbor 10.0.0.4 activate exit-address-family ! superm-redxp-05# show ip bgp summ BGP router identifier 10.0.0.1, local AS number 10 BGP table version 4200 RIB entries 2399, using 281 KiB of memory Peers 8, using 129 KiB of memory Peer groups 2, using 112 bytes of memory Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd r4(10.0.0.4) 4 10 207 211 0 0 0 00:24:56 Active r6(20.1.1.6) 4 20 911 1013 0 0 0 00:25:24 600 r7(20.1.1.7) 4 20 911 1014 0 0 0 00:25:24 600 r8(40.1.1.2) 4 40 912 1013 0 0 0 00:25:25 600 r9(40.1.1.6) 4 40 912 1013 0 0 0 00:25:25 600 r10(40.1.1.10) 4 40 912 1013 0 0 0 00:25:25 600 Total number of neighbors 6 superm-redxp-05# |
||
---|---|---|
babeld | ||
bgpd | ||
cumulus/etc | ||
debian | ||
doc | ||
fpm | ||
init | ||
isisd | ||
lib | ||
m4 | ||
ospf6d | ||
ospfclient | ||
ospfd | ||
pkgsrc | ||
ports | ||
redhat | ||
ripd | ||
ripngd | ||
solaris | ||
tests | ||
tools | ||
vtysh | ||
watchquagga | ||
zebra | ||
.gitignore | ||
AUTHORS | ||
bootstrap.sh | ||
buildtest.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
COPYING.LIB | ||
HACKING.pending | ||
HACKING.tex | ||
INSTALL.quagga.txt | ||
Makefile.am | ||
NEWS | ||
README | ||
README.NetBSD | ||
REPORTING-BUGS | ||
SERVICES | ||
stamp-h.in | ||
TODO | ||
update-autotools |
Quagga is free software that manages various IPv4 and IPv6 routing protocols. Currently Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, and RIPng as well as very early support for IS-IS. See the file INSTALL.quagga.txt for building and installation instructions. See the file REPORTING-BUGS to report bugs. Quagga is free software. See the file COPYING for copying conditions.