Data Center 1,2
Data Center 1,2
a modern data • In this era, the modern data center is wherever its
data and applications are.
Customer relationship
Productivity management (CRM)
Email and file sharing.
applications. and enterprise resource
planning (ERP).
CO M M U N IC AT I ON
A P P L I C AT I ON CABLE TYPE CO N N EC TO R T Y P E
S TA N DA R D
10/100Mbps (100Base-TX) Ethernet Cat 5e, Cat 6, Cat 6a, Cat7, Cat 7a RJ45
1000Mbps (Gigabit or 1000Base-T) Gigabit Ethernet Cat 5e, Cat 6, Cat 6a, Cat7, Cat 7a RJ45
10Gbps (10GBase-T) 10Gig Ethernet Cat 6a, Cat7, Cat7a RJ45, GG45, TERA
Connector Renderings
Questions To Ask Your Data Center Cable
Supplier
Asking these questions will allow you to have a meaningful
conversation with your provider about cable products and directions:
• Cable types: On what basis are you recommending various cable
solutions to us? What are your recommendations about choices
between passive copper, active copper and active optical cabling?
• Power consumption and cooling: How can we minimize the cooling
obstacles caused by cabling?
• Electromagnetic interference: What steps do you take to control
EMI from your copper cable products?
• Cable manufacturers: Can you tell us who manufactures the cables
you recommend to us?
Data Center Protocols
Spanning Tree Protocol
Data Center Protocols
Spanning Tree Protocol (STP)
• After S3 and S2 exchange BPDUs, STP determines that the F0/2 port on S2
becomes the designated port and the S3 F0/2 port becomes the alternate port,
thus going into the blocking state so there is only one path through the switched
network.
STP Operation
Determine Designated and Alternate Ports
Format Version
Message type
Protocol version; set to 0
Type of message; set to 0
Flags Topology change (TC) bit signals a topology a change;
topology change acknowldgment (TCA) bit used when a
configuration message with the TC bit set has been
received
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 40
Varieties of Spanning Tree Protocols
Types of Spanning Tree Protocols
STP Type Description
802.1D 1998 - Original STP standard
CST One spanning-tree instance
PVST+ Cisco update to 802.1D; each VLAN has its own
spanning-tree instance
802.1D 2004 – Updated bridging and STP standard
Point-to-Point
Shared
PVST+ Configuration
Catalyst 2960 Default Configuration
Feature Default Setting
Enable state Enabled on VLAN 1
Spanning-tree mode PVST+ (Rapid PVST+ and MSTP are disabled)
Switch priority 32768
Spanning-tree port priority (configurable on a per-interface basis) 128
Spanning-tree port cost (configurable on a per-interface basis) 1000 Mb/s: 4. 100 Mb/s: 19 10 Mb/s: 100
or
or
PVST+ Configuration
Packet Tracer – Configuring PVST+
Rapid PVST+ Configuration
Spanning Tree Mode
• Rapid PVST+ supports RSTP on a per-VLAN
basis.
• Default on a 2960 is PVST+.
• The spanning-tree mode rapid-pvst puts a
switch into Rapid PVST+ mode.
• The spanning-tree link-type point-to-point
interface command designates a particular port
as a point-to-point link (does not have a hub
attached).
• The clear spanning-tree detected-protocols
privileged mode command is used to clear STP.
Data Center Protocols
Port Channel
Port Channel
Overview
• When a port channel is created, you will see a new interface in the switch
configuration.
• This new interface is a logical representation of all the member ports of the
port channel.
• The port channel interface can be configured with its own speed,
bandwidth, delay, IP address, duplex, flow control, maximum transmission
unit (MTU), and interface description.
• You can also shut down the port channel interface, which will result in
shutting down all member ports.
Port Channel
Advantages
There are several benefits of using port channels, and because of these benefits
you will find it commonly used within data center networks. Some of these
benefits are as follows:
• Increased capacity: By combing multiple Ethernet links into one logical link, the capacity of the link
can be increased.
• High availability: In case of a physical link failure, the port channel continues to operate even if a
single member link is alive. Therefore, it automatically increases availability of the network.
• Load balancing: The switch distributes traffic across all operational interfaces in the port channel. This
enables you to distribute traffic across multiple physical interfaces, increasing the efficiency of your
network.
• Simplified network topology: it simplifies the network topology by avoiding the STP calculation and
reducing network complexity by reducing the number of links between switches.
Port Channel
Port Channel Compatibility Requirements
• To bundle multiple switch interfaces into a port channel, these interfaces must
meet the compatibility requirements.
• Speed,
• Duplex,
• Flow-control,
• Port mode,
• VLANs,
• MTU,
• Media type
• In case of an incompatible attribute, port channel creation will fail
Port Channel
Overview
• On the Nexus platform, you can use the show port-channel compatibility-
parameters command to see the full list of compatibility checks.
• If you configure a member port with an incompatible attribute, the software
suspends that port in the port channel.
• You can force ports with incompatible parameters to join the port channel if
the following parameters are the same: Speed, Duplex and Flow-control.
EtherChannel Operation
Port Aggregation Protocol
• EtherChannels can be formed by using PAgP or LACP protocol
• PAgP (“Pag-P”) Cisco-proprietary protocol
Port Channel
Port Aggregation Protocol
• EtherChannels can be formed by using PAgP or LACP protocol
• PAgP (“Pag-P”) Cisco-proprietary protocol
Port channel configuration on the Cisco Nexus switches includes the following
steps:
1. Enable the LACP feature. This step is required only if you are using active mode or passive
mode.
2. Configure the physical interface of the switch with the channel-group command and specify
the channel number. You can also specify the channel mode on, active, or passive within
the channel-group command. This command automatically creates an interface port
channel with the number that you specified in the command.
3. Configure the newly created interface port channel with the appropriate configuration, such
as description, trunk configuration, allowed VLANs, and so on.
Port Channel
Configuration
Port Channel
Load Balance
• Nexus switches distribute the traffic across all operational ports in a port
channel.
• The load balancing is done using a hashing algorithm that takes addresses in
the frame as input and generates a value that selects one of the links in the
channel.
• This provides load balancing across all member ports of a port channel.
Port Channel
Verifying The Port Channel Configuration
• Several show commands are available on the Nexus switch to check port channel configuration. These
commands are helpful to verify port channel configuration and troubleshoot the port channel issue
Port Channel
Virtual Port Channel vPC
• A port channel bundles multiple physical links into a logical link. All the member ports
of a port channel belong to the same network switch.
• A vPC enables the extension of a port channel across two physical switches. These two
switches work together to create a virtual domain, so a port channel can be extended
across the two devices within this virtual domain.
• It means that member ports in a virtual port channel can be from two different
network switches.
• In Layer 2 network design, Cisco vPC technology allows dual-homing of a downstream
device to two upstream switches.
• The upstream switches present themselves to the downstream device as one switch
from the port channel and Spanning Tree Protocol (STP) perspective.
Port Channel
Virtual Port Channel vPC
Port Channel
Virtual Port Channel vPC
• The limitation of the classic port channel is that it
operates between only two devices.
• In large networks with redundant devices, the
alternative path is often connected to a
different network switch in a topology that
would cause a loop.
• Virtual Port Channel (vPC) addresses this
limitation by allowing a pair of switches acting as a
virtual endpoint, so it looks like a single logical
entity to port channel–attached devices.
Eng.Sami Althagafi
salthaqafi@tvtc.gov.sa
Fall 2020/2021
What is a Layer 3 Switch?
• A layer 3 switch combines the functionality of a switch
and a router.
• It acts as a switch to connect devices that are on the
same subnet or virtual LAN at lightning speeds.
• It has IP routing intelligence built into it to double up as
a router.
• It can support routing protocols, inspect incoming
packets, and can even make routing decisions based on
the source and destination addresses. This is how a
layer 3 switch acts as both a switch and a router.
• Often referred to as a multilayer switch, a layer 3 switch
adds a ton of flexibility to a network.
Features Of A Layer 3 Switch
The features of a layer 3 switch are:
• The binary AND and XOR operations taking 2 bits and returning 1 bit.
▪ The AND operation will return 1 only if both inputs are 1;
otherwise, the operation will return 0.
▪ In the case of the XOR operation, the result will be 1 if and only
if one of the inputs is 1 and the other is 0; otherwise, if both inputs
are the same, the operation returns 0.
What is a Default Gateway
▪ HSRP Versions
• HSRP Preempt:
o What happens if the router (10.1.1.2) interface Eth1/1 goes up again?
✓ Use preempt command to decrement the priority of router
(10.1.1.3), this will make the router (10.1.1.2) an Active again.
• VRRP Authentication:
▪ VRRP supports only plain-text authentication
▪ Now on to the example, with host A (172.16.1.9) sending a packet to host B (172.16.2.9).
Routing Process
▪ Router R1 processes the frame and packet, as shown with the numbers in the figure matching the same five-step
process described just before the figure, as follows:
Cisco Nexus Switch Operations with Routing
▪ Reading Task:
▪ Read Chapter 18 for more information about Routing Protocols.
▪ Pages 477 to 493
▪ This Chapter will be available on Blackboard.
Routing Protocols on Nexus Device
▪ RIPv2 Configuration On Nexus
1) RIPv2 enabled via routed interfaces
2) Based on SVI being enabled as the Layer 3
interface for routing protocol participation.
• Router IDs are important for identifying the router with a unique
identifier in the routing protocol.
• Each router will have a unique router ID that can be manually
configured or dynamically assigned based on a selection process.
• In NX-OS, the process for selecting the router ID is as follows:
This figure will be used as an example for EIGRP config.
Routing Protocols on Nexus Device
▪ EIGRP Configuration via SVI
The area tag at the end of the ip router ospf 1 area 0 command
shows one difference from the RIP and EIGRP examples:.
Routing Protocols on Nexus Device
▪ OSPF Configuration On Nexus
OSPF enabled via SVI
✓ RIPv2 : 224.0.0.9
✓ EIGRP: 224.0.0.10
✓ OSPF: 224.0.0.5
• Multicast addresses: Frames sent to a multicast Ethernet address will be copied and
forwarded to a subset of the devices on the LAN that volunteers to receive frames sent to a
specific multicast address.
Best Wishes
…