Dynamic Host Configuration Protocol (DHCP) is a service that runs at the application layer of the TCP/IP protocol stack to dynamically assign IP addresses to DHCP clients, and to allocate TCP/IP configuration information to DHCP clients. DHCP messages are broadcast messages which cannot cross from one network to another. DHCP Interface settings require the configuration of the DHCP relay and DHCP snooping which are explained below.
DHCP relay forwards the broadcast messages to a different network. It also adds option 82 to provide additional information of the client to the routing network.
DHCP snooping helps to identify trusted interfaces from untrusted ones. It prevents false DHCP responses. In layer 3 switches, DHCP relay and snooping can be enabled on any interface with an IP address and on VLAN with or without an IP address.
This article explains how to configure DHCP Interface settings on ESW2-550X stackable managed switches.
Note: You have to enable DHCP relay before you proceed. For more information refer to the article titled DHCP Properties Configuration on ESW2-550X Switch.
• ESW2-550X
• ESW2-550X-DC
• v1.2.9.44
Step 1. Log in to the web configuration utility to choose IP Configuration >DHCP > Interface Settings. The Interface Settings page opens:
Step 2. Click Add to add an interface configuration. A new window appears as follows:
Step 3. Click the radio button in the Interface field that corresponds to the type of interface you wish to configure. The available options are:
• Unit/Slot and Port — The unit identifies the switch, whether it is active or a member in the stack (unit 1 is active and unit 2 is a member). If you are unfamiliar with the terms used, check out Cisco Business: Glossary of New Terms. The slot identifies whether the switch is ESW2-550 or ESW2-550X (slot 1 is ESW2-550 and slot 2 is ESW2-550X). Choose the desired option from the Unit/Slot drop-down list.
– Port — Choose the desired port from the Port drop-down list.
• LAG — Choose the desired LAG from the LAG drop-down list. A Link Aggregate Group (LAG) is used to link multiple ports together. LAGs multiply bandwidth, increase port flexibility, and provides link redundancy between two devices to optimize port usage.
• VLAN — Choose the desired VLAN from the VLAN drop-down list. A VLAN helps a group of hosts to communicate as if they are on the physical network, regardless of their location.
Step 4. (Optional) Check the DHCP Relay check box to enable DHCP relay on the VLAN.
Step 5. (Optional) Check the DHCP Snooping check box to enable DHCP snooping on the VLAN.
Step 6. Click Apply to save the changes. The changes are shown in the table.
Step 1. Check the desired interface you want to delete from the DHCP Interface Table and click Delete.