![]() |
Autocompletion can be used to find out what commands and parameters are available. Pressing the Tab key displays all the commands at the top level, as shown in the following screen example.
cli> <Tab>Typing any of the commands such as add or set then pressing Tab twice displays all the top level parameters, as shown in the following screen example.
cli> set <Tab><Tab>Pressing the Tab key once after partially-typing a parameter name automatically completes the parameter name, unless there is more than one parameter name beginning with the typed characters. If more than one parameter name begins with the typed characters, then Tab Tab displays them all.
cli> s<Tab><Tab>cli> se<Tab>cli> set n<Tab><Tab>cli> set ne<Tab>cli> set network <Tab><Tab>cli> set network i<Tab>cli> set network interface eth0 <Tab>cli> set network interface eth0 active <Tab>cli> set network interface eth0 active <Esc> <Tab>cli> set network interface eth0 active yes <Tab>cli> set network interface eth0 active yes b<Tab>