CCNP SWITCH (Version 7) – Chapter 2: Network Design Fundamentals

CCNP Enterprise Routing & Switching Original source

Contents

Campus Network Structure

Types of Cisco Switches

Switching

A campus network describes the portion of an enterprise infrastructure that interconnects end devices to services such as intranet resources (residing in the data center) or the Internet.

Flat Networks

Network were first implemented in a “flat” manner where all PCs, servers, and printers are connected to each other using Layer 2 switches.

Broadcast packets received by an end device wastes available bandwidth and resources.

As a result of broadcast issues and many other limitations, flat networks do not scale to meet the needs of modern enterprise networks or of many small and medium-size businesses.

Hierarchical Design

Access layer: Grant the user access to network applications and functions.

Distribution layer: Aggregates the access layer switches wiring closets, floors, or other physical domain by leveraging module or Layer 3 switches.

Core layer (backbone): High-speed backbone, which is designed to switch packets as fast as possible.

Hierarchical Model

Scalable networks are implemented in a hierarchical manner.

A hierarchical model has the following advantages:

Cisco Campus Designs

The Cisco Campus Architecture fundamentally divides networks or their modular blocks into the following hierarchical layers:

This model provides a modular framework that enables flexibility in network design and facilitates implementation and troubleshooting.

Each layer can be focused on specific functions.

Access Layer

The access layer is dedicated to meeting the functions of end-device connectivity.

The access layer is a feature-rich section of the campus network because it is a best practice to apply features (VoIP, PoE, etc.) as close to the edge as possible.

Access Layer Capabilities – What we want (Not necessarily implemented at the access layer)

Distribution Layer

The distribution layer acts as a service and control boundary between the access and core layers.

It consolidates the wiring closets using switches to segment workgroups and isolate network problems in a campus environment.

Distribution Layer

Acts as a services and control boundary between the access layer and the core.

Access layer and the core are dedicated special-purpose layers.

Distribution layer - Serves multiple purposes.

Distribution Layer Summary

When Layer 3 routing is not configured in the access layer, distribution layer:

Core Layer

Backbone for campus connectivity

High level of redundancy and adapt to changes quickly

Minimal control plane configuration

Backbone (core) that binds together all the elements of the campus architecture to include the WAN, the data center, etc.

Core layer interconnects with a data center and edge distribution module to interconnect WAN, remote access, and the Internet.

Core Layer Summary

Provides interconnectivity to the data center, the WAN, and other remote networks
High availability, resiliency, and the ability to make software and hardware upgrades without interruption
Designed without direct connectivity to servers, PCs, access points, and so on
Requires core routing capability
Architected for future growth and scalability
Leverages Cisco platforms that support hardware redundancy

Layer 2 or 3 in the Access Layer?

Layer 3 switching or traditional Layer 2 switching ….

…. benefits and drawbacks.

Layer 2 switching design in the access layer may result in suboptimal usage of links between the access and distribution layer.

Layer 3 switching to the access layer VLANs scales better because VLANs get terminated on the access layer devices.

Layer 2-only access design is a traditional, slightly cheaper solution,

Layer 3 designs also require careful planning with respect to IP addressing.

Asymmetric Routing

Asymmetric routing - A packet traverses from a source to a destination in one path and takes a different path when it returns to the source.
This is commonly seen in Layer-3 routed networks.
Not necessarily a bad thing – Internet and BGP.

1 – 3: DSW1 (Active HSRP routers) is default gateway for PC1
4 - 5: CSW1 load balances sending return traffic to DSW2 (not a bad thing)
6: DSW2 ARP table (4 hour default) has entry for PC1 10.1.1.100…
7: But there is no entry in its MAC table (times out 5 min)
Both access layer switches are on same VLAN (not a best practice).
8: So, DSW2 floods “frames” out all ports on that VLAN (unicast flooding)
Because DSW2 never sees traffic sourced from PC1 (10.1.1.100) it never updates is MAC address table and unicast flooding always occurs.

Solutions:

  1. Change ARP timer (4 hours IOS) to be less than MAC Address Table (5 minutes) timer
    DSW2 would need send ARP request for 10.1.1.100
    PC1 would send ARP Reply
    ARP Reply in Ethernet frame, so DSW2 can now add PC1’s MAC address to its MAC address table
    DSW2 will now send packet for 10.1.1.100 only out the one port
  2. Do not span VLAN across multiple access layer switches

Enterprise Network

Cisco enterprise campus architecture refers to the traditional hierarchical campus network applied to the network design

Collapsed Core

Types of Cisco Switches

Layer 2 and Layer 3 Switches

MAC Address Forwarding

Layer 2 Switch Operation

Layer 3 Switch Operation

Multilayer switches perform Layer 2 switching and ….

……also forward frames based on Layer 3 and 4 information.

Frame Rewrite

When packets transit through a router or L3 switch, the following verifications must occur:

The routing decision is made.

IP packets are then rewritten on the output interface:

Distributed Hardware Forwarding

Network devices contain at least three planes of operation:

Multilayer switches must achieve high performance at line rate across a large number of ports.

To do so, multilayer switches deploy independent control and forwarding planes.

Control plane will program the forwarding plane on how to route packets.

Process Switching

Earliest switching method.

This is an older packet forwarding mechanism.

Fast Switching

As routers had to process more packets, it was determined process switching was not fast enough.

Next evolution in packet switching was Fast Switching.

CEF Switching

Preferred and default Cisco IOS packet-forwarding mechanism

Route Caching

First packet in a stream is switched in software by the route processor.

Information is stored in a hardware forwarding table as a flow.

All subsequent packets are switched in hardware.

Topology-based Switching

CEF Load Balancing

CEF supports both load balancing based on:

Packets with same source-destination host pair are guaranteed to take the same path, even if multiple paths are available.

This ensures that packets for a given host pair arrive in order, which in some cases may be the desired behavior with legacy applications.

Load balancing based only on source and destination IP address has a few shortcomings.

← All CCNP articles Home