If you do not type an option for a statement that requires one, a message indicates the type of information expected.
[edit]
user@host# set protocols ospf area
^
syntax error, expecting.
[edit]
user@host# set protocols ospf area 45 interface so-0/0/0
hello-interval
^
syntax error, expecting
If you have omitted a required statement at a particular hierarchy level, when you attempt to move from that hierarchy level or when you issue the
show
command in configuration mode, a message indicates which statement is missing. For example:[edit protocols pim interface so-0/0/0]
user@host# top
Warning: missing mandatory statement: 'mode'
[edit]
user@host# show
protocols {
pim {
interface so-0/0/0 {
priority 4;
version 2;
# Warning: missing mandatory statement(s): 'mode'
}
}
}
No comments:
Post a Comment