diff --git a/src/klish-plugin-infix/xml/infix.xml b/src/klish-plugin-infix/xml/infix.xml index 98b861fe..5fbd4e51 100644 --- a/src/klish-plugin-infix/xml/infix.xml +++ b/src/klish-plugin-infix/xml/infix.xml @@ -283,6 +283,26 @@ + + + + neighbor + interfaces + bfd + + + + if [ -z "$KLISH_PARAM_name" ]; then + vtysh -c "show ip ospf" + elif [ "$KLISH_PARAM_name" == "neighbor" ];then + vtysh -c "show ip ospf neighbor" + elif [ "$KLISH_PARAM_name" == "interfaces" ];then + vtysh -c "show ip ospf interface" + elif [ "$KLISH_PARAM_name" == "bfd" ];then + vtysh -c "show bfd peers" + fi + +