19-5

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 19      Configuring DHCP Features

Understanding DHCP Features

In the port field of the circuit ID suboption, the port numbers start at 3. For example, on a switch with 

24 10/100 ports and small form-factor pluggable (SFP) module slots, port 3 is the Fast Ethernet 0/1 port, 

port 4 is the Fast Ethernet 0/2 port, and so forth. Port 27 is the SFP module slot 0/1, and so forth.

Figure 19-2

 shows the packet formats for the remote ID suboption and the circuit ID suboption. The 

switch uses the packet formats when DHCP snooping is globally enabled and when the

 ip dhcp 

snooping information option 

global configuration command is entered.

Figure 19-2

Suboption Packet Formats

DHCP Snooping Binding Database

When DHCP snooping is enabled, the switch uses the DHCP snooping binding database to store 

information about untrusted interfaces. The database can have up to 8192 bindings.

Each database entry (

binding

) has an IP address, an associated MAC address, the lease time (in 

hexadecimal format), the interface to which the binding applies, and the VLAN to which the interface 

belongs. The database agent stores the bindings in a file at a configured location. At the end of each entry 

is a checksum that accounts for all the bytes from the start of the file through all the bytes associated 

with the entry. Each entry is 72 bytes, followed by a space and then the checksum value. 

To keep the bindings when the switch reloads, you must use the DHCP snooping database agent. If the 

agent is disabled and only DHCP snooping is enabled, the switch does not lose its connectivity, but 

DHCP snooping might not prevent DHCP spoofing attacks.

When reloading, the switch reads the binding file to build the DHCP snooping binding database. The 

switch updates the file when the database changes. 

When a switch learns of new bindings or when it loses bindings, the switch immediately updates the 

entries in the database. The switch also updates the entries in the binding file. The frequency at which 

the file is updated is based on a configurable delay, and the updates are batched. If the file is not updated 

in a specified time (set by the write-delay and abort-timeout values), the update stops.

Length

Length

Circuit

ID type

Suboption

type

Circuit ID Suboption Frame Format

Remote ID Suboption Frame Format

6 bytes

MAC address

1 byte 1 byte 1 byte

Suboption

type

1 byte

Length

Length

Remote

ID type

1 byte 1 byte 1 byte

1 byte

116300

4

0

6

1

6

0

8

2

Module Port

1 byte 1 byte

2 bytes

VLAN

Page 343
Image 343
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.