Command Structure
30
1.1
Format
CLI L2P
Release
7.0
05/2011
When a device creates a script, a human-readable header is included that
lists the special characters and the escape characters:
!Parameter string escape handling \, 1
!Characters to be preceded with escape char (\): \, !, ", ', ?
1.1.8 Secrets in scripts
A configuration may include secrets (e. g., passwords). When creating a
script, these secrets are written to it in a scrambled form, not in clear text.
These secrets may be up to 31 characters long. The format for a scrambled
secret is: ":v1:<scrambled secret>:" (without the quotes ("), they were added
for readability). v1 denotes the scrambling method (v1 in this case), the value
of the scrambled secret is a 64-digit hex string.
The following commands produce scrambled secrets (if necessary):
Applying or validating a script requires the following conditions for a scram-
bled secret, else it will be considered invalid (usually only relevant if a script
is edited manually):
Command Note
vlan name <n> "..."
Tab. 7: Commands in VLAN Database mode
Command Note
radius server key acct <ip> <password>
radius server key auth <ip> <password>
users passwd <username> <password>
users snmpv3 encryption <username> des <password>
Tab. 8: Commands in Global Config mode