...
The command clear bgp vrf all update-group (Applicable in general for 'clear bgp ...' command) is expected to reset all sessions within the vrf in the bgp update-group but instead it resets all the session of other address families like ipv4, mdt etc.
When using the "clear bgp" with options including update-group.
No workaround available. Need to be careful and conscious while using the command "clear bgp ... ".
clear bgp command don't accounts or considers AFIs/Address families (or option like vrf) when used with update-group option. The command clear bgp vrf all update-group (Applicable in general for 'clear bgp ...' command) is expected to reset all sessions within the vrf in the bgp update-group but instead it resets all the session of other address families like ipv4, mdt etc. It is applicable for other options after "clear bgp command". pe1#sh run | sec bgp ipv6 multicast rpf use-bgp router bgp 65000 bgp router-id 10.10.10.10 no bgp fast-external-fallover bgp log-neighbor-changes bgp graceful-restart restart-time 120 bgp graceful-restart stalepath-time 360 bgp graceful-restart bgp bestpath compare-routerid no bgp default route-target filter neighbor 172.31.23.2 remote-as 65000 neighbor 172.31.23.2 description ipv4 neighbor 172.31.34.4 remote-as 65000 neighbor 172.31.34.4 description vpnv4andmdt ! address-family ipv4 network 172.31.23.0 mask 255.255.255.0 redistribute connected neighbor 172.31.23.2 activate neighbor 172.31.23.2 soft-reconfiguration inbound neighbor 172.31.34.4 activate exit-address-family ! address-family vpnv4 neighbor 172.31.34.4 activate neighbor 172.31.34.4 send-community both exit-address-family ! address-family ipv4 mdt neighbor 172.31.34.4 activate neighbor 172.31.34.4 send-community both exit-address-family pe1# pe1#sh ip bgp summary BGP router identifier 10.10.10.10, local AS number 65000 BGP table version is 13, main routing table version 13 4 network entries using 576 bytes of memory 9 path entries using 720 bytes of memory 4/3 BGP path/bestpath attribute entries using 624 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 1920 total bytes of memory BGP activity 22/18 prefixes, 52/43 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State 172.31.23.2 4 65000 1327 1330 13 0 0 19:59:51 172.31.34.4 4 65000 1323 1326 13 0 0 19:59:51 pe1# pe1#show ip bgp vpnv4 all summary BGP router identifier 10.10.10.10, local AS number 65000 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 172.31.34.4 4 65000 1326 1329 1 0 0 20:02:24 0 pe1#clear bgp vpnv4 unicast update-group 172.31.34.4 pe1# *Jul 14 14:22:06.973: %BGP-3-NOTIFICATION_MANY: sent to 1 sessions 6/4 (Administrative Reset) for update group, AFI: VPNv4 Unicast VRF: global pe1# *Jul 14 14:22:06.973: %BGP-5-ADJCHANGE: neighbor 172.31.34.4 Down User reset *Jul 14 14:22:06.973: %BGP_SESSION-5-ADJCHANGE: neighbor 172.31.34.4 VPNv4 Unicast topology base removed from session User reset *Jul 14 14:22:06.973: %BGP_SESSION-5-ADJCHANGE: neighbor 172.31.34.4 IPv4 MDT topology base removed from session User reset *Jul 14 14:22:06.973: %BGP_SESSION-5-ADJCHANGE: neighbor 172.31.34.4 IPv4 Unicast topology base removed from session User reset *Jul 14 14:22:07.841: %BGP-5-ADJCHANGE: neighbor 172.31.34.4 Up pe1# pe1#clear bgp vpnv4 unicast update-group pe1# *Jul 14 14:22:17.037: %BGP-3-NOTIFICATION_MANY: sent to 1 sessions 6/4 (Administrative Reset) for update group, AFI: VPNv4 Unicast VRF: global pe1# *Jul 14 14:22:17.038: %BGP-5-ADJCHANGE: neighbor 172.31.34.4 Down User reset *Jul 14 14:22:17.038: %BGP_SESSION-5-ADJCHANGE: neighbor 172.31.34.4 VPNv4 Unicast topology base removed from session User reset *Jul 14 14:22:17.038: %BGP_SESSION-5-ADJCHANGE: neighbor 172.31.34.4 IPv4 MDT topology base removed from session User reset *Jul 14 14:22:17.038: %BGP_SESSION-5-ADJCHANGE: neighbor 172.31.34.4 IPv4 Unicast topology base removed from session User reset *Jul 14 14:22:17.056: %BGP-5-ADJCHANGE: neighbor 172.31.34.4 Up pe1# pe1#sh ip bgp summary BGP router identifier 10.10.10.10, local AS number 65000 BGP table version is 13, main routing table version 13 4 network entries using 576 bytes of memory 9 path entries using 720 bytes of memory 4/3 BGP path/bestpath attribute entries using 624 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 1920 total bytes of memory BGP activity 22/18 prefixes, 58/49 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 172.31.23.2 4 65000 1333 1336 13 0 0 20:05:23 3 172.31.34.4 4 65000 10 10 13 0 0 00:00:16 3 pe1# pe1#show ip bgp vpnv4 all summary BGP router identifier 10.10.10.10, local AS number 65000 BGP table version is 1, main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 172.31.34.4 4 65000 10 10 1 0 0 00:00:23 0
Click on a version to see all relevant bugs
Cisco Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.