diff --git a/templates/show/interfaces/map/node.def b/templates/show/interfaces/map/node.def index e69de29..faecef9 100644 --- a/templates/show/interfaces/map/node.def +++ b/templates/show/interfaces/map/node.def @@ -0,0 +1 @@ +help: Show MAP interface information diff --git a/templates/show/interfaces/map/node.tag/napt/node.def b/templates/show/interfaces/map/node.tag/napt/node.def index e69de29..33fdfc6 100644 --- a/templates/show/interfaces/map/node.tag/napt/node.def +++ b/templates/show/interfaces/map/node.tag/napt/node.def @@ -0,0 +1,3 @@ +help: Show NAPT information for specified MAP interface +allowed: "" +run: sudo /sbin/ip map show-napt dev "$4" diff --git a/templates/show/interfaces/map/node.tag/node.def b/templates/show/interfaces/map/node.tag/node.def index e69de29..24bef5d 100644 --- a/templates/show/interfaces/map/node.tag/node.def +++ b/templates/show/interfaces/map/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show specified MAP interface information +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show map +run: sudo /sbin/ip map show-parm dev "$4" diff --git a/templates/show/interfaces/map/node.tag/rule/node.def b/templates/show/interfaces/map/node.tag/rule/node.def index e69de29..4422162 100644 --- a/templates/show/interfaces/map/node.tag/rule/node.def +++ b/templates/show/interfaces/map/node.tag/rule/node.def @@ -0,0 +1,3 @@ +help: Show mapping rule information for specified MAP interface +allowed: "" +run: sudo /sbin/ip map show-rule dev "$4"