Helpful 2031
Helpful 2031
Helpful 2031
BRKENS-2031
Cisco Krakow
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 2
The goal of this session:
• Present the universal principles of Enterprise
campus design
• Explain the most fundament aspect of the
hierarchal approach for L2 and L3 networks (back
to basics)
• Focus mainly on the wired campus
Questions?
Use Cisco Webex App to chat
with the speaker after the session
How
1 Find this session in the Cisco Live Mobile App
2 Click “Join the Discussion”
3 Install the Webex App or go directly to the Webex space Enter your personal notes here
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
• Introduction
• Campus Vision & Strategy
• Multilayer Campus Design Principles
Agenda • Foundation services
• Campus Design Best Practices
• Conclusion
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Campus Vision &
Strategy
Our Vision and Strategy
Vision Strategy
Help Customers connect,
Change the way the world
secure and automate to
works, lives, plays, and learns
accelerate their digital agility in
a cloud-first world
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Today’s Network Must Drive Digital Transformation
Bandwidth and Latency Sensitive Complexity and Extreme-Scale Increased Risk
Computationally Intensive Mobile and Hybrid Environments No Clear perimeters
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Business Impact
Up to 80% of 3X spend on
network changes performed 6 months to
network operations detect breach
manually
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Cisco’s Enterprise SDN Strategy
Policy and Intent to Unlock the Power of your Distributed System
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Cisco’s Intent Based Networking Solutions
Cloud Edge
SD-WAN
Securely connect and protect workloads
Segment your network and secure user
moving into the cloud and between clouds
access from the edge to the cloud
Learning
Intent
Context
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Built on Cisco Digital Network Architecture
Automation Analytics
Security and
Principles Programmable
Virtualization Compliance
Security
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Multilayer Campus Design
Principles
Building your own house…
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
“.. If you fail to plan
- you plan to fail”
Benjamin Franklin
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
High-Availability Campus Design
Access
Distribution
Core
Distribution
Access
Data Center
WAN DC Internet
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
High-Availability Campus Design
Not This!!
Data Center
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Hierarchical Network Design
Without a Rock Solid Foundation the Rest Doesn’t Matter
Access
o Utilizes Layer 3 routing for load balancing, fast
convergence, scalability, and control
Building Blocks
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Access Layer
Feature Rich Environment
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Distribution Layer
Policy, Convergence, QoS and High Availability
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Core Layer
Scalability, High Availability, and Fast Convergence
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Do I need a Core Layer?
It's Really a Question of Scale, Complexity, and Convergence
Second Building Block– 4 New Links
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Do I need a Core Layer?
It's Really a Question of Scale, Complexity, and Convergence
Second Building Block– 4 New Links
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Design Alternatives Come Within a Building
(or Distribution) Block
Layer2 Access Routed Access StackWise
Virtual
Access
Distribution
Core
Distribution
Access
Data Center
WAN DC Internet
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Layer 2 Distribution Interconnection
Layer 2 Access—No VLANs Span Access Layer
• Summarize routes towards core
Core • STP Root and HSRP primary tuning or Core
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Layer 3 Distribution Interconnection
Layer 2 Access - Some VLANs Span Access Layer
• Summarize routes towards core Core
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
StackWise Virtual and Virtual Stacking
L2 without a STP Liability
• Summarize routes towards core
Core
Core • Limit redundant IGP peering
• Set trunk mode on/no-negotiate
• MUST Ether Channel else blocked
ports
Distribution
• Set port host on access
Distribution
Layer ports:
• Disable trunking
• Disable Ether Channel Access
• Enable PortFast
Access • RootGuard or BPDU-Guard
• Use security features VLAN 20 Data 10.1.20.0/24
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Routed Access and Virtual Switching System
Evolutions of and Improvements to Existing Designs
Advantages:
• Ease of implementation, less to get right Core
• No matching of STP/HSRP/GLBP priority
• No L2/L3 Multicast topology inconsistencies
• Single Control Plane and well-known toolset
• traceroute, show ip route, show ip eigrp neighbor,
Distribution
etc.
• Catalyst 9k platform fully supports L3 switching Layer 3
• EIGRP converges in < 200 msec
• OSPF with sub-second tuning converges in < 200 msec
• RPVST+ convergence times dependent on GLBP / HSRP Access
tuning
Considerations:
• Do you have any L2 VLAN adjacency requirements VLAN 20 Data VLAN 40 Data
10.1.20.0/24 10.1.40.0/24
between access switches
• IP addressing – Do you have enough address space and VLAN 120 Voice VLAN 140 Voice
10.1.120.0/24
the allocation plan to support a routed access design 10.1.140.0/24
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Campus Fabric – The Foundation for SDA
Architecture for the Digital Enterprise
Stretched Subnets
Building Management Employees
Virtual Network Virtual Network
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Campus Fabric – The Foundation for SDA
Architecture for the Digital Enterprise Cisco ISE Cisco DNA Center
Stretched Subnets
Building Management Employees
Virtual Network Virtual Network
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Foundation
services
Foundation Services
• Layer 1 physical things
• Layer 2 redundancy
• STP
• Trunks
• UDLD
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Best Practices - Layer 1 Physical Things
• Review Link Debounce and Carrier- DC ISP
WAN
Delay
• Use point-to-point interconnections -
no L2 aggregation points between Core
nodes
• Use configuration on the physical
interface not VLAN/SVI when possible Distribution
Access
MDF 1
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Link Debounce and Carrier-Delay
Can be adjusted on Cat9500 & Cat9600
• When tuning the campus for optimal convergence, it C9500-32QC-1-4#show interfaces debounce
is important to review the status of the link debounce Port Debounce time Value(ms)
and carrier delay configuration Fo1/0/1
Fo1/0/2
disable
disable
Fo1/0/3 disable
• By default GigE and 10GigE+ interfaces operate with a Fo1/0/4
Fo1/0/5
disable
disable
10 msec debounce timer which provides for optimal Fo1/0/6 disable
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Redundancy and Protocol Interaction
Layer 2 and 3 - Why Use Routed Interfaces
Configuring L3 routed interfaces provides for faster convergence than
an L2 switch port with an associated L3 SVI
L3 L2
1. Link Down
1. Link Down
2. Interface Down
2. Interface Down
3. Autostate
3. Routing Update
4. SVI Down
~ 8 msec loss 5. Routing Update ~ 150–200 msec loss
21:38:37.042 UTC: %LINEPROTO-5-UPDOWN: Line protocol on Interface 21:32:47.813 UTC: %LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet3/1, changed state to down GigabitEthernet2/1, changed state to down
21:38:37.050 UTC: %LINK-3-UPDOWN: Interface GigabitEthernet3/1, 21:32:47.821 UTC: %LINK-3-UPDOWN: Interface GigabitEthernet2/1,
changed state to down changed state to down
21:38:37.050 UTC: IP-EIGRP(Default-IP-Routing-Table:100): 21:32:48.069 UTC: %LINK-3-UPDOWN: Interface Vlan301, changed state
Callback: route_adjust GigabitEthernet3/1 to down
21:32:48.069 UTC: IP-EIGRP(Default-IP-Routing-Table:100): Callback:
route, adjust Vlan301
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Best Practices - Spanning Tree Configuration
• Only span VLAN across multiple access DC ISP
WAN
layer switches when you have to!
• Use rapid RSTP for best convergence
• Required to protect against user side
loops
• Required to protect against operational
accidents (misconfiguration or hardware
failure)
• Take advantage of the spanning tree
toolkit MDF 1
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Multilayer Network Design
Layer 2 Access with Layer 3 Distribution
• Each access switch has unique VLANs • At least some VLANs span multiple access
switches
• No Layer 2 loops
• Layer 2 loops
• Layer 3 link between distribution
• Layer 2 and 3 running over
• No blocked links link between distribution
• Blocked links
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Optimizing L2 Convergence
PVST+, Rapid PVST+ or MST
• Rapid-PVST+ greatly improves the restoration times for any
VLAN that requires a topology convergence due to link UP
Time to restore Data Flows (sec)
• Rapid-PVST+ also greatly improves convergence time over 35
backbone fast for any indirect link failures 30
• PVST+ (802.1d) 25
• Traditional spanning tree Upstream
implementation 20
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Layer 2 Hardening
Spanning Tree Should Behave the Way You Expect
• Place the root where you want it LoopGuard
Root primary/secondary macro
STP Root
• The root bridge should stay where you put it
• RootGuard RootGuard
• LoopGuard
LoopGuard
• UplinkFast
• UDLD
• Port-security
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Best Practices - Trunk Configuration
• Typically deployed on interconnection
DC ISP
between WAN
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Optimizing Convergence: Trunk Tuning
Trunk Auto/Desirable Takes Some Time
• DTP negotiation tuning improves link up convergence time
• IOS(config-if)# switchport mode trunk
• IOS(config-if)# switchport nonegotiate
2.5
Time to Converge in
2
Seconds
1.5
0.5
0
Trunking Trunking
Desirable Nonegotiate
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Best practices – UDLD Configuration
DC WAN ISP
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
UDLD Aggressive and UDLD Normal
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Best Practices - Ether Channel Configuration
• Typically deployed in distribution to
core, and core
to core interconnections
• Used to provide link redundancy—while
reducing peering complexity
• Tune L3/L4 load balancing hash to
achieve maximum utilization of channel
members
• Deploy in powers of two (two, four, or
eight)
• 802.3ad LACP for interop if you need it
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Ether Channel load balancing
Use as much information as possible L3 HASH
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
EtherChannels
Reduce Complexity/Peer Relationships
• More links = more routing peer
relationships and associated overhead
• EtherChannels allow you to reduce peers
by creating single logical interface to peer
over
• On single link failure in a bundle
• OSPF running on a Cisco
IOS-based switch will reduce link cost and
reroute traffic
• EIGRP may not change link cost and may
overload remaining links
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
EtherChannels
1G/10G/20G/40G/100G How do you aggregate it ?
Typical 4:1
Data Over-
Distribution-layer
Subscription Switch
2x10G Uplinks
Maximum oversubscription
7,8:1
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Best Practices
Layer 3 Routing Protocols
DC WAN ISP
• Typically deployed in distribution
to core, and core-to-core
interconnections
• Used to quickly reroute
around failed node/links while providing
load balancing over redundant paths
• Build triangles not squares for
deterministic convergence
• Only peer on links that you intend to
use as transit MDF 1
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Best Practice - Build Triangles not Squares
Deterministic vs. Non-Deterministic
Squares: Link/Box Failure Requires Triangles: Link/Box Failure Does not
Routing Protocol Convergence Require Routing Protocol Convergence
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Best Practice - Passive Interfaces for IGP
Limit IGP Peering Through the Access Layer
• Limit unnecessary peering using passive
interface:
• Four VLANs per wiring closet
• 12 adjacencies total BLOCK BLOCK BLOCK BLOCK BLOCK
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Why You Want to Summarize at the Distribution
Limit EIGRP Queries and OSPF LSA Propagation
• It is important to force summarization at the WAN
interface Port-channel1
description to Core#1 Access
ip address 10.122.0.34 255.255.255.252
ip hello-interval eigrp 100 1
ip hold-time eigrp 100 3
10.1.1.0/24 10.1.2.0/24
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Why You Want to Summarize at the Distribution
Limit EIGRP Queries and OSPF LSA Propagation
• It is important to force summarization at the WAN
EIGRP Example:
interface Port-channel1
description to Core#1 Access
ip address 10.122.0.34 255.255.255.252
ip hello-interval eigrp 100 1
ip hold-time eigrp 100 3
ip summary-address eigrp 100 10.1.0.0 255.255.0.0 5
10.1.1.0/24 10.1.2.0/24
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Bidirectional Forwarding Detection (BFD)
• Detect faults between 2 routers
The official recommendation for
• Fast (reaction time in milliseconds) Catalyst 9000 switches
• 250ms x3 for physical interfaces
• Let the upper routing protocols (ISIS, BGP, OSFP, Static) • 750ms x3 for SVI
that a link is down faster than the DEAD timer of that RP
realize it
BFD
• Works on directly connected routers, as well as routers
separated by a L2 cloud (Metro Ethernet, MPLS,VPLS,
Pseudowire, …)
• Uses fast exchange of IP/UDP packets
• port 3784 for control interface Gig1/0/1
ip address 1.1.1.1 255.255.255.0
• port 3785 for echo bfd interval 300 min_rx 300 multiplier 3
ip ospf 1 area 0
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
First Hop Redundancy with HSRP
R1 – Active , Forwarding traffic
R2 – Hot Standby, Idle
• A group of routers function as one virtual router by
IP: 10.0.0.254
sharing one virtual IP address and one MAC: 0000.0c12.3456
IP:
MAC:
10.0.0.253
0000.0c78.9abc
virtual MAC address vIP:
vMAC:
10.0.0.1
0000.0c07.ac00
vIP:
vMAC:
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
First Hop Redundancy with Load Balancing
Cisco Gateway Load Balancing Protocol (GLBP)
• Each member of a GLBP redundancy
group owns a unique virtual MAC
address GLBP 1ip :10.0.0.1 GLBP 1ip :10.0.0.1
for a common IP address/default vMAC: :0000.0000.0001 vIP:10.0.0.1 vMAC: :0000.0000.0002
gateway R1 R2
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Optimizing Convergence: VRRP, HSRP, GLBP
Mean, Max, and Min—Are There Differences?
• HSRP has sub-second timers; however all flows go through same HSRP peer so there
is no difference between mean, max, and min
• GLBP has sub-second timers and distributes the load amongst the GLBP peers; so
50% of the clients are not affected by an uplink failure
50% of Flows
GLBP Is
Have ZERO Loss
1.2 50% Better
W/ GLBP
1
0.8
0.6
0.4
0.2
0
Longest Shortest Avarage
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
If You Span VLANS, Tuning Required
By Default, Half the Traffic Will Take a Two-Hop L2 Path
• Distribution switches act as default gateway
• Blocked uplink caused traffic to take less than optimal path
Core
CORE
Layer 3
Access Blocking
Layer 2
Blocking
VLAN 2 VLAN 2
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Campus Best
Design Practices
Daisy Chaining Access Layer Switches
Avoid Potential Black Holes
• Return Path Traffic Has a 50/50 Chance of Being ‘Black Holed’
Traffic Dropped
with no Path to
the destination
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Daisy Chaining Access Layer Switches
Cisco StackWise technology
• Allows up to a maximum of 8 switches to be stacked
together physically in a ring topology to form a single,
unified, virtual stack system.
• Unified control and management plane by electing
one switch in the stack as the active switch and Active
another switch as the hot-standby. Remaining Standby
switches become stack members
Member
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Cisco StackWise technology
• Catalyst 9200 Series StackWise-160/80
• Catalyst 9200 Series switches enable stacking of up to 8 switches
and 416 ports
• StackWise-160 is supported on Catalyst 9200 switch models
• StackWise-80 is supported on Catalyst 9200L switch models
VLAN 2
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
StackWise Virtual Technology
• StackWise Virtual technology combines two Catalyst 9000
Series switches into a single logical network entity from the
network control plane and management perspectives.
SVL
Active Standby
• All control plane functions are centrally managed by the
active switch. From the data-plane and traffic-forwarding Single Unified Virtual Stack System
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
StackWise Virtual Technology
• Meant for Distribution and Core layer
• Formed using front panel ports
• Dual-homed connections
Core Core
Layer 3 Layer 3
• Simplify Operations by
L3 Active L3 Stb Eliminating STP, FHRP and
Multiple Touch-Points
• Double Bandwidth & Reduce
Distribution Distribution Latency with Active-Active
Layer 2/3 HSRP/ Layer 2/3 Multi-chassis EtherChannel
GLBP
(MEC)
L2 Active Stb • Minimizes Convergence with
Sub-second Stateful and
L2 Graceful Recovery (SSO/NSF)
Access Access
Layer 2 Layer 2
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Asymmetric Routing (Unicast Flooding)
Affects redundant topologies with shared L2 access
• One path upstream and two paths
downstream
• CAM table entry ages out on
standby HSRP Asymmetric
Equal Cost
Return Path
Downstream
Packet Flood !
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Best Practices Prevent Unicast Flooding
• Assign one unique data and voice VLAN to each
access switch
• Traffic is now only flooded down
one trunk Asymmetric
Equal Cost
Return Path
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Routing in the Access
Pros: Cons:
• Improved convergence • A different set of VLANs on different access switches
• Simplified multicast configuration • Lower flexibility
• Dynamic traffic load balancing • Overhead in additional IP subnetting planning
• Single set of troubleshooting tools
(for example, ping and traceroute)
• Ease migration towards SDA/EVPN
Core CORE
Core CORE
Layer 3
Layer 3
Distribution Distribution
Layer 2/3 Layer 3
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
QoS End-to-End
• Prepare your strategy – what are the Critical/ Business relevant/Default applications?
• Understand QoS capabilities of used platforms
• Match the strategy against the platform capabilities
• Always build bidirectional and End-to-End policy
1P3Q3T
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
DNA-C QoS Automation with Application Policy
Network Operators express
high-level business-intent
to Application Policy Southbound APIs translate
business-intent to
platform-specific configurations
DeviceSTATIC
SpecificQoS
Config
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Conclusions
Without a Rock Solid Foundation
- the Rest Doesn’t Matter
Access
Distribution
Core
Distribution
Access
Data Center
WAN DC Internet
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Summary
• Hierarchy — each layer has a specific role
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
Complete your Session Survey
• Please complete your session survey
after each session. Your feedback
is important.
• Complete a minimum of 4 session
surveys and the Overall Conference
survey (open from Thursday) to
receive your Cisco Live t-shirt.
• All surveys can be taken in the Cisco Events Mobile App or
by logging in to the Session Catalog and clicking the
"Attendee Dashboard” at
https://www.ciscolive.com/emea/learn/sessions/session-catalog.html
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Continue
Agenda Your Education
BRKENS-2031 © 2023 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
Thank you