From 6451fe281f4b28b9f2dc504c954e0fd72e34a5a0 Mon Sep 17 00:00:00 2001 From: Cheeze_It Date: Fri, 18 Dec 2020 20:27:10 -0700 Subject: mpls: T915: Add a bunch of op commands to LDP In here we are adding a lot more commands that can be used within LDP. There's also some help and contextual changes for initialism that are being removed. --- interface-definitions/protocols-mpls.xml.in | 16 +-- op-mode-definitions/show-mpls.xml | 179 ++++++++++++++++++++++++++-- 2 files changed, 174 insertions(+), 21 deletions(-) diff --git a/interface-definitions/protocols-mpls.xml.in b/interface-definitions/protocols-mpls.xml.in index 3ac248e79..645b264bb 100644 --- a/interface-definitions/protocols-mpls.xml.in +++ b/interface-definitions/protocols-mpls.xml.in @@ -16,7 +16,7 @@ - Label Distribution Protocol (LDP) router ID + Label Distribution Protocol router ID ipv4 LDP IPv4 ID @@ -28,7 +28,7 @@ - Forwarding equivalence class (FEC) allocation from local routes + Forwarding equivalence class allocation from local routes @@ -334,7 +334,7 @@ - Label Distribution Protocol (LDP) miscellaneous parameters + Label Distribution Protocol miscellaneous parameters @@ -369,7 +369,7 @@ - Forwarding equivalence class (FEC) export filter + Forwarding equivalence class export filter @@ -413,7 +413,7 @@ - Forwarding equivalence class (FEC) export filter + Forwarding equivalence class export filter @@ -458,7 +458,7 @@ - Forwarding equivalence class (FEC) import filter + Forwarding equivalence class import filter @@ -496,7 +496,7 @@ - Forwarding equivalence class (FEC) import filter + Forwarding equivalence class import filter @@ -542,7 +542,7 @@ - Multiprotocol Label Switching (MPLS) miscellaneous parameters + Multiprotocol Label Switching miscellaneous parameters diff --git a/op-mode-definitions/show-mpls.xml b/op-mode-definitions/show-mpls.xml index 3f160b6dc..833ac98eb 100644 --- a/op-mode-definitions/show-mpls.xml +++ b/op-mode-definitions/show-mpls.xml @@ -1,4 +1,4 @@ - + @@ -17,33 +17,186 @@ 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" + + LDP neighbor information + + /usr/bin/vtysh -c "show mpls ldp neighbor" - - - Show neighbor detail - - /usr/bin/vtysh -c "show mpls ldp neighbor detail" - - + + + 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" + + + -- cgit v1.2.3