28-4

Catalyst 2960 Switch Software Configuration Guide

78-16881-01

Chapter 28      Configuring Network Security with ACLs

Configuring IPv4 ACLs

Consider access list 102, configured with these commands, applied to three fragmented packets:

Switch(config)# 

access-list 102 permit tcp any host 10.1.1.1 eq smtp

Switch(config)# 

access-list 102 deny tcp any host 10.1.1.2 eq telnet

Switch(config)# 

access-list 102 permit tcp any host 10.1.1.2 

Switch(config)# 

access-list 102 deny tcp any any

Note

In the first and second ACEs in the examples, the 

eq 

keyword after the destination address means to test 

for the TCP-destination-port well-known numbers equaling Simple Mail Transfer Protocol (SMTP) and 

Telnet, respectively.

•

Packet A is a TCP packet from host 10.2.2.2., port 65000, going to host 10.1.1.1 on the SMTP port. 

If this packet is fragmented, the first fragment matches the first ACE (a permit) as if it were a 

complete packet because all Layer 4 information is present. The remaining fragments also match the 

first ACE, even though they do not contain the SMTP port information, because the first ACE only 

checks Layer 3 information when applied to fragments. The information in this example is that the 

packet is TCP and that the destination is 10.1.1.1.

•

Packet B is from host 10.2.2.2, port 65001, going to host 10.1.1.2 on the Telnet port. If this packet 

is fragmented, the first fragment matches the second ACE (a deny) because all Layer 3 and Layer 4 

information is present. The remaining fragments in the packet do not match the second ACE because 

they are missing Layer 4 information. Instead, they match the third ACE (a permit).

Because the first fragment was denied, host 10.1.1.2 cannot reassemble a complete packet, so packet 

B is effectively denied. However, the later fragments that are permitted will consume bandwidth on 

the network and resources of host 10.1.1.2 as it tries to reassemble the packet.

•

Fragmented packet C is from host 10.2.2.2, port 65001, going to host 10.1.1.3, port ftp. If this packet 

is fragmented, the first fragment matches the fourth ACE (a deny). All other fragments also match 

the fourth ACE because that ACE does not check any Layer 4 information and because Layer 3 

information in all fragments shows that they are being sent to host 10.1.1.3, and the earlier permit 

ACEs were checking different hosts.

Configuring IPv4 ACLs

Configuring IP v4ACLs on the switch is the same as configuring IPv4 ACLs on other Cisco switches and 

routers. The process is briefly described here. For more detailed information on configuring ACLs, see 

the “Configuring IP Services” section in the “IP Addressing and Services” chapter of the 

Cisco IOS IP 

Configuration Guide, Release 12.2.

 For detailed information about the commands, see the 

Cisco IOS IP 

Command Reference, Volume 1 of 3: Addressing and Services, Release 12.2.

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