Efficient Networks
®
Router family
Command Line Interface Guide
Chapter 16: Key Commands
Efficient Networks
®
Page 16-3
key add
Validates a the key that has been generated for the specific device. Once validated,
adds key to key database. When adding a key enabled feature, the feature is enabled
by default. To disable a feature, use the
key disable
command. A key cannot be
entered if one of the following conditions exist:
•
The key was generated for a different router.
•
A non-revoked and non-expired key has already been added for the
specified feature.
•
The same key currently exists in a revoked condition.
•
The key state is Manufacturing or Legacy
NOTE:
The key will not be written to flash memory until a
save
command has been issued.
Mgmt Class
Security (R/W)
Input Format
key add <key_string>
Parameters
Response
Example response when adding a key for L2TP.
Example response when adding a key that already exists or has been revoked.
<key_string>
a
a
The key string is case-sensitive and must be entered exactly as received and with no spaces.
Key string. Example shown below.
1H+zWqHlXa32Kir45Nqxean3a4kkvhSIH0H/cAHujbtRanrVpx9yxQZlLT6pCUnbuAZzHsLKin7=
-> key add
1H+zWqHlXa32Kir45Nqxean3a4kkvhSIH0H/cAHujbtRa=
10/03/2001-13:03:54:KEF: Load key for feature "l2tp" into DB SUCCEDEED
-> key add
1H+zWqHlXa32Kir45Nqxean3a4kkvhSIH0H/cAHujbtRa=
10/03/2001-13:50:31:KEF: Load key for feature "l2tp" into DB FAILED