summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/distance/global/node.def
blob: 9c6b62b2a46754fd6b90826c47eb5b0c13e4e976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
type: u32
help: 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(@) \"; "