summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/distance/global/node.def
blob: a4c743c07f872da4152f3a171f74aca3fd2e0b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
type: u32
help: Set OSPF administrative distance
val_help: u32:1-255; Administrative distance"

syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "Must be between 1-255"

update:expression: "vtysh -c \"configure terminal\" \
       -c \"router ospf\" \
       -c \"distance $VAR(@) \"; "

delete:expression: "vtysh -c \"configure terminal\" \
       -c \"router ospf\" \
       -c \"no distance $VAR(@) \"; "