Manage Elements In Lists - Digi IX20 User Manual

Hide thumbs Also See for IX20:
Table of Contents

Advertisement

Command line interface
You can also move back multiples nodes in the configuration by typing multiple sets of two
periods:
(config service ssh acl zone)> .. .. ..
(config service)>
n
Move to the root of the config prompt from anywhere within the configuration by entering
three periods (...):
(config service ssh acl zone)> ...
(config)>

Manage elements in lists

While in configuration mode, you can use the add, del, and move action commands to manage
elements in a list. When working with lists, these actions require an index number to identify the list
item that will be acted on.
Add elements to a list
When used with parameters that contains lists of elements, the add command is used to add an
element to the list.
For example, to add an authentication method:
1. Display current authentication method by using the show command:
(config)> show auth method
0 local
(config)>
2. Add an authentication method by using the add index_item command. For example:
To add the TACACS+ authentication method to the beginning of the list, use the index
n
number 0:
(config)> add auth method 0 tacacs+
(config)> show auth method
0 tacacs+
1 local
(config)>
n
To add the TACACS+ authentication method to the end of the list, use the end keyword:
(config)> add auth method end tacacs+
(config)> show auth method
0 local
1 tacacs+
(config)>
The end keyword
As demonstrated above, the end keyword is used to add an element to the end of a list. Additionally,
the end keyword is used to add an element to a list that does not have any elements.
For example, to add an authentication group to a user that has just been created:
IX20 User Guide
Configuration mode
1150

Advertisement

Table of Contents
loading

Table of Contents