IP interface configuration

Last Updated : Aug 25, 2023 |
Table 1: IP interface configuration CLI commands

Root level command

First level command

Description

interface console

Enter the Console interface configuration mode, create the interface if it does not exist, or delete the Console interface.

interface dialer

Enter the interface Dialer context, create the Dialer interface if it does not exist, or delete the Dialer interface.

interface fastethernet

Enter interface FastEthernet configuration mode, create a FastEthernet interface if it does not exist, or delete a FastEthernet interface.

interface loopback

Enter interface Loopback configuration mode, create a Loopback interface if it does not exist, or delete a Loopback interface or sub-interface.

interface serial

Enter Serial interface or sub-interface configuration mode, create a Serial interface if it does not exist, or delete a Serial interface or sub-interface.

interface tunnel

Enter interface tunnel configuration mode, create an interface tunnel if it does not exist, or delete an interface tunnel or sub-interface.

interface USB-modem

Enter the configuration context for the USB-modem interface, or reset the USB-modem interface settings to their factory defaults.

interface vlan

Enter interface VLAN configuration mode, create a VLAN interface if it does not exist, or delete a VLAN interface.

interface {console | dialer | FastEthernet | loopback | serial | tunnel | USB-modem | VLAN}

Enter interface configuration mode for the Console, Dialer, FastEthernet, Loopback, Serial, Tunnel, USB-modem, or VLAN interface.

description (interface)

Configure a description for the current interface.

ip address

Assign an IP address and mask to an interface or delete an interface.

ip admin-state

Set the administrative state of an IP interface.

ip broadcast-address

Update the interface broadcast address.

load-interval

Set the load calculation interval for an interface.

show ip interface

Display information about an IP interface.

show ip interface brief

Display a summary of the information for a specific interface or for all the interfaces.

shutdown (interface)

Set the administrative status of the current interface to down, or restore the administrative status of the interface to up.