
Dell PowerConnect 55xx Systems User Guide
217
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\Maintenance Projects\Dell
Contax\sources\CxUGSystemConfig.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 10 / 3 0 /1 3 - FO R PR O O F O N LY
Configuring DHCP IPv4 Interfaces Using CLI
The following is a sample CLI script to configure a dynamic IPv4 address on
an interface and then to remove it:
IPv4 Static Routing
IPv4 static routes can be configured for IP addresses that are not on directly
connected networks. These are defined in the
IPv4 Static Routing
pages.
Table 9-22. Sample CLI Script to Configure IPv4 Dynamically on a VLAN
CLI Command
Description
console#
config
Enter Global Configuration
mode.
console(config)#
interface vlan
1
Enter VLAN mode for VLAN
1.
console(config)#
no switchport
Enable the port to work as an
IP interface (Layer 3 mode).
console(config-if)#
ip address dhcp
Use the DHCP protocol to
acquire the IP address.
console(config-if)#
no ip address
dhcp
Remove the address (if
required).
Table 9-23. Sample CLI Script to Configure IPv4 Dynamically on a Port
CLI Command
Description
console#
config
Enter Global Configuration
mode.
console(config)#
interface vlan
1
Enter VLAN mode for VLAN
1.
console(config-if)#
ip address dhcp
Use the DHCP protocol to
acquire the IP address.
console(config-if)#
no switchport
Enable the port to work as an
IP interface (Layer 3 mode).
console(config-if)#
no ip address
dhcp
Remove the address (if
required).