Skip to content

Commit 1489c72

Browse files
authored
[Techsupport]Adding more FRR and BGP dumps (#3118)
1 parent 359e692 commit 1489c72

File tree

1 file changed

+58
-6
lines changed

1 file changed

+58
-6
lines changed

scripts/generate_dump

Lines changed: 58 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,23 @@ save_bgp_info() {
694694
save_vtysh "show bgp ipv6 summary" "bgp.ipv6.summary"
695695
save_vtysh "show bgp ipv6 neighbors" "bgp.ipv6.neighbors"
696696
save_vtysh "show bgp ipv6" "bgp.ipv6.table"
697+
save_vtysh "show ip bgp vrf all" "bgp.vrf.all"
698+
save_vtysh "show ip bgp vrf all summary json" "bgp.vrf.all.summary.json"
699+
save_vtysh "show ip bgp vrf all neighbors json" "bgp.vrf.all.neigh.json"
700+
save_vtysh "show ip bgp vrf all nexthop" "bgp.vrf.all.nexthop"
701+
save_vtysh "show ip bgp vrf all update-group" "bgp.vrf.all.nexthop"
702+
save_vtysh "show bgp vrfs json" "bgp.vrf.json"
703+
save_vtysh "show bgp vrf all ipv4 unicast summary json" "bgp.vrf.all.ipv4uc.summary.json"
704+
save_vtysh "show bgp vrf all ipv6 unicast summary json" "bgp.vrf.all.ipv6uc.summary.json"
705+
save_vtysh "show bgp vrf all ipv4 unicast detail json" "bgp.vrf.all.ipv4uc.detail.json"
706+
save_vtysh "show bgp vrf all ipv6 unicast detail json" "bgp.vrf.all.ipv6uc.detail.json"
707+
save_vtysh "show bgp vrf all ipv4 unicast update-group" "bgp.vrf.all.ipv4uc.update_group"
708+
save_vtysh "show bgp vrf all ipv6 unicast update-group" "bgp.vrf.all.ipv6uc.update_group"
709+
save_vtysh "show bgp vrf all ipv4 unicast route-leak json" "bgp.vrf.all.ipv4uc.route_leak.json"
710+
save_vtysh "show bgp vrf all ipv6 unicast route-leak json" "bgp.vrf.all.ipv6uc.route_leak.json"
711+
save_vtysh "show bgp ipv4 labeled-unicast" "bgp.ipv4.labeled_unicast"
712+
save_vtysh "show bgp ipv6 labeled-unicast" "bgp.ipv6.labeled_unicast"
713+
save_vtysh "show bgp mac hash" "bgp.mac.hash"
697714
save_bgp_neighbor_all_ns
698715
}
699716

@@ -709,9 +726,25 @@ save_bgp_info() {
709726
save_evpn_info() {
710727
trap 'handle_error $? $LINENO' ERR
711728
save_vtysh "show bgp l2vpn evpn" "bgp.l2vpn.evpn"
712-
save_vtysh "show bgp l2vpn evpn route detail" "bgp.evpn.route"
713-
save_vtysh "show evpn vni detail" "bgp.evpn.vni"
714-
save_vtysh "show evpn arp-cache vni all" "bgp.evpn.arp"
729+
save_vtysh "show bgp l2vpn evpn summary json" "bgp.evpn.summary.json"
730+
save_vtysh "show bgp l2vpn evpn route" "bgp.evpn.route"
731+
save_vtysh "show bgp l2vpn evpn route detail" "bgp.evpn.route.detail"
732+
save_vtysh "show bgp l2vpn evpn vni json" "bgp.evpn.vni.json"
733+
save_vtysh "show bgp l2vpn evpn import-rt json" "bgp.evpn.import-rt.json"
734+
save_vtysh "show bgp l2vpn evpn vrf-import-rt json" "bgp.evpn.vrf_import-rt.json"
735+
save_vtysh "show bgp l2vpn evpn update-groups" "bgp.evpn.update_groups"
736+
save_vtysh "show bgp l2vpn evpn next-hops json" "bgp.evpn.next_hops.json"
737+
save_vtysh "show bgp vni all" "bgp.vni.all"
738+
save_vtysh "show bgp vni all detail" "bgp.vni.all.detail"
739+
save_vtysh "show evpn vni detail json" "evpn.vni.json"
740+
save_vtysh "show evpn access-vlan json" "evpn.access_vlan.json"
741+
save_vtysh "show evpn arp-cache vni all" "evpn.arp"
742+
save_vtysh "show evpn json" "evpn.json"
743+
save_vtysh "show evpn l2-nh json" "evpn.l2_nh.json"
744+
save_vtysh "show evpn mac vni all" "evpn.mac.vni"
745+
save_vtysh "show evpn arp-cache vni all" "evpn.arp_cache.vni"
746+
save_vtysh "show evpn rmac vni all json" "evpn.rmac.vni.json"
747+
save_vtysh "show evpn next-hops vni all json" "evpn.next_hops.vni.json"
715748
save_bgp_evpn_neighbor_all_ns
716749
}
717750
###############################################################################
@@ -726,12 +759,31 @@ save_evpn_info() {
726759
save_frr_info() {
727760
trap 'handle_error $? $LINENO' ERR
728761
save_vtysh "show running-config" "frr.running_config"
729-
save_vtysh "show ip route vrf all" "frr.ip_route"
730-
save_vtysh "show ipv6 route vrf all" "frr.ip6_route"
762+
save_vtysh "show ip route vrf all nexthop-group" "frr.ip_route.nhg"
763+
save_vtysh "show ipv6 route vrf all nexthop-group" "frr.ip6_route.nhg"
731764
save_vtysh "show zebra fpm stats" "frr.fpm.stats"
732765
save_vtysh "show zebra dplane detailed" "frr.dplane"
733766
save_vtysh "show interface vrf all" "frr.interfaces"
734-
save_vtysh "show zebra client summary" "frr.client"
767+
save_vtysh "show zebra" "frr.zebra"
768+
save_vtysh "show zebra client" "frr.zebra.client"
769+
save_vtysh "show zebra client summary" "frr.zebra.client.summary"
770+
save_vtysh "show zebra router table summary" "frr.zebra.router.table.summary"
771+
save_vtysh "show vrf" "frr.vrf"
772+
save_vtysh "show vrf vni" "frr.vrf.vni"
773+
save_vtysh "show ip nht vrf all" "frr.ip.nht.vrf.all"
774+
save_vtysh "show ipv6 nht vrf all" "frr.ipv6.nht.vrf.all"
775+
save_vtysh "show mpls table" "frr.mpls.table"
776+
save_vtysh "show mpls fec" "frr.mpls.fec"
777+
save_vtysh "show nexthop-group rib" "frr.nhg.rib"
778+
save_vtysh "show thread cpu" "frr.thread_cpu"
779+
save_vtysh "show thread poll" "frr.thread_poll"
780+
save_vtysh "show debugging hashtable" "frr.debugging_hashtable"
781+
save_vtysh "show work-queues" "frr.work_queues"
782+
save_vtysh "show memory" "frr.memory"
783+
save_vtysh "show modules" "frr.modules"
784+
save_vtysh "show version" "frr.version"
785+
save_vtysh "show debugging" "frr.debugging"
786+
save_vtysh "show logging" "frr.logging"
735787
}
736788

737789
###############################################################################

0 commit comments

Comments
 (0)