Command line interface
Configuration mode
TX54 User Guide
1040
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:
n
To add the authentication method to the beginning of the list, use the index
number
0
:
(config)> add auth method 0
(config)> show auth method
0
1 local
(config)>
n
To add the authentication method to the end of the list, use the
end
keyword:
(config)> add auth method end
(config)> show auth method
0 local
1
(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:
1. Use the
show
command to verify that the user is not currently a member of any groups:
(config)> show auth user new-user group
(config)>
2. Use the
end
keyword to add the admin group to the user's configuration:
(config)> add auth user new-user group end admin
(config)>
3. Use the
show
command again to verify that the admin group has been added to the user's
configuration:
Summary of Contents for TX54
Page 1: ...TX54 User Guide Firmware version 22 2 ...
Page 190: ...Interfaces Bridging TX54 User Guide 190 ...
Page 293: ...Hotspot Hotspot configuration TX54 User Guide 293 ...
Page 332: ...Hotspot Show hotspot status and statistics TX54 User Guide 332 ...
Page 584: ...Services Simple Network Management Protocol SNMP TX54 User Guide 584 4 Click Download ...