This section has configuration procedures and examples for defining different types of interfaces on a Gaia platform.
Gaia automatically identifies physical interfaces (NICs) installed on the computer. You cannot add or delete a physical interface using the Gaia Portal, or the Gaia Clish. You cannot add, change or remove physical interface cards while the Gaia computer is running.
To add or remove an interface card:
Step |
Description |
---|---|
1 |
Turn off the Gaia computer:
|
2 |
Add, remove, or replace the interface cards. |
3 |
Turn on the Gaia computer. |
Gaia automatically identifies the new or changed physical interfaces and assigns an interface name. The physical interfaces show in the list in the Gaia Portal.
This section includes procedures for changing physical interface parameters using the Gaia Portal.
To configure a physical interface:
Important - First, you must enable the IPv6 Support and reboot.
Caution: Do not manually change the MAC address unless you are sure that it is incorrect or has changed. An incorrect MAC address can lead to a communication failure.
Description
Configure physical interfaces.
Syntax
set interface <Name of Physical Interface> auto-negotiation {on | off} comments "<Text>" ipv4-address <IPv4 Address> mask-length <Mask Length> subnet-mask <Mask> ipv6-address <IPv6 Address> mask-length <Mask Length> ipv6-autoconfig {on | off} link-speed <Speed_Duplex> mac-addr <MAC Address> monitor-mode {on | off} mtu <68-16000 | 1280-16000> rx-ringsize <0-4096> state {on | off} tx-ringsize <0-4096> |
show interface <Name of Physical Interface> |
show interfaces all |
delete interface <Name of Physical Interface> 6in4 "<6in4 ID>" alias ipv4-address ipv6-address loopback vlan |
Important - After you add, configure, or delete features, run the save config
command to save the settings permanently.
Parameters
Parameter |
Description |
---|---|
|
Specifies a physical interface. |
|
Configures automatic negotiation of interface link speed and duplex settings:
|
|
Configures an optional free text comment.
|
|
Assigns the IPv4 address. |
|
Configures the IPv4 or IPv6 subnet mask length using CIDR notation (/xx). |
|
Configures the IPv4 subnet mask using dotted decimal notation (X.X.X.X). |
|
Assigns the IPv6 address. Important - First, you must enable the IPv6 Support and reboot. |
|
Configures if this interface gets an IPv6 address from a DHCPv6 Server:
Important - First, you must enable the IPv6 Support and reboot. |
|
Configures the interface link speed and duplex status. Available speed and duplex combinations are:
|
|
Configures the interface hardware MAC address. |
|
Configures Monitor Mode on this interface:
For more information, see sk101670. |
|
Configures the Maximum Transmission Unit size for an interface. For IPv4:
For IPv6:
|
|
Configures RX ring buffer size.
|
|
Configures interface's state:
|
|
Configures TX ring buffer size.
|
Example
gaia> set interface eth2 ipv4-address 40.40.40.1 subnet-mask 255.255.255.0
gaia> set interface eth2 mtu 1500
gaia> set interface eth2 link-speed 1000M/full
gaia> set interface eth2 state on
gaia> show interface eth2 |
Note - There are some command options and parameters, which you cannot configure in the Gaia Portal.