Академический Документы
Профессиональный Документы
Культура Документы
CCCCNNPA Semester3
Semes t eBrC 3M S N
Module 1
Campus Networks
and Design
Models
www.hanoictt.com
Overview
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
VLAN come
to help
www.hanoictt.com
local
remote enterprise
www.hanoictt.com
Design model
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Switching
Layer 2 Switching
Switches based on MAC address
hardware based bridging
edge of the network (new campus mode)
Layer 3 Switching
Switching at L2, hardware-based routing at L3
Layer 4 Switching
Switching at L2, hardware-based routing at L3, with decisions optionally made on L4
information (port numbers)
Forwarding decisions based on MAC address, IP address, and port numbers
Help control traffic based on QOS
ASIC (Application-specific Integrated Circuit)
Specialized hardware that handles frame forwarding in the switch
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Layer 2 Switching
Forwarding decisions/ filtering frames based on information contained in the
frames (Layer 2 fields)
Significantly faster because they switch in hardware. Offer higher port densities
than bridges. Might include features cut-through switching (oppose with store-
and-forward )
Switch helps to decrease the number of hosts per physical segment creating a
flatter design with more segments in the campus network
The broadcast and multicast increases with the number of hosts, and broadcasts
are still propagated across the network. (still need L3 devices)
www.hanoictt.com
Layer 3 Switching
Layer 3 switching is hardware-based routing
Act as router does
The primary difference between the packet-switching operation of a router and a
Layer 3 switch lies in the physical implementation. In general-purpose routers,
microprocessor-based engines typically perform software-based packet
switching. A Layer 3 switch performs packet switching with hardware
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Layer 4 Switching
Is layer 3 switching hardware-based routing have ability of layer 4 information processing
One advantage of Layer 4 switching is it allows QoS to be applied to traffic. QoS is typically
applied to classes of traffic defined by port numbers so it can be said to provide application-
based prioritization.
Layer 4 switching need the ability to identify and store large numbers of forwarding-table
entries,
Mulilayer switching
Cisco specialized form of switching and routing, not generic L3 routing/L2 switching (not focus in
our CCNP)
MLS combines Layer 2 switching, Layer 3 routing functionality, and the caching of Layer 4 port
information.
The switch caches information about a given flow of data through the switch, inspecting the PDU
header information of the first frame in the flow and switching the remaining data at wire speed
based on the information from the first frame.
route once, switch many
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Multicast
Multicast is configured so that one-to-many and many-to-many communication with voice and video
take place so that multicast traffic is only routed to the right users
We may need protocols like Protocol Independent Multicast (PIM) protocol, Internet Group
Management Protocol (IGMP), and IGMP Snooping or Cisco Group Multicast Protocol (CGMP).
If multicast applications is needed, it is critical that network design take into account multicast
functionality. The switches should support IGMP Snooping or CGMP as well as the various PIM
modes and Multicast Source Discovery Protocol (MSDP)
www.hanoictt.com
Sample 3-layer
hierarchy
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Core Layer
Switches packets as fast as possible
Considered the backbone of the network
Should not perform packet manipulation
No ACLs
No routing (usually)
No trunking
VLANs terminated at distribution device
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Distribution Layer
The distribution layer of the network divides the access and core layers and helps to define and
differentiate the core.
Departmental or workgroup access
Broadcast/multicast domain definition
VLAN routing
Any media transitions that need to occur
Security
Packet manipulation occurs here
www.hanoictt.com
Access Layer
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Access Layer
The access layer is the point at which local end users are allowed into the network.
Shared bandwidth
Switched bandwidth
MAC-layer filtering
Microsegmentation
Remote users gain network access
www.hanoictt.com
Contributing variables:
Server block
WAN block
Mainframe block
Internet connectivity
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Redundant L2
devices/links
This may not be
www.hanoictt.com
A traffic bottleneck occurs in the routers at the distribution layer because of intensive CPU
www.hanoictt.com
Core Block
A core is required when there are two or more switch blocks, otherwise the core or
backbone is between the distribution switch and the perimeter router
The core block is responsible for transferring cross-campus traffic without any processor-
intensive operations.
All the traffic going to and from the switch blocks, server blocks, the Internet, and the wide-
area network must pass through the core.
The core handles much more traffic than any other block (20/80 rule)
the blocks as
quickly as possible Catalyst 5000/5500
Catalyst 6000/6500
Catalyst 8500
Because VLANs terminate at the distribution device, core links are not trunk
links and traffic is routed across the core.
core links do not carry multiple VLANs per link.
One or more switches can make up a core subnet
a minimum of two devices must be present in the core to provide
www.hanoictt.com
redundancy
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
The core can consist of one subnet. However, for resiliency and load balancing, at least
two subnets are configured. Core links do not carry multiple VLANs per link.
The links between core switches in the same core subnet should be sufficient to switch
the aggregate amount of traffic with respect to the input aggregation switch traffic.
www.hanoictt.com
The core block can consist of high-speed Layer 2 devices or Layer 3 devices.
Collapsed core
consolidation of DL and core-layer functions into one device.
prevalent in small campus networks
each AL switch has a redundant link to the DL switch.
Each AL switch may support more than one subnet; however, all subnets
terminate on L3 ports on the DL/core switch
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Collapsed core
Redundant uplinks provide L2 resiliency between the AL and DL switches.
Spanning tree blocks the redundant links to prevent loops.
Redundancy is provided at Layer 3 by the dual distribution switches with
Hot Standby Router Protocol (HSRP), providing transparent default
gateway operations for IP. (later)
www.hanoictt.com
Dual Core
necessary when two or more switch blocks exist and redundant connections are
required
provides two equal-cost paths and twice the bandwidth.
Each core switch carries a symmetrical number of subnets to the L3 function of
the DL device.
Each switch block is redundantly linked to both core switches, allowing for two
distinct, equal path links.
no redundant links
between the core
switches,
the core contains only
Layer 2 switches for
the backbone
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Classic design
Model
L2/L3/L2
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Expensive !!!
Very large network
www.hanoictt.com
1 2
3
www.hanoictt.com
Layer 3+
switch
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Layer 2 Backbone
Cost-effectiveness and high availability are high priorities
Campus building blocks and server farms connect to the backbone with redundant
Gigabit Ethernet or Gigabit EtherChannel trunks.
Layer 3 switching across the backbone uses routing based on EIGRP, OSPF, or IS-
IS for load balancing and fast recovery from failures.
www.hanoictt.com
Layer 3 Backbone
Layer 3 backbone need for very high performance is desired for supporting multimedia
applications based on IP unicast and multicast.
Additional requirements of these designs typically include:
Nonblocking campus backbone that scales to many Gbps of throughput, Broadcast
containment, Very fast deterministic failure recovery, campus-wide, Support applications
based on Novell IPX, DECnet, AppleTalk, and SNA
This design allows a manageable switched infrastructure that scales to a huge campus with
many buildings and tens of thousands of networked devices.
One or several high-capacity server farms provide application resources to the campus.
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
ATM Backbone
ATM backbone designs are typically used for a very large switched campus intranet that demands high
performance and availability. Requirements of these designs typically include:
High performance and very high availability for IP applications, Trunking for native real-time voice and video
applications, Fast deterministic failure recovery for high application availability, Support applications based on
Novell IPX, DECnet, AppleTalk, and SNA
This design solution provides a manageable switched infrastructure for a large campus with thousands of networked
devices.
Buildings are connected across a high-performance ATM switched backbone. IP routing protocols as well as ATM
routing with Private Network-to-Network Interface (PNNI) provide network redundancy and high availability. One or more
high-capacity server farms provide resources to the campus.
Password recovery
Each networking device has its own procedure for recovering passwords. For
Cisco devices, the procedures are conveniently organized by platform at
http://www.cisco.com/warp/public/474/
Catalyst 2950 and 3550 only:
www.hanoictt.com
Password recovery
Step 1 Unplug the power cable.
Step 2 Hold down the MODE button located on the left side of the front panel while
reconnecting the power cord to the switch. Release the mode button a second or two after the LED above
port 1x is no longer lit. The following instructions appear:
The system has been interrupted prior to initializing the flash file system.
Step 3 Type flash_init. This initializes the Flash file system.
Step 4 Type load_helper. This loads and initializes the helper image, which is a minimal IOS
image stored in ROM that is typical for disaster recovery.
Step 5
Type dir flash: (do not forget the colon). This displays a list of files and directories in the Flash file system.
Step 6 Type rename flash:config.text flash:config.old to rename the configuration file. This is
the file that contains the password definition.
Step 7 Type boot to reboot the system.
www.hanoictt.com
HANOICTT NETWORKING ACADEMY
CCNA
P SSeem
meesstteerr13 - B C M S N
Password recovery
Step 8 Enter n (for no) at the prompt to by-pass the System Configuration Dialog.
Step 9 At the normal switch prompt, type enable to enter the privileged mode.
Step 10 Type rename flash:config.old flash:config.text to rename the configuration file to its
original name.
Step 11 Copy the configuration file, config.text into running-configuration as shown below:
Switch#copy startup-config running-config
Destination filename [running-config]? <press ENTER>
1613 bytes copied in 1.316 secs (1613 bytes/sec)
Switch#
The configuration is now reloaded.
Step 12 Change the password or passwords:
Switch#configure terminal
Switch(config)#no enable password
Switch(config)#enable secret cisco
www.hanoictt.com
Switch(config)#^Z
Step 13 Save the running-configuration to the configuration file:
Switch#copy running-configuration startup-configuration