beautypg.com

Amer Networks E5Web GUI User Manual

Page 161

background image

InterfaceAddresses/lan_ip

InterfaceAddresses/wan_net

InterfaceAddresses/lan_net Server

Setting Interface Addresses

The CLI can be used to set the address of the interface:

Device:/> set Address IP4Address

InterfaceAddresses/wan_ip
Address=172.16.5.1

Modified IP4Address InterfaceAddresses/wan_ip.

Enabling DHCP

The CLI can be used to enable DHCP on the interface:

Device:/> set Interface Ethernet wan DHCPEnabled=yes

Modified Ethernet wan.

Ethernet Device Commands

Some interface settings provide direct management of the Ethernet settings themselves. These
are particularly useful if Clavister hardware has been replaced and Ethernet card settings are to
be changed, or if configuring the interfaces when running cOS Core on non-Clavister hardware.

For example, to display all Ethernet interface information use the command:

Device:/> 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:

Device:/> undelete EthernetDevice

Individual interface details can be displayed, for example for the interface If1, with the command:

Device:/> 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:

Device:/> set EthernetDevice lan -disable

Chapter 3: Fundamentals

161

This manual is related to the following products: