Ethernet interface
U
SER
G
UIDE
44
The DHCP Client service can be set or removed for each Ethernet interface using the commands:
set eth0|eth1 dhcp-client
set eth0|eth1 no-dhcp-client
To specify the timeout of the table, you can use:
set eth0|eth1 arp-timeout N
In order to add an entry to the host list the following
CLI
command is used:
set host <ip_address> <HOSTNAME>
In order to remove it the command is:
set no-host <ip_address>
For example, in order to add host
10.7.10.10
with hostname
MyHost
:
set host 10.7.10.10 myhost
and in order to delete it from the list the command is:
set no-host 10.7.10.10
It is also possible to activate one or more secondary addresses on each Ethernet interface. These
secondary addresses are called
alias
. In order to set or remove an alias interface the following
CLI
command is used:
set alias|no-alias <interface> ipaddr <alias_ip_addr> netmask <netmask>
For example, in order to set or remove the alias with IP address 10.10.10.3/24
on the eth0 interface the following command can be used:
set alias eth0 ipaddr 10.10.10.3 netmask 255.255.255.0
set no-alias eth0 ipaddr 10.10.10.3 netmask 255.255.255.0
If it is an IPv6 address the command is:
set no-alias eth0 ipv6addr X:X::X:X/M
It is possible to activate (or deactivate) a description of the Ethernet interface given back by the
SNMP agent (if configured and active), by querying the
Mib_II ifDescr
variable, using the
following commands:
set eth0|eth1 description|no-description <value>
It is possible to set the type of Ethernet connection avoiding the auto negotiation process:
set eth0|eth1 speed <my description>
where value can have one of the following values:
100BaseT4 100BaseTx-FD 10BaseT
10BaseT-HD
100BaseTx 100BaseTx-HD 10BaseT-FD 1000BaseT-FD 1000BaseT-HD
In case the switch is present, the connection parameters must be set by specific commands, which
are described in the relative switch section.
On Imola-LX models and Lipari as well, there is only the eth0 port.