summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/default-metric/node.def
blob: 926fed1ff20b08c278b6354a26f4a4c6022f831b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
type: u32
help: Metric of redistributed routes
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "Must be between 0-16777214"
val_help: u32:0-16777214; Metric of redistributed routes

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

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