59 IPv4 Interface Commands

show ip interface

This command displays the settings of an IPv4 interface.

Command Mode

Privileged Exec

Example

Console#show ip interface

IP address and netmask: 192.168.1.54 255.255.255.0 on VLAN 1,

and address mode: User specified. Console#

Related Commands

show ip redirects (59-4) show ipv6 interface (60-10)

show ip redirects

This command shows the IPv4 default gateway configured for this device.

Default Setting

None

Command Mode

Privileged Exec

Example

Console#show ip redirects

ip default gateway 10.1.0.254 Console#

Related Commands

ip default-gateway(59-2)

show ipv6 default-gateway(60-12)

59-4

Page 530
Image 530
Accton Technology 24/48-Port Show ip interface, Show ip redirects, This command displays the settings of an IPv4 interface