Getting Help about Statements
In configuration mode, you can use the
helpcommand to display help based on a text string contained in a statement name. This command displays help for statements at the current hierarchy level and below.user@host#helpstringYou can also display help based on a text string contained in a statement name using the
help topicandhelp referencecommands. Thehelp topiccommand displays usage guidelines for the statement, whereas thehelp referencecommand displays summary information about the statement.user@host#help topicstringuser@host#help referencestringIf you do not type an option for a statement that requires one, a message indicates the type of information expected. In this example, you need to type an area number to complete the command:
[edit]user@host#set protocols ospf area<Enter>syntax error, expecting<identifier>.In this example, you need to type a value for the hello interval to complete the command:
[edit]user@host#set protocols ospf area 45 interface so-0/0/0hello-interval<Enter>syntax error, expecting<data>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
showcommand in configuration mode, a message indicates which statement is missing. For example:[edit protocols pim interface so-0/0/0]user@host#topWarning: missing mandatory statement: 'mode'[edit]user@host#showprotocols {pim {interface so-0/0/0 {priority 4;version 2;# Warning: missing mandatory statement(s): 'mode'}}}