Show ip interface, Show ip redirects – LevelOne GTL-2690 User Manual

Page 682

Advertising
background image

Basic IP Configuration

41-5

41

Example
The following example defines a default gateway for this device:

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

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

Related Commands

ip default-gateway (41-4)
show ipv6 default-gateway (41-17)

Console(config)#ip default-gateway 10.1.1.254
Console(config)#

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#

Console#show ip redirects
ip default gateway 10.1.0.254
Console#

Advertising