Configure authentication preference.
This example adds the specified authentication preference.
efa auth authentication preference add --authType=LOCAL --identifier=LOCAL --preference=3
Successfully updated the auth preference.
+-----------+------------+------------+
| Auth Type | Identifier | Preference |
+-----------+------------+------------+
| LOCAL | LOCAL | 3 |
+-----------+------------+------------+
This example lists the authentication preferences.
efa auth authentication preference show
+-----------+------------+------------+
| Auth Type | Identifier | Preference |
+-----------+------------+------------+
| HOST | HOST | 1 |
+-----------+------------+------------+
| LOCAL | LOCAL | 3 |
+-----------+------------+------------+
This example updates an authentication preference.
efa auth authentication preference update --authType=LOCAL --identifier=LOCAL --preference=2
Successfully updated the auth preference.
+-----------+------------+------------+
| Auth Type | Identifier | Preference |
+-----------+------------+------------+
| LOCAL | LOCAL | 2 |
+-----------+------------+------------+
This example deletes an authentication preference.
efa auth authentication preference delete --authType=LOCAL --identifier=LOCAL
This example adds the specified authentication preference.
efa auth authentication preference add --authType=TACACS --identifier=10.37.135.12 --preference=2 Successfully added the auth preference. +-----------+--------------+------------+ | Auth Type | Identifier | Preference | +-----------+--------------+------------+ | TACACS | 10.37.135.12 | 2 | +-----------+--------------+------------+
This example adds the specified authentication preference.
efa auth authentication preference add --authType=LDAP --identifier=kvm12.com --preference=3 Successfully added the auth preference. +-----------+------------+------------+ | Auth Type | Identifier | Preference | +-----------+------------+------------+ | LDAP | kvm12.com | 3 | +-----------+------------+------------+
This example shows an authentication preference.
efa auth authentication preference show +-----------+--------------+------------+ | Auth Type | Identifier | Preference | +-----------+--------------+------------+ | HOST | HOST | 1 | +-----------+--------------+------------+ | TACACS | 10.37.135.12 | 2 | +-----------+--------------+------------+ | LDAP | kvm12.com | 3 | +-----------+--------------+------------+