summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-mpls.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-19 09:50:00 +0100
committerGitHub <noreply@github.com>2020-03-19 09:50:00 +0100
commita0cd6bbf298533f8812acae1154a71cdea3176a4 (patch)
treec121e54b66d80ddf04bc246b6e906e65f6527237 /op-mode-definitions/show-mpls.xml
parent8b7940111a0ed42d19be30bac7f951b385eb3e85 (diff)
parent160cdee4879e7fb472ce0fa46e3ce9e21a04cc17 (diff)
downloadvyos-1x-a0cd6bbf298533f8812acae1154a71cdea3176a4.tar.gz
vyos-1x-a0cd6bbf298533f8812acae1154a71cdea3176a4.zip
Merge pull request #247 from DmitriyEshenko/mpls-impl
mpls: T915: Basic MPLS implementation
Diffstat (limited to 'op-mode-definitions/show-mpls.xml')
-rw-r--r--op-mode-definitions/show-mpls.xml62
1 files changed, 62 insertions, 0 deletions
diff --git a/op-mode-definitions/show-mpls.xml b/op-mode-definitions/show-mpls.xml
new file mode 100644
index 000000000..6610788c7
--- /dev/null
+++ b/op-mode-definitions/show-mpls.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="mpls">
+ <children>
+ <node name="ldp">
+ <properties>
+ <help>Label Distribution Protocol (LDP)</help>
+ </properties>
+ <children>
+ <node name="binding">
+ <properties>
+ <help>Label Information Base</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show mpls ldp binding"</command>
+ </node>
+ <node name="discovery">
+ <properties>
+ <help>Discovery hello information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show mpls ldp discovery"</command>
+ </node>
+ <node name="interface">
+ <properties>
+ <help>LDP interface information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show mpls ldp interface"</command>
+ </node>
+ <node name="neighbor">
+ <properties>
+ <help>LDP neighbor information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show mpls ldp neighbor"</command>
+ <children>
+ <node name="detail">
+ <properties>
+ <help>Show neighbor detail</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show mpls ldp neighbor detail"</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="pseudowire">
+ <properties>
+ <help>Show MPLS pseudowire interfaces</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show mpls pseudowires"</command>
+ </node>
+ <node name="table">
+ <properties>
+ <help>Show MPLS table</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show mpls table"</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>