How to Configure DHCP Features
SUMMARY STEPS
1. enable
2. configure terminal
3. service dhcp
4. end
5. show running-config
6. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
service dhcp
Example:
Switch(config)# service dhcp
Step 4
end
Example:
Switch(config)# end
Step 5
show running-config
Example:
Switch# show running-config
Step 6
copy running-config startup-config
Example:
Switch# copy running-config startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1274
Purpose
Enables privileged EXEC mode. Enter your password if
prompted.
Enters the global configuration mode.
Enables the DHCP server and relay agent on your switch.
By default, this feature is enabled.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.