
Configuration file handling task list
85
IPLink Software Configuration Guide
7 • Configuration file handling
The key file shall contain a key string of at most 24 characters on a single line. Spaces, tabs and LF/CR charac-
ters are trimmed. The key must not contain LF/CR or the null character and must not start or end with a space
or tab. If the key contains more than 24 characters, only the first 24 characters are considered.
The key may contain variables that are resolved when the key file is downloaded to an IPLink. Using this
mechanism you can specify device-specific encryption keys. We currently support the following variables:
•
$(system.mac)
: The MAC address of the first ethernet port. Execute the
show port ethernet
command on
an IPLink to display the MAC address of an IPLink. This value without the colon separators and with all
lower-case hexadecimal letters is used instead of the variable on the IPLink.
•
$(system.serial)
: The serial number of the IPLink. Execute the
show version
command on the IPLink to
display the serial number.
When your key file contains the following line:
123
$(system.serial)
abc
$(system.mac)
XYZ
The command
show port ethernet
shows the following:
Ethernet Configuration
-------------------------------------
Port : ethernet 0 0 0
State : OPENED
MAC Address : 00:0C:F1:87:D9:09
Speed : 10MBit/s
Duplex : Half
Encapsulation : ip
Binding : interface eth0 router
The command
show version
displays the following:
Productname : SN1200
Software Version : R3.20 TB2005-06-24_MEYER SIP
Supplier :
Provider :
Subscriber :
Information for Slot 0:
SN1200
Hardware Version : 0004, 0001
Serial number : 100000020002
Software Version : R3.20 TB2005-06-24_MEYER SIP
The encryption key on this IPLink will be interpreted as:
123100000020002abc000cf187d909XYZ
Then you have to download the created key file to the IPLink. Open a telnet session and type in the following
commands:
>enable
#copy tftp://<ip>/<path> key:
where
<ip> is the IP address of your TFTP server and <path> is the path to the key file relative to the
TFTP root.