For every LL2M command, an encrypted tunnel is set up that protects the log-in information transferred on transmission. To use the integrated LL2M client, start a Telnet session on a LANCOM that has local access to the LL2M server via the available physical medium (LAN, WLAN). The following commands can be used to contact the LL2M server in this console session.
Note: You must have root rights on the LL2M server to run commands on
the LL2M client.
- LL2Mdetect
The LL2M client uses this command to send a SYSINFO request to the LL2M
server. The server then sends its system information, such as hardware
and serial number, back to the client for display. The LL2Mdetect command
can be restricted using the following parameters.
- -a <MAC address>: Restricts the command to those devices with
the specified MAC address only. The MAC address is specified in format
“00a057010203”, “00-a0-57-01-02-03” or “00:a0:57:01:02:03”.Note: If no MAC limitations are set, the detect is sent as a multicast (or optionally as a broadcast) to all LL2M-compatible devices. To contact groups of MAC addresses, * and x can by used as placeholders in individual MAC address positions, e.g. “00-a0-57-xx-xx-xx” for all LANCOM MAC addresses.
- -t <device type>: Restricts the command to those devices of the corresponding hardware type only.
- -r <hardware release>: Restricts the command to those devices with the corresponding hardware release only.
- -f <version>: Restricts the command to those devices with the corresponding firmware version only.
- -s <serial number>: Restricts the command to those devices with the corresponding serial number only.
- -b : Sends the LL2Mdetect request as a broadcast and not as a multicast.
- -v <VLAN ID>: Only sends the LL2Mdetect request on the VLAN specified. If no VLAN ID is specified, the VLAN ID of the first defined IP network is used.
- ll2mdetect -r A: This command sends a SYSINFO request to all devices with hardware release “A”.
- Device name
- Device type
- Serial number
- MAC address
- Hardware release
- Firmware version with date
- -a <MAC address>: Restricts the command to those devices with
the specified MAC address only. The MAC address is specified in format
“00a057010203”, “00-a0-57-01-02-03” or “00:a0:57:01:02:03”.
- LL2Mexec
The LL2M client uses this command to send a single-line command to run
on the LL2M server. Several commands can be combined in one LL2M command
by using semicolons as separators. Depending on the command, either the
actions are run on the remote device and the responses from the remote
device are sent to the LL2M client for display. The LL2Mexec command
conforms to the following syntax:
- ll2mexec <user>[:<password>]@<MAC address>
- -v <VLAN ID>: Only sends the LL2Mexec command on the VLAN specified. If no VLAN ID is specified, the VLAN ID of the first defined IP network is used.
- ll2mexec root@00a057010203 set name MyLANCOM: This command logs the LL2M client on to the LL2M server with MAC address “00a057010203“ as user “root”. The user is prompted for the password in the console session. The LL2M client then sets the name of the remote device to “MyLANCOM”.