Dell PowerEdge VRTX User Manual
Page 104

104
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\Dell Plasma\User
Guide\Plasma_UGSystemConfig.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 4 / 1 8 /1 3 - F O R P R O O F O N LY
Table 6-19. Sample CLI Script to Configure IPv4 Statically on a Port
CLI Command
Description
console#config
Enter Global Configuration
mode.
console(config)# interface gi0/1
Enter Interface mode for port
1.
console(config)# no switchport
Enable the port to work as an
IP interface (Layer 3 mode).
console(config-if)# ip address
10.5.225.40 /27
Configure an IP address 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).
Table 6-20. 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).