Show all Bidirectional Forwarding Detection (BFD) peer status /usr/bin/vtysh -c "show bfd peers" Show Bidirectional Forwarding Detection (BFD) peer counters /usr/bin/vtysh -c "show bfd peers counters" Show Bidirectional Forwarding Detection (BFD) peer status /usr/bin/vtysh -c "show bfd peers" | awk -v BFD_PEER=$5 '($0 ~ peer BFD_PEER) { system("/usr/bin/vtysh -c \"show bfd " $0 "\"") }' Show Bidirectional Forwarding Detection (BFD) peer counters /usr/bin/vtysh -c "show bfd peers" | awk -v BFD_PEER=$5 '($0 ~ peer BFD_PEER) { system("/usr/bin/vtysh -c \"show bfd " $0 " counters\"") }'