From e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jan 2021 14:31:48 +0100 Subject: xml: op-mode: add preprocessor support as known from configuration mode --- op-mode-definitions/show-mpls.xml.in | 218 +++++++++++++++++++++++++++++++++++ 1 file changed, 218 insertions(+) create mode 100644 op-mode-definitions/show-mpls.xml.in (limited to 'op-mode-definitions/show-mpls.xml.in') diff --git a/op-mode-definitions/show-mpls.xml.in b/op-mode-definitions/show-mpls.xml.in new file mode 100644 index 000000000..833ac98eb --- /dev/null +++ b/op-mode-definitions/show-mpls.xml.in @@ -0,0 +1,218 @@ + + + + + + + Show Multiprotocol Label Switching (MPLS) + + + + + Label Distribution Protocol (LDP) + + + + + Label Information Base + + /usr/bin/vtysh -c "show mpls ldp binding" + + + + Show detailed information + + /usr/bin/vtysh -c "show mpls ldp binding detail" + + + + Display labels from LDP neighbor + + <x.x.x.x> <h:h:h:h:h:h:h:h> + + + + /usr/bin/vtysh -c "show mpls ldp binding neighbor $6" + + + + Show detailed information + + /usr/bin/vtysh -c "show mpls ldp binding neighbor $6 detail" + + + + Match locally assigned label value + + /usr/bin/vtysh -c "show mpls ldp binding neighbor $6 local-label $8" + + + + Match remotely assigned label value + + /usr/bin/vtysh -c "show mpls ldp binding neighbor $6 remote-label $8" + + + + + + Match locally assigned label value + + /usr/bin/vtysh -c "show mpls ldp binding local-label $6" + + + + Show detailed information + + /usr/bin/vtysh -c "show mpls ldp binding local-label $6 detail" + + + + Match LDP neighbor + + <x.x.x.x> <h:h:h:h:h:h:h:h> + + + + /usr/bin/vtysh -c "show mpls ldp binding local-label $6 neighbor $8" + + + + Match remotely assigned label value + + /usr/bin/vtysh -c "show mpls ldp binding local-label $6 remote-label $8" + + + + + + Match remotely assigned label value + + /usr/bin/vtysh -c "show mpls ldp binding remote-label $6" + + + + Show detailed information + + /usr/bin/vtysh -c "show mpls ldp binding remote-label $6 detail" + + + + Match LDP neighbor + + <x.x.x.x> <h:h:h:h:h:h:h:h> + + + + /usr/bin/vtysh -c "show mpls ldp binding remote-label $6 neighbor $8" + + + + Match locally assigned label value + + /usr/bin/vtysh -c "show mpls ldp binding remote-label $6 local-label $8" + + + + + + + + LDP forwarding equivalence class + + <x.x.x.x/x> <h:h:h:h:h:h:h:h/h> + + + /usr/bin/vtysh -c "show mpls ldp binding $5" + + + + Show detailed information + + /usr/bin/vtysh -c "show mpls ldp binding $5 detail" + + + + + + Discovery hello information + + /usr/bin/vtysh -c "show mpls ldp discovery" + + + + Show detailed information + + /usr/bin/vtysh -c "show mpls ldp discovery detail" + + + + + + LDP interface information + + /usr/bin/vtysh -c "show mpls ldp interface" + + + + LDP neighbor information + + /usr/bin/vtysh -c "show mpls ldp neighbor" + + + + Show detailed information + + /usr/bin/vtysh -c "show mpls ldp neighbor detail" + + + + Show neighbor capability information + + /usr/bin/vtysh -c "show mpls ldp neighbor capabilities" + + + + + + LDP neighbor + + <x.x.x.x> <h:h:h:h:h:h:h:h> + + + + /usr/bin/vtysh -c "show mpls ldp neighbor $5" + + + + Show detailed information + + /usr/bin/vtysh -c "show mpls ldp neighbor $5 detail" + + + + Show neighbor capability information + + /usr/bin/vtysh -c "show mpls ldp neighbor $5 capabilities" + + + + + + + + Show MPLS pseudowire interfaces + + /usr/bin/vtysh -c "show mpls pseudowires" + + + + Show MPLS table + + /usr/bin/vtysh -c "show mpls table" + + + + + + -- cgit v1.2.3