Escolar Documentos
Profissional Documentos
Cultura Documentos
Networks
vPC and VSS
Ross Adams
Systems Engineer
In the Beginning…
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
And it was good…
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
Except When it Wasn’t…
Complexity
X Stranded
bandwidth & slow
convergence
X X X X Limited options
for access
redundancy
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
vPC & VSS
Presentation ID © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
5
Virtual Path Channel (vPC)
Presentation ID © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
6
vPC Overview
MCEC Multi-Chassis EtherChannel
vPC Peers
• Available on Nexus platforms
• Allows a single device to use a port channel across
two neighbor switches (vPC peers)
• Eliminate STP blocked ports & Provide fast MCEC
convergence upon link/device failure
vPC Peers
• Maintains independent control planes
MCEC
vPC
! Enable vpc on the switch
dc11-5020-1(config)# feature vpc
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
7
vPC Architecture
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
vPC
vPC - the port channel between the
vPC peers and the downstream device
• Configuration needs to match other
vPC peer member
• Configuration inconsistency can
cause a VLAN or an entire port-
vPC
channel may be suspended (e.g. vPC
vPC
MTU mismatch) member
member
port
port
• Maximum number of active ports
vary by platform. vPC
vPC
member
port
vPC member port - one of a set
of ports (port channels) that form a vPC
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
9
vPC Domain
The pair of vPC switches participating
in the vPC
• Provides for definition of global vPC system
parameters
• You MUST utilize unique Domain id’s for vPC Domains
all vPC pairs defined in a contiguous layer
2 domain
• The vPC peer devices use the domain id to
automatically assign a unique vPC system
MAC address
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
10
vPC Peer
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
11
vPC local system-mac
5K_2
MCEC (vPC)
dc11-4948--2 EtherChannel
§ LACP neighbor sees the same System ID from both vPC peers
§ The vPC ‘system-mac’ is used by both vPC peers
7K_1# sh vpc role 7K_2 # sh vpc role
<snip> <snip>
vPC system-mac : 00:23:04:ee:be:14 vPC system-mac : 00:23:04:ee:be:14
vPC system-priority : 1024 vPC system-priority : 1024
vPC local system-mac : 00:0d:ec:a4:53:3c vPC local system-mac : 00:0d:ec:a4:5f:7c
vPC local role-priority : 1024 vPC local role-priority : 32667
7K_1 7K_2
dc11-5020-3# sh vpc
<snip>
vPC role : secondary, operational primary
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
14
vPC Peer-link vPC imposes the rule that
the peer link should never
be blocking !
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
15
vPC Peer-Keepalive link vPC PKL messages should
NOT be routed over the vPC
PL !
§ Heartbeat between vPC peers
§ Active/Active detection (in case vPC Peer-Link is down) vPC peer-
keepalive link
§ Non-fatal to the operation of VPC
§ UDP message on port 3200, 96 bytes long (32 byte payload), includes
version, time stamp, local and remote IPs, and domain ID
§ Default timers : interval 1 sec / timeout 5sec
Orphan
Device
§ Orphan Port – An orphan port is a interface which
connects to an orphan device
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
17
vPC Configuration Consistency
vPC Domain 10
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
18
How vPC Works
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
Loop Avoidance
4
x
PC B
1 PC A ends a packet to PC B
x
2 MAC B is not known by left switch à flood
blackholing traffic to A
PC A
1
A ↑← 5
x
PC B
x
√ √ X √
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
Design Considerations &
Best Practices
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
vPC Failure Scenario
vPC Peer-link Down
P S
vPC Peer-keepalive
S Secondary vPC
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
24
vPC Failure Scenario
Dual Active
P P
S
vPC Peer-keepalive
à Peers have no way to detect if other peer is still active vPC1 vPC2
§ Primary Peer remains primary and secondary peer takes over the
operational primary role SW3 SW4
§ This results in dual-active scenario and can result in traffic loss /
uncertain traffic behavior
§ When links are restored, the operational primary (former secondary) P Primary vPC
keeps the primary role & former primary becomes operational
secondary S Secondary vPC
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
26
STP with vPC (Default)
Primary Secondary
vPC vPC
Us
BPD
•
• This happens irrespectively of where the designated
STP Root is located
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
27
vPC Peer Switch
STP Root STP Root
VLAN 1 STP Root
VLAN 1
VLAN 2 VLAN 2
vPC peer-switch feature allows a pair of vPC peer devices to appear as a single STP Root in the
L2 topology (same bridge-id)
Simplifies STP configuration by configuring both vPC with the same STP priority
Eliminates recommendation to pin STP Root to the vPC primary switch.
Improves convergence during vPC primary switch failure/recovery avoiding Rapid-STP Sync
Supports a hybrid topology of vPC and non-vPC connections by using the spanning-tree pseudo-
information
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
Recommended for Pure VPC topologies 28
vPC Peer Gateway RMAC A RMAC B
L3
§ Allows a vPC switch to act as the active vPC PKL
L2
gateway for packets addressed to the peer
router MAC vPC PL
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
NX-OS
Orphan-Port Suspend
N7K - 5.2
N5K - 5.0(3) N2
Primary Secondary
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
30
Catalyst Virtual Switching
System (VSS)
Presentation ID © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
31
Catalyst Virtual Switching System
Topology Comparisons
LACP
or PAGP
VSL
Access Switch Access Switch Access Switch Access Switch Access Switch
Stack
Access Switch
Stack Stack
Double Bandwidth & Reduce Latency with Active-Active Multi-chassis EtherChannel (MEC)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
VSS Architecture
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
VSS Architecture
Key Concepts
Catalyst Switch that operates as the Defines 2 Catalyst Switches that participate together
Active Control Plane for the VSS as a Virtual Switching System (VSS)
Special 10GE Port-Channel joins two Catalyst Switches Catalyst Switch that operates as the
allowing them to operate as a single logical device Hot Standby Control Plane for the VSS
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
VSS Architecture
Virtual Switch Link (VSL)
The Virtual Switch Link (VSL) joins two physical chassis together
The VSL provides a control-plane interface to keep both chassis in sync
The VSS “control-plane” uses the VSL for CPU to CPU communications (programming, statistics, etc.) while the “data-plane” uses the VSL
to extend the internal chassis fabric to the remote chassis.
Switch 1 Switch 2
VS Header L2 Hdr L3 Hdr DATA CRC
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
VSS Architecture For Your
Information
no mls qos channel-consistency (or 4 x 40GE) member ports mls qos trust cos
no mls qos channel-consistency
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
VSS Architecture
Load-Balancing for MEC & ECMP
The PFC / DFC hash logic used for MEC and ECMP load-balancing
(to determine the physical port to use) is skewed to always favor LOCAL links!
This avoids overloading the Virtual Switch Link (VSL) with unnecessary traffic loads…
Logical Physical Result Bundle Hash Logical Physical Result Bundle Hash
Interface Interface (RBH) Value Interface Interface (RBH) Value
VSS
Blue Traffic destined for Orange Traffic destined for
the Neighbor will result in the Neighbor will result in
Link 1 being chosen Link 2 being chosen
Link 1 Link 2
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
VSS Architecture
EtherChannel Hash
An IOS command can be used to determine which physical link in the MEC will be used
It can use various hash inputs to yield an 8-bucket RBH value that will correspond to one of the ports
VSS
VSS# show etherchannel load-balance hash-result interface port-channel 10 switch 1 ip 10.1.1.1 20.1.1.1
When using VSS it is important to add switch <#> with the hash result command,
if not the CLI assumes switch 1 when commuting hash results.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
VSS Enabled Campus Design
Unicast ECMP Traffic Flows
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Dual-Active Scenarios
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
High Availability
Dual-Active Detection
However… IT IS POSSIBLE! L
Recommend to deploy the VSL with 2 or more links, distributed across multiple Cards to ensure the highest redundancy
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
High Availability
Dual-Active Detection
If the entire VSL bundle fails, the VSS Domain will enter
into a “Dual Active” scenario
Both switches transition to SSO Active state, and share
the same network configuration
• IP address, MAC address, Router ID, etc.
This can cause communication problems in the network!
3 Step Process
VSL
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
High Availability
Dual-Active Protocols
VSLP VSLP
Switch 1 Switch 2 Switch 1 Switch 2 Switch 1 Switch 2
Active Standby Active Standby Active Standby
v Requires ePAGP capable neighbor: v Direct L2 Point-to-Point Connection v Requires Dual-Home IA Client
v 3750: 12.2(46)SE v Requires 12.2(33)SXI v Only for C6500 / C6800
v 4500: 12.2(44)SE v Requires 15.1(2)SY2
v 6500: 12.2(33)SXH1
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Dual-Active Detection
Detection Method – Fast Hello
Port Channel
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Dual-Active
Recovery
VSS Active
Recovery Mode VSS Active
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Dual-Active
Restoration
Port Channel
VSS Standby
Recovery Mode VSS Active
VSL
Chassis
Reload
Port Channel
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
VSS High Availability
Dual-Active Detection
Recommendations:
§ Enable multiple methods of VSS
Dual-Active Detection:
ePAgP
§ FEX MEC with ePAgP MEC
§ VSLP Fast Hello with FEX MEC Redundant
VSL Links
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
High Availability
Redundancy Schemes
Switch 1 Switch 2
15.1(2)SY4 15.1(2)SY4
If a mismatch of occurs between the Active & Standby, the Standby will revert to RPR mode
Switch 1 Switch 2
15.1(1)SY1 15.1(2)SY4
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
VSS Supervisor
Redundancy
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Virtual Switching System
Inter Chassis SSO/NSF
Switch 1 Switch 2
Switch Is Down Virtual Switch Active
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
VSS Quad Supervisor Support
Why Are Redundant Supervisors Needed?
1. A Supervisor failure will decrease
available VSS bandwidth by 50%
2. Some devices may be single-attach
to the VSS (for whatever reasons)
• Single NIC Servers, AP’s, Phones, Cameras
• Service Modules in Local VSS chassis
• Geographic Separation of VSS chassis
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
VSS Single Supervisor
Normal Operation & SSO Redundancy
100%
Bandwidth
Available
50%
Time
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
VSS Single Sup Operation
Supervisor Failure Example
100%
Bandwidth
Available
50%
Time
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
VSS Single Sup Operation
Supervisor Failure - Manual Repair Example
100%
• Lose 50% Bandwidth until Repair L
Bandwidth
Available
Time
• 100% Impact to Single-Attach Devices
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Quad-Sup Uplink Forwarding S720-10G
12.2(33)SXI4
VSS Supervisor Redundancy
100%
Bandwidth
Available
50%
Time
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Quad-Sup Uplink Forwarding S720-10G
12.2(33)SXI4
For Your
Information
50%
• Automated Chassis & Link Recovery
Time
• Minimize Outage for Single-Attach Devices
Reload
Control Plane Active PlaneStandby
ControlPlane
Control Active
Data Plane Active Data Plane Active
Control Plane Standby
Control
DataPlane
PlaneRPR-Warm
Active Control Plane RPR-Warm
Data Plane Active Data Plane Active
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Quad-Sup SSO Sup2T & Sup6T
15.1(1)SY1 / 15.3(1)SY
Standby-HOT Redundancy Mode
STANDBY HOT (CHASSIS) is a new redundancy mode created for the VSS ICS Supervisor
STANDBY HOT (CHASSIS) mode allows each ICS Supervisor to operate in a separate SSO (RF/CF) Domain, while still also
maintaining the traditional (default) RF/CF Domain between VSS chassis.
The ICS PFC, Switch Fabric and all 1G & 10G uplink ports are Operational and Forwarding
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
VSS Supervisor Redundancy Sup2T & Sup6T
15.1(1)SY1 / 15.3(1)SY
Sup2T Quad-Sup SSO
50%
• Automated Chassis Recovery
50ms – 250ms
• No Flap for Single-Attach Devices
Time
ControlPlane
Control PlaneStandby
Active
Control Plane Active
Data Plane
Data Plane Active
Active
Data Plane Active
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Line Card Data-Plane Sup2T & Sup6T
15.1(1)SY1 / 15.3(1)SY
Redundancy Dependencies (Local Switching)
• No Packet Loss
• Local Switching Hardware (DFC4)
• ICS SSO Synch of L2/L3
• FIB/ADJ, MAC, Protocol FSM, etc
VSS Switch ID 2
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Line Card Data-Plane Sup2T & Sup6T
15.1(1)SY1 / 15.3(1)SY
Redundancy Dependencies (Cross Fabric)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
VSS Supervisor Redundancy Comparison For Your
Information
Bandwidth
single and dual attached devices
Available
- Automated recovery from Supervisor failure 50%
50ms
–
200ms
- SSO switchover is typically 50ms – 200ms
Time
Bandwidth
attached devices
Available
- Automated recovery from Supervisor failure 50%
• Always use at least one uplink from each Supervisor as part of the VSL
• Consider using ALL of the Supervisor uplink ports in the VSL (4 per chassis)
• If you use all 4 Supervisor uplinks, then “Swap the 5s” or “Swap the 4s” in order to
maintain 20Gbps VSL, even during a Supervisor fail event or reload event
• Connect uplink and downlink on local Line Cards (if possible), this will minimize traffic
disruption across Supervisor switchover event
• Must explicitly configure NSF (or NSR if supported) for each routing protocol, to provide
minimum disruption to L3 routed interfaces
• Use DFC enabled linecards with 512MB of available memory in order to minimize Line
Card reload time during EFSU (warm-reload)
• Be sure to copy the system image file to all Supervisor file systems in the same location
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
VSS Deployment Best Practices
DO J
ü Use a unique Domain ID for multiple VSS in the same network!
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Summary
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
Please Complete Your Session Evaluation
69
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public
Thank you
Presentation ID © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
We’re ready. Are you?
VSS Hardware and
Software Requirements
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
VSS is supported on Catalyst 6500, 6800, 4500-E and 4500-X
6500-E / 6807-XL 6880-X / 6840-X 4500-E 4500-X
Supervisors Sup6T, Fixed (Based on Sup2T) Sup7E, Sup7LE Fixed (based on Sup7E)
Sup2T, Sup8E, Sup8LE
Sup720-10G
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
VSS Requirements
Catalyst 6500 and 6800 VSS Support
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
VSS Requirements
Catalyst 6500 and 6800 VSS Support Matrix
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
VSS Requirements
Catalyst 4500-E and 4500-X VSS Support Matrix
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Reference Paper for VSS Quad Sup SSO
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 78