beautypg.com

Dell PowerEdge VRTX User Manual

Page 103

background image

103

FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\Dell Plasma\User

Guide\Plasma_UGSystemConfig.fm

D E L L CO N F I D E N T I A L – P R E L I MI N A RY 4/ 1 8 /1 3 - F O R PR O O F O N LY

Defining IPv4 Interfaces Using CLI Commands

The following table summarizes the CLI commands for setting fields

displayed in the IPv4 Interfaces Parameters page.

The following are sample procedures to configure a static IPv4 address on an

interface using CLI and then to remove it:

Table 6-17. IPv4 Interface Parameters CLI Commands

CLI Command

Description

ip address ip-address {mask |

prefix-length}

no ip address [ip-address]

Sets an IP address.
Use the no form of the command to

remove an IP address.

show ip interface [interface-

id]

Displays the usability status of

interfaces configured for IP.

ip address dhcp

no ip address dhcp

Acquires an IP address on an Ethernet

interface from the Dynamic Host

Configuration Protocol (DHCP).
Use the no form of this command to

release an acquired IP address.

Table 6-18. Sample CLI Script to Configure IPv4 Statically on a VLAN

CLI Command

Description

console#config

Enter Global Configuration

mode.

console(config)# interface vlan 1

Enter Interface mode for

VLAN 1.

console(config-if)# ip address

10.5.225.40 /27

Set the routing interface with

prefix length of 27.

console(config-if)# ip default-

gateway 10.5.225.33

Set the address of the default

gateway

console(config-if)# no ip address

Remove the address (if

required).