Show ip interface, Show ip redirects – Asante Technologies 40240/40480-10G User Manual

Page 685

Advertising
background image

Basic IP Configuration

Example

The following example defines a default gateway for this device:

Console(config)#ip default-gateway 10.1.1.254

Console(config)#

Related Commands

ip route (42-2)
show ip redirects (41-5)
ipv6 default-gateway (41-17)

show ip interface

This command displays the settings of an IPv4 interface.

Command Mode

Privileged Exec

Example

Console#show ip interface

Vlan 1 is up, addressing mode is DHCP

Interface address is 192.168.0.2, mask is 255.255.255.0, Primary

MTU is 1500 bytes

Proxy ARP is disabled

Split horizon is disabled

Console#

Related Commands

ip address (41-3)
show ipv6 interface (41-14)

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 (41-4)
show ipv6 default-gateway (41-17)

41

41-5

Advertising