Skip to content
Permalink
Browse files

Merge pull request #4130 from donaldsharp/show_frr

zebra: Add hidden 'show frr' command
  • Loading branch information...
pguibert6WIND committed Apr 14, 2019
2 parents f765a2f + d2f5903 commit 45ec928f498430930b9696636b22056b0a673b44
Showing with 64 additions and 0 deletions.
  1. +64 −0 zebra/zebra_vty.c
@@ -2852,6 +2852,69 @@ static int config_write_forwarding(struct vty *vty)
return 0;
}

DEFUN_HIDDEN (show_frr,
show_frr_cmd,
"show frr",
SHOW_STR
"FRR\n")
{
vty_out(vty, "........ .. . .. . ..... ...77:................................................\n");
vty_out(vty, ".............................7777:..............................................\n");
vty_out(vty, ".............................777777,............................................\n");
vty_out(vty, "... .........................77777777,..........................................\n");
vty_out(vty, "............................=7777777777:........................................\n");
vty_out(vty, "........................:7777777777777777,......................................\n");
vty_out(vty, ".................... ~7777777777777?~,..........................................\n");
vty_out(vty, "...................I7777777777+.................................................\n");
vty_out(vty, "................,777777777?............ .......................................\n");
vty_out(vty, "..............:77777777?..........~?77777.......................................\n");
vty_out(vty, ".............77777777~........=7777777777.......................................\n");
vty_out(vty, ".......... +7777777,.......?7777777777777.......................................\n");
vty_out(vty, "..........7777777~......:7777777777777777......77?,.............................\n");
vty_out(vty, "........:777777?......+777777777777777777......777777I,.........................\n");
vty_out(vty, ".......?777777,.....+77777777777777777777......777777777?.......................\n");
vty_out(vty, "......?777777......7777777777777777777777......,?777777777?.....................\n");
vty_out(vty, ".....?77777?.....=7777777777777777777I~............,I7777777~...................\n");
vty_out(vty, "....+77777+.....I77777777777777777:...................+777777I..................\n");
vty_out(vty, "...~77777+.....7777777777777777=........................?777777...... .......\n");
vty_out(vty, "...77777I.....I77777777777777~.........:?................,777777.....I777.......\n");
vty_out(vty, "..777777.....I7777777777777I .......?7777..................777777.....777?......\n");
vty_out(vty, ".~77777,....=7777777777777:......,7777777..................,77777+....+777......\n");
vty_out(vty, ".77777I.....7777777777777,......777777777.......ONNNN.......=77777.....777~.....\n");
vty_out(vty, ",77777.....I777777777777,.....:7777777777......DNNNNNN.......77777+ ...7777.....\n");
vty_out(vty, "I7777I.....777777777777=.....~77777777777......NNNNNNN~......=7777I....=777.....\n");
vty_out(vty, "77777:....=777777777777.....,777777777777......$NNNNND ......:77777....:777.....\n");
vty_out(vty, "77777. ...777777777777~.....7777777777777........7DZ,........:77777.....777.....\n");
vty_out(vty, "????? . ..777777777777.....,7777777777777....................:77777I....777.....\n");
vty_out(vty, "....... ..777777777777.....+7777777777777....................=7777777+...?7.....\n");
vty_out(vty, "..........77777777777I.....I7777777777777....................7777777777:........\n");
vty_out(vty, "..........77777777777I.....?7777777777777...................~777777777777.......\n");
vty_out(vty, "..........777777777777.....~7777777777777..................,77777777777777+.....\n");
vty_out(vty, "..........777777777777......7777777777777..................77777777777777777,...\n");
vty_out(vty, "..... ....?77777777777I.....~777777777777................,777777.....,:+77777I..\n");
vty_out(vty, "........ .:777777777777,.....?77777777777...............?777777..............,:=\n");
vty_out(vty, ".......... 7777777777777..... ?7777777777.............=7777777.....~777I........\n");
vty_out(vty, "...........:777777777777I......~777777777...........I7777777~.....+777I.........\n");
vty_out(vty, "..... ......7777777777777I.......I7777777.......+777777777I......7777I..........\n");
vty_out(vty, ".............77777777777777........?77777......777777777?......=7777=...........\n");
vty_out(vty, ".............,77777777777777+.........~77......777777I,......:77777.............\n");
vty_out(vty, "..............~777777777777777~................777777......:77777=..............\n");
vty_out(vty, "...............:7777777777777777?..............:777777,.....=77=................\n");
vty_out(vty, "................,777777777777777777?,...........,777777:.....,..................\n");
vty_out(vty, "........... ......I777777777777777777777I.........777777~.......................\n");
vty_out(vty, "...................,777777777777777777777..........777777+......................\n");
vty_out(vty, ".....................+7777777777777777777...........777777?.....................\n");
vty_out(vty, ".......................=77777777777777777............777777I....................\n");
vty_out(vty, ".........................:777777777777777.............I77777I...................\n");
vty_out(vty, "............................~777777777777..............+777777..................\n");
vty_out(vty, "................................~77777777...............=777777.................\n");
vty_out(vty, ".....................................:=?I................~777777................\n");
vty_out(vty, "..........................................................:777777,..............\n");
vty_out(vty, ".... ... ... . . .... ....... ....... ....................:777777..............\n");

return CMD_SUCCESS;
}

/* IP node for static routes. */
static struct cmd_node ip_node = {IP_NODE, "", 1};
static struct cmd_node protocol_node = {PROTOCOL_NODE, "", 1};
@@ -2930,6 +2993,7 @@ void zebra_vty_init(void)
/* Commands for VRF */
install_element(VIEW_NODE, &show_ipv6_mroute_vrf_all_cmd);

install_element(VIEW_NODE, &show_frr_cmd);
install_element(VIEW_NODE, &show_evpn_global_cmd);
install_element(VIEW_NODE, &show_evpn_vni_cmd);
install_element(VIEW_NODE, &show_evpn_vni_detail_cmd);

0 comments on commit 45ec928

Please sign in to comment.
You can’t perform that action at this time.