Ethernet interface commands

Ethernet interface mode provides the commands to modify the configuration of an Ethernet interface.

To enter the configuration mode, use the Global ethernet command with the name of the Ethernet interface. To determine the names of available interfaces, use the show link command.

While in this mode, use the commands in the following table to configure the Ethernet interface.

  • To view the current configuration, use the show command.
  • To restore default values, use the reset command.
  • To exit this configuration mode without saving changes to the running configuration, use the cancel command.
  • To exit this configuration mode and save changes to the running configuration, use the exit command.

Examples use interfaces that might not apply to your DataPower® Gateway. Examples are for only illustrative purposes.

Table 1. Ethernet interface configuration commands
Command Purpose
admin-state This command sets the administrative state for the configuration.
flow-control This command sets the flow control mode of the Ethernet interface.
force-mode This command indicates whether to force Ethernet physical mode instead of autonegotiation behavior.
hardware-offload This command indicates whether the Ethernet interface offloads TCP/IP packet processing.
ip-address This command assigns the primary network address for the Ethernet interface.
ip-config-mode This command identifies the configuration mode for the Ethernet interface.
ip-route This command manages static routes in the routing table for the Ethernet interface.
ip-secondary-address This command manages secondary network addresses for the Ethernet interface.
ipv4-default-gateway This command designates the default IPv4 gateway for the Ethernet interface.
ipv6-dadtransmits This command sets the number of IPv6 duplication address detection attempts for the Ethernet interface.
ipv6-default-gateway This command designates the default IPv6 gateway for the Ethernet interface.
ipv6-nd-retransmit-timer This command sets the interval between IPv6 neighbor discovery attempts for the Ethernet interface.
link-aggregation-mode This command indicates whether the Ethernet interface is part of an aggregate interface.
lldp-hardware-offload This command controls how the Ethernet interface responds to LLDP packets.
mac-address This command changes the MAC address for the Ethernet interface.
mode This command sets the interface speed and direction.
mtu This command sets the maximum transmission unit of the Ethernet interface.
standby-authentication This command changes the authentication string for the Ethernet interface in the standby group.
standby-distribution-algorithm This command specifies the distribution algorithm for incoming connections when standby group self-balancing is enabled for the Ethernet interface.
standby-enable This command controls whether to allow a standby configuration for the Ethernet interface.
standby-group This command sets the number of the standby group for the Ethernet interface.
standby-hello-timer This command sets the frequency that the Ethernet interface broadcasts hello messages.
standby-hold-timer This command sets the duration that the Ethernet interface waits before it attempts a failover.
standby-preempt This command controls preemption in the standby configuration for the Ethernet interface. Do not enable preemption.
standby-priority This command sets the priority of the Ethernet interface in the standby group.
standby-secondary-virtual-ip This command adds an auxiliary virtual IP address to the Ethernet interface.
standby-self-balance This command indicates whether the standby group uses self-balancing for the Ethernet interface.
standby-virtual-ip This command sets the virtual IP address of the standby group for the Ethernet interface.
summary This command specifies the brief, descriptive summary for the object instance.
Table 2. Ethernet interface action commands
Command Purpose
disable-ethernet-hardware-offload This command manages the temporary disabling of hardware offload for the Ethernet interface.
packet-capture This command manages a packet capture for the Ethernet interface session.
yield-standby This command manages the inclusion of the Ethernet interface in the standby group.