IPv4 Interface

IPv4 interface addresses can be configured manually by the user, or automatically configured by a DHCP server. This section provides information for defining the device IPv4 addresses, either manually or by making the device a DHCP client. The IPv4 Interface page is used to configure IP addresses for device management. This IP address can be configured on a port, a LAG, VLAN, loopback interface or out-of-band interface. You can configure multiple IP addresses (interfaces) on the device. It then supports traffic routing between these various interfaces and also to remote networks. By default and typically, the routing functionality is performed by the hardware. If hardware resources are exhausted or there’s a routing table overflow in the hardware, IP routing is performed by the software.

Note

The device software consumes one VLAN ID (VID) for every IP address configured on a port or LAG. The device takes the first VID that isn’t used starting from 4094.

To configure the IPv4 addresses, follow these steps:

Procedure


Step 1

Click IPv4 Configuration > IPv4 Interface.

Enter the following fields:

  • IPv4 Routing—Check Enable to enable IPv4 routing (enabled by default).

Step 2

Click Apply. The parameter is saved to the Running Configuration file.

The following fields are displayed in the IPv4 Interface Table:

  • Interface—Interface for which the IP address is defined. This can also be the out-of-band port.

  • IP Address Type—The available options are:

    • DHCP—Received from DHCP server

    • Static—Entered manually. Static interfaces are non-DHCP interfaces that created by the user.

    • Default—The default address that exists on the device by default, before any configurations have been made.

  • IP Address—Configured IP address for the interface.

  • Mask—Configured IP address mask.

  • Status—Results of the IP address duplication check.

    • Tentative—There’s no final result for the IP address duplication check.

    • Valid—The IP address collision check was completed, and no IP address collision was detected.

    • Valid-Duplicated—The IP address duplication check was completed, and a duplicate IP address was detected.

    • Duplicated—A duplicated IP address was detected for the default IP address.

    • Delayed—The assignment of the IP address is delayed for 60 second if DHCP Client is enabled on startup in order to give time to discover DHCP address.

    • Not Received—Relevant for DHCP Address When a DCHP Client starts a discovery process, it assigns a dummy IP address 0.0.0.0 before the real address is obtained. This dummy address has the status of “Not Received”.

Step 3

Click Add.

Step 4

Select the Interface: Select the port, LAG, VLAN, Loopback, or OOB as the interface associated with this IP configuration, and select an interface from the list. select an interface from the associated list.

Step 5

Select the IP Address Type: Select one of the following options:

  • Dynamic IP Address—Receive the IP address from a DHCP server.

  • Static IP Address—Enter the IP address, and enter the Mask field:

    • Network Mask—IP mask for this address

    • Prefix Length—Length of the IPv4 prefix

    • *Renew IP Address Now—Check Enable to enable.

    • *Auto Configuration via DHCP— Display the status (Disabled or Enabled).

      Note

      *These only appear in the Edit pop-up option.

Step 6

Click Apply. The IPv4 address settings are written to the Running Configuration file.

Caution

When the system is in one of the stacking modes with a standby active unit present, Cisco recommends configuring the IP address as a static address to prevent disconnecting from the network during a active stacking unit switchover. This is because when the standby active unit takes control of the stack, when using DHCP, it might receive a different IP address than the one that was received by the stack’s original active-enabled unit.