D-Link DFL-260E User Manual for DFL-260E - Page 114
Ethernet Device Commands, gw-world:/>, Property Value, Name: if1
View all D-Link DFL-260E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 114 highlights
3.4.2. Ethernet Interfaces Chapter 3. Fundamentals 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 shows 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 Individual interface details can be displayed, for example for the interface if1, with the command: gw-world:/> show EthernetDevice if1 Property Name: EthernetDriver: PCIBus: PCISlot: PCIPort: Value if1 E1000EthernetPCIDriver 0 17 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= PCIBus= PCISlot= PCIPort= 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 114