19-3

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 19      Configuring DHCP Features

Understanding DHCP Features

The switch drops a DHCP packet when one of these situations occurs:

•

A packet from a DHCP server, such as a DHCPOFFER, DHCPACK, DHCPNAK, or 

DHCPLEASEQUERY packet, is received from outside the network or firewall.

•

A packet is received on an untrusted interface, and the source MAC address and the DHCP client 

hardware address do not match.

•

The switch receives a DHCPRELEASE or DHCPDECLINE broadcast message that has a MAC 

address in the DHCP snooping binding database, but the interface information in the binding 

database does not match the interface on which the message was received.

•

A DHCP relay agent forwards a DHCP packet that includes a relay-agent IP address that is not 

0.0.0.0, or the relay agent forwards a packet that includes option-82 information to an untrusted port.

If the switch is an aggregation switch supporting DHCP snooping and is connected to an edge switch 

that is inserting DHCP option-82 information, the switch drops packets with option-82 information when 

packets are received on an untrusted interface. If DHCP snooping is enabled and packets are received 

on a trusted port, the aggregation switch does not learn the DHCP snooping bindings for connected 

devices and cannot build a complete DHCP snooping binding database.

When an aggregation switch can be connected to an edge switch through an untrusted interface and you 

enter the 

ip dhcp snooping information option allow-untrusted

 global configuration command, the 

aggregation switch accepts packets with option-82 information from the edge switch. The aggregation 

switch learns the bindings for hosts connected through an untrusted switch interface. The DHCP security 

features can still be enabled on the aggregation switch while the switch receives packets with option-82 

information on untrusted input interfaces to which hosts are connected. The port on the edge switch that 

connects to the aggregation switch must be configured as a trusted interface.

Option-82 Data Insertion

In residential, metropolitan Ethernet-access environments, DHCP can centrally manage the IP address 

assignments for a large number of subscribers. When the DHCP option-82 feature is enabled on the 

switch, a subscriber device is identified by the switch port through which it connects to the network (in 

addition to its MAC address). Multiple hosts on the subscriber LAN can be connected to the same port 

on the access switch and are uniquely identified.

Note

The DHCP option-82 feature is supported only when DHCP snooping is globally enabled and on the 

VLANs to which subscriber devices using this feature are assigned. 

Figure 19-1

 is an example of a metropolitan Ethernet network in which a centralized DHCP server 

assigns IP addresses to subscribers connected to the switch at the access layer. Because the DHCP clients 

and their associated DHCP server do not reside on the same IP network or subnet, a DHCP relay agent 

(the Catalyst switch) is configured with a helper address to enable broadcast forwarding and to transfer 

DHCP messages between the clients and the server.

Page 341
Image 341
Open full-size image

2960 specifications

Cisco Systems 2960 series switches are a prominent solution in the networking landscape, known for their reliability, scalability, and feature-rich offerings. Ideal for small to medium-sized enterprises, these switches provide a robust foundation for network infrastructure, ensuring optimal performance and connectivity.

One of the standout features of the Cisco 2960 series is its Layer 2 switching capabilities. The switches support multiple VLANs (Virtual Local Area Networks), allowing network administrators to segment traffic efficiently and enhance security protocols. This is crucial in modern networks where managing traffic and isolating sensitive information is a priority.

The Cisco 2960 series also incorporates advanced Quality of Service (QoS) features, enabling the prioritization of critical applications and services. This functionality ensures that time-sensitive data, such as voice and video traffic, maintains a high quality of service even in congested networks. With support for IEEE 802.1p and DSCP marking, administrators can fine-tune their network performance to meet specific organizational needs.

Power over Ethernet (PoE) is another significant characteristic of the Cisco 2960 series. This feature allows switches to deliver electrical power alongside data over Ethernet cables to devices such as IP phones, wireless access points, and surveillance cameras. With PoE, organizations can reduce clutter from power cables and increase deployment flexibility for various devices.

In terms of security, the Cisco 2960 series is equipped with a range of integrated security features. The switch supports port security, 802.1X authentication, and Access Control Lists (ACLs), providing robust defenses against unauthorized access and potential network vulnerabilities. These security measures are essential for protecting sensitive data and ensuring compliance with industry regulations.

Moreover, the Cisco 2960 series offers enhanced network management capabilities with Cisco's Intelligent Network Services. This includes support for Simple Network Management Protocol (SNMP), Cisco Prime, and Embedded Event Manager (EEM), allowing for efficient monitoring, troubleshooting, and policy enforcement across the network.

Additionally, the Cisco 2960 switches provide various models and configurations, catering to different networking needs. Options include models with varying port densities, uplink configurations, and stacking capabilities, making it easy for organizations to choose solutions that align perfectly with their requirements.

In summary, the Cisco 2960 series is a versatile and essential component of modern networking environments. Its advanced features, including Layer 2 support, QoS, PoE, robust security, and diverse management tools, make it an excellent choice for organizations looking to build a strong and secure network infrastructure.