Configuring the DHCP Relay Agent
Follow these steps to enable the DHCP relay agent on the switch:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
service dhcp
4.
end
5.
show running-config
6.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Enables the DHCP server and relay agent on your switch.
By default, this feature is enabled.
service dhcp
Example:
Switch(config)# service dhcp
Step 3
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 5
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
218 OL-29048-01
Configuring DHCP
Configuring the DHCP Relay Agent