EasyManua.ls Logo

D-Link DFL-1660

D-Link DFL-1660
595 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Ethernet Device Commands
Some interface settings provide direct management of the Ethernet settings themselves. These are
particularly useful if D-Link hardware has been replaced and Ethernet card settings are to be
changed, or if configuring the interfaces when running NetDefendOS on non-D-Link hardware.
For example, to display all Ethernet interface information use the command:
gw-world:/> show EthernetDevice
This command lists all Ethernet interfaces. Those defined as logical interfaces in the current
configuration are marked by a plus "+" symbol on the left of the listing.
Those interfaces that physically exist but are not part of the configuration are indicated with a minus
"-" symbol at the left. These will be deleted after the configuration is activated. If a deleted interface
in the interface list is to be restored, this can be done with the undelete command:
gw-world:/> undelete EthernetDevice <interface>
Individual interface details can be displayed, for example for the interface if1, with the command:
gw-world:/> show EthernetDevice if1
Property Value
--------------- ----------------------
Name: if1
EthernetDriver: E1000EthernetPCIDriver
PCIBus: 0
PCISlot: 17
PCIPort: 0
"
"
The set command can be used to control an Ethernet interface. For example, to disable an interface
lan, the following command can be used:
gw-world:/> set EthernetDevice lan -disable
To enable the interface lan:
gw-world:/> set EthernetDevice lan -enable
To set the driver on an Ethernet interface card the command is:
gw-world:/> set EthernetDevice lan EthernetDriver=<driver>
PCIBus=<X> PCISlot=<Y> PCIPort=<Z>
For example, if the driver name is IXP4NPEEthernetDriver for the bus, slot, port combination 0, 0,
2 on the wan interface, the set command would be:
gw-world:/> set EthernetDevice lan
EthernetDriver=IXP4NPEEthernetDriver
PCIBus=0
PCISlot=0
PCIPort=2
This command is useful when a restored configuration contains interface names that do not match
the interface names of new hardware. By assigning the values for bus, slot, port and driver of a
3.4.2. Ethernet Interfaces Chapter 3. Fundamentals
116

Table of Contents

Other manuals for D-Link DFL-1660

Related product manuals