Back to Contents Page

IP Commands:
Dell™ PowerEdge™ 1655MC Integrated Switch User's Guide

ip address

ip dhcp restart

ip default-gateway

show ip interface

show ip redirects

ping


The IP address for this switch is assigned via Dynamic Host Configuration Protocol (DHCP) by default. This address may be used for management access over your network. If this address is not compatible with your network, you can manually configure a new address You may also need to a establish a default gateway between this device and management stations that exist on another network segment.


ip address

Use this command to set the IP address for this device. Use the no form to restore the default IP address.

Syntax

ip address {ip-address netmask | bootp | dhcp}
no ip address

Default Setting

DHCP

Command Mode

Interface Configuration (VLAN)

Command Usage

Example

In the following example, the device is assigned an address in VLAN 1.

(config)#interface vlan 1
(config-if)#ip address 192.168.1.5 255.255.255.0
(config-if)#

Related Commands

ip dhcp restart


ip dhcp restart

Use this command to submit a BOOTP or DCHP client request.

Default Setting

None

Command Mode

Privileged Exec

Command Usage

Example

In the following example, the device is reassigned the same address.

(config)#interface vlan 1
(config-if)#ip address dhcp
(config-if)#exit
#ip dhcp restart
#show ip interface
IP interface vlan
 IP address and netmask: 10.1.0.54 255.255.255.0 on VLAN 1,
 and address mode: Dhcp.
#

Related Commands

ip address


ip default-gateway

Use this command to a establish a static route between this device and management stations that exist on another network segment. Use the no form to remove the static route.

Syntax

ip default-gateway gateway
no ip default-gateway

gateway - IP address of the default gateway.

Default Setting

No static route is established.

Command Mode

Global Configuration

Command Usage

A gateway must be defined if the management station is located in a different IP segment.

Example

The following example defines a default gateway for this device:

(config)#ip default-gateway 10.1.0.254
(config)#

Related Commands

show ip redirects


show ip interface

Use this command to display the settings of an IP interface.

Syntax

show ip interface

Default Setting

All interfaces

Command Mode

Privileged Exec

Command Usage

This switch can only be assigned one IP address. This address is used for managing the switch.

Example

#show ip interface
 IP address and netmask: 10.1.0.54 255.255.255.0 on VLAN 1,
 and address mode: User specified.
#

Related Commands

show ip redirects


show ip redirects

Use this command to show the default gateway configured for this device.

Default Setting

None

Command Mode

Privileged Exec

Example

#show ip redirects
ip default gateway 10.1.0.254
#

Related Commands

ip default-gateway


ping

Use this command to send Internet Control Message Protocol (ICMP) echo request packets to another node on the network.

Syntax

ping host [count count][size size]

Default Setting

This command has no default for the host.

Command Mode

Normal Exec, Privileged Exec

Command Usage

Example

#ping 10.1.0.19
Type ESC to abort.
PING to 10.1.0.19, by 5 32-byte payload ICMP packets, timeout is 5 seconds
response time: 0 ms
response time: 10 ms
response time: 10 ms
response time: 10 ms
response time: 10 ms
Ping statistics for 10.1.0.19:
 5 packets transmitted, 5 packets received (100%), 0 packets lost (0%)
Approximate round trip times:
 Minimum = 0 ms, Maximum = 10 ms, Average = 8 ms
#


 Back to Contents Page