Amer Networks E5Web GUI User Manual
Page 159

•
Change the IP address directly on the interface. For example, if we want to change the IPv4
address of the lan interface to 10.1.1.2, we could use the CLI command:
Device:/> set Interface Ethernet lan IP=10.1.1.2
As explained next, this way of changing the IPv4 address is not recommended.
•
Instead, the lan_ip object in the cOS Core Address Book should be assigned the new address
since it is this object that is used by many other cOS Core objects such as IP rules. The CLI
command to do this would be:
Device:/> set Address IP4Address InterfaceAddresses/lan_ip
Address=10.1.1.2
This same operation could also be done through the Web Interface or InControl.
A summary of CLI commands that can be used with Ethernet interfaces can be found in
Section 3.4.2.1, “Useful CLI Commands for Ethernet Interfaces”.
The Difference Between Logical and Physical Ethernet Interfaces
The difference between logical and physical interfaces can sometimes be confusing. The logical
Ethernet interfaces are those which are referred to in a cOS Core configuration. When using the
Web Interface or InControl, only the logical interfaces are visible and can be managed.
When using the CLI, both the logical and physical interfaces can be managed. For example, to
change the name of the logical interface If1 to be lan, the CLI command is:
Device:/> set Interface Ethernet If1 Name=lan
This changes the logical name of the interface (and all references to it) but does not change the
underlying physical name. For example, the CLI command ifstat shows the names of only the
physical interfaces and this list is unaffected by the above name change.
In the CLI, a physical interface is represented by the object EthernetInterface. To display all the
characteristics of an interface, for example for interface If1, the CLI command is:
Device:/> show EthernetDevice If1
The output from this command shows details about the physical Ethernet card including the bus,
slot and port number of the card as well as the Ethernet driver being used. These details are not
relevant to the logical interface object associated with the physical interface.
Ethernet Interfaces with Virtualization
When cOS Core runs under VMware or KVM in a virtual machine, it has a set of virtual interfaces. A
default number of interfaces is provided but can be increased if required provided the cOS Core
license and the virtual environment allow it.
For example, virtual interfaces in VMware can be connected to physical interfaces with the
VMware Bridged mode.
cOS Core usage with virtual machines is more fully described in the separate guides:
•
Virtual Series Getting Started Guide for VMware.
•
Virtual Series Getting Started Guide for KVM.
Chapter 3: Fundamentals
159