summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-mpls.xml
blob: 3f160b6dca7841fb0d58184911edc645e7e6051d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="mpls">
        <properties>
          <help>Show Multiprotocol Label Switching (MPLS)</help>
        </properties>
        <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>