3-6

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 3      Assigning the Switch IP Address and Default Gateway

Assigning Switch Information

If you did not specify the configuration filename, the TFTP server, or if the configuration file could not 

be downloaded, the switch attempts to download a configuration file by using various combinations of 

filenames and TFTP server addresses. The files include the specified configuration filename (if any) and 

these files: network-config, cisconet.cfg, 

hostname

.config, or 

hostname

.cfg, where 

hostname

 is the 

switch’s current hostname. The TFTP server addresses used include the specified TFTP server address 

(if any) and the broadcast address (255.255.255.255).

For the switch to successfully download a configuration file, the TFTP server must contain one or more 

configuration files in its base directory. The files can include these files:

•

The configuration file named in the DHCP reply (the actual switch configuration file).

•

The network-confg or the cisconet.cfg file (known as the default configuration files).

•

The router-confg or the ciscortr.cfg file (These files contain commands common to all switches. 

Normally, if the DHCP and TFTP servers are properly configured, these files are not accessed.)

If you specify the TFTP server name in the DHCP server-lease database, you must also configure the 

TFTP server name-to-IP-address mapping in the DNS-server database.

If the TFTP server to be used is on a different LAN from the switch, or if it is to be accessed by the switch 

through the broadcast address (which occurs if the DHCP server response does not contain all the 

required information described previously), a relay must be configured to forward the TFTP packets to 

the TFTP server. For more information, see the 

“Configuring the Relay Device” section on page 3-6

. The 

preferred solution is to configure the DHCP server with all the required information.

Configuring the DNS

The DHCP server uses the DNS server to resolve the TFTP server name to an IP address. You must 

configure the TFTP server name-to-IP address map on the DNS server. The TFTP server contains the 

configuration files for the switch. 

You can configure the IP addresses of the DNS servers in the lease database of the DHCP server from 

where the DHCP replies will retrieve them. You can enter up to two DNS server IP addresses in the lease 

database.

The DNS server can be on the same or on a different LAN as the switch. If it is on a different LAN, the 

switch must be able to access it through a router.

Configuring the Relay Device

You must configure a relay device, also referred to as a 

relay agent

, when a switch sends broadcast 

packets that require a response from a host on a different LAN. Examples of broadcast packets that the 

switch might send are DHCP, DNS, and in some cases, TFTP packets. You must configure this relay 

device to forward received broadcast packets on an interface to the destination host. 

If the relay device is a Cisco router, enable IP routing (

ip routing

 global configuration command), and 

configure helper addresses by using the 

ip helper-address

 interface configuration command.

For example, in 

Figure 3-2

, configure the router interfaces as follows:

On interface 10.0.0.2:

router(config-if)#

 ip helper-address 20.0.0.2

router(config-if)#

 ip helper-address 20.0.0.3

router(config-if)# 

ip helper-address 20.0.0.4

On interface 20.0.0.1

router(config-if)# 

ip helper-address 10.0.0.1

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