cisco Catalyst 2960 — Specifying the Packet Forwarding Address

How to Configure DHCP Configuring the DHCP Server The switch can act as a DHCP server. If DHCP server for DHCP clients with management ports are used, both DHCP pool and the corresponding interface must be configured using the Management VRF. Configuring the DHCP Relay Agent Follow these steps to enable the DHCP relay agent on the switch: Procedure What to do next • Checking (validating) the relay agent information • Configuring the relay agent forwarding policy Specifying the Packet Forwarding Address If the DHCP server and the DHCP clients are on different networks or subnets, you must configure the switch with the ip helper-address address interface configuration command.

The general rule is to configure the command on the Layer 3 interface closest to the client. The address used in the ip helper-address command Configuring DHCP How to Configure DHCP Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 service dhcp Example: Device(config)# service dhcp Enables the DHCP server and relay agent on your switch. By default, this feature is enabled. Step 4 end Example: Device(config)# end Exits global configuration mode and returns to privileged EXEC mode. Configuring DHCP 11