Cisco VSS
Cisco VSS
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 71
White Paper
Table of Contents
Introduction ................................................................................................................................................... 3
Cisco Catalyst 6500 Series Virtual Switching System 1440: An Overview .................................................. 3
Cisco Catalyst 6500 Series Virtual Switching System 1440 Architecture..................................................... 3
Centralized Management .............................................................................................................................. 4
Router MAC Addresses ................................................................................................................................ 5
Virtual Switch Link ......................................................................................................................................... 7
Control-Plane Communication ...................................................................................................................... 7
Virtual Switch Link Initialization ..................................................................................................................... 8
Cisco Catalyst 6500 Series Virtual Switching System 1440 Hardware Requirements ................................. 9
Cisco Catalyst 6500 Series Virtual Switching System Hardware Deployment Recommendations ............ 12
Cisco EtherChannel Concepts .................................................................................................................... 14
Multichassis Cisco EtherChannel Links ...................................................................................................... 17
Multichassis Cisco EtherChannel Link Management Protocols ................................................................. 18
Virtual Switch Mode .................................................................................................................................... 18
Operational Management ........................................................................................................................... 23
Console Management ................................................................................................................................. 23
Interface Numbering.................................................................................................................................... 23
File-System Naming .................................................................................................................................... 24
Reloading the Cisco Virtual Switching System and Its Members ............................................................... 25
Systemwide PFC Mode............................................................................................................................... 26
Using the Cisco Network Analysis Module in a Cisco Virtual Switching System Environment .................. 26
Managing Cisco Virtual Switching System Using CiscoWorks LMS .......................................................... 29
CiscoView Chassis Management and Monitoring ...................................................................................... 29
High Availability ........................................................................................................................................... 30
Virtual Switch Priorities and Switch Preemption ......................................................................................... 32
First Hop Redundancy Protocols ................................................................................................................ 35
Failure Scenarios ........................................................................................................................................ 36
Detection Mechanisms and Configuration .................................................................................................. 42
Action upon Dual-Active Detection ............................................................................................................. 46
Recovery from Dual-Active Scenario .......................................................................................................... 47
Quality of Service ........................................................................................................................................ 48
VSL as a Congestion Point ......................................................................................................................... 48
Control Traffic over VSL .............................................................................................................................. 51
Using Supervisor Engine 720-10G VSS 10 Gigabit Ethernet Uplink Ports as VSL Interfaces ................... 51
Applying Policies ......................................................................................................................................... 52
Policing ........................................................................................................................................................ 52
Access Control Lists.................................................................................................................................... 54
Image and Patch Management ................................................................................................................... 57
Upgrading the Full Cisco IOS Software Image & Patch Upgrade Using Enhanced Fast
Software Upgrade (eFSU) .................................................................................................................... 69
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 71
White Paper
Introduction
The Cisco Catalyst 6500 Series Virtual Switching System (VSS) 1440 is a new and exciting innovation on the Cisco®
Catalyst® 6500 Series switches that effectively allows the clustering of two or more physical chassis together into a
single, logical entity. This technology allows for new enhancements in all areas of network design, including high
availability, scalability, management, and maintenance.
This paper analyzes the Cisco VSS technology, including its benefits and requirements, and highlights potential
deployment caveats you should consider before deploying Cisco Virtual Switching System.
The key enabler of the Cisco Virtual Switching System technology is a special link that binds the two chassis
together, called a Virtual Switch Link (VSL). The VSL carries special control information and encapsulates every
frame with a header that passes across this link.
Within the Cisco Virtual Switching System, one chassis is designated as the active virtual switch and the other is
designated as the standby virtual switch. All control-plane functions, including management (Simple Network
Management Protocol [SNMP], Telnet, Secure Shell [SSH] Protocol, etc.), Layer 2 protocols (bridge protocol data
units [BPDUs], protocol data units [PDUs], Link Aggregation Control Protocol [LACP], etc.), Layer 3 protocols (routing
protocols, etc.), and software data path are centrally managed by the active supervisor engine of the active virtual
switch chassis. The supervisor engine on the active virtual switch is also responsible for programming the hardware
forwarding information onto all the distributed forwarding cards (DFCs) across the entire Cisco Virtual Switching
System as well as the policy feature card (PFC) on the standby virtual switch supervisor engine.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 71
White Paper
From data-plane and traffic-forwarding perspectives, both switches in the Cisco Catalyst 6500 Series Virtual
Switching System 1440 actively forward traffic. The PFC on the active virtual switch supervisor engine performs
central forwarding lookups for all traffic that ingresses the active virtual switch, whereas the PFC on the standby
virtual switch supervisor engine performs central forwarding lookups for all traffic that ingresses the standby
virtual switch.
Additionally, all DFCs across the entire Cisco Virtual Switching System can also simultaneously perform packet
lookups. As a result, the Cisco Virtual Switching System in aggregate offers greater than 800 Mpps of IPv4 lookup
performance. Because the switch fabrics of both switches are also in an active state, the Cisco Virtual Switching
System in aggregate has the switch fabric capacity of 1440 Gbps, or 1.44 Tbps.
Centralized Management
The fundamental design of a Cisco Catalyst 6500 Series Virtual Switching System 1440 allows for the centralized
management of all network and device resources, including Layer 3 protocols (Open Shortest Path First [OSPF],
Enhanced Interior Gateway Routing Protocol [EIGRP], Border Gateway Protocol [BGP], etc.) and Layer 2 protocols
(Spanning Tree Protocol, Unidirectional Link Detection Protocol [UDLD], Flow Control, LACP, etc.). A single
supervisor engine in the Cisco Virtual Switching System is elected as the central management point for the
entire system.
The chassis containing the supervisor engine acting as the single management point is referred to as the active
virtual switch. The peer chassis is referred to as the standby virtual switch. The single supervisor engine acting as the
single management point is referred to as the active supervisor engine, and the peer supervisor engine in the standby
virtual switch chassis is referred to as the hot-standby supervisor engine. You can verify this setup with the following
commands:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 71
White Paper
In a standalone Cisco Catalyst 6500, the router MAC address is derived from the MAC erasable electronic
programmable read only memory (EEPROM) that is embedded in each Cisco Catalyst 6500 chassis. In a Cisco
Virtual Switching System environment, because two physical chassis form the single, logical device, the router MAC
addresses must be consistent across both physical chassis. Therefore, the assignment of the router MAC address
varies in a Cisco Virtual Switching System environment.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 71
White Paper
In a Cisco Virtual Switching System environment, the router MAC address assigned to the entire Cisco Virtual
Switching System is the router MAC address derived from the MAC EEPROM of the active virtual switch chassis
upon initial system activation. When the virtual switch transitions to active state, it assigns all its Layer 3 interfaces
with its own router MAC address local to its MAC EEPROM. When the standby virtual switch is brought online after
VSL activation, it also derives its router MAC addresses from the MAC EEPROM of the active virtual switch. From
this point onward, even if a switchover occurs between the virtual switches (causing a role change), the MAC address
remains consistent (Figure 3).
If the entire Cisco Virtual Switching System is restarted and brought online again but the peer switch assumes the
active virtual switch role on activation, the router MAC address changes. In most environments, this change does not
represent a problem because gratuitous Address Resolution Protocol (ARP) frames advertising the new router MAC
addresses are transmitted upon interface initialization. If you have devices that do not interpret gratuitous ARP
frames in your network, you should configure a static router MAC address on the interface:
vss#conf t
Enter configuration commands, one per line. End with CNTL/Z.
vss(config)#int te2/1/2
vss(config-if)#mac-address 000f.f8aa.9c00
vss(config-if)#^Z
vss-demo-1#
*Jul 12 06:49:56.441: %SYS-5-CONFIG_I: Configured from console by console
If you issue this command and save the configuration, the Cisco Virtual Switching System will always use the
manually configured address, regardless of the role it assumes.
In addition to the first two methods of specifying the router mac-address, we have introduced with 12.2(33)SXH2, a
method to select a router mac-address from a VSS reserved pool. The router-mac address will be derived from a
formula that uses the domain-id of the VSS pairs. This will make the router mac unique for a virtual switch domain
and will remain the same irrespective of which becomes active.
Configured Router mac address is different from operational value. Change will take effect after config is saved.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 71
White Paper
The VSL, formed as a Cisco EtherChannel® interface, can comprise links ranging from 1 to 8 physical member ports.
These links carry two types of traffic: the Cisco Virtual Switching System control traffic and normal data traffic. In
order to ensure that control traffic gets highest priority across the VSL, a special bit is set on all VSL control frames to
help ensure that these frames always get priority service from both ingress and egress hardware queues. From a
data-plane perspective, the VSL is used to extend the internal chassis data path to the neighboring chassis. Data
traffic sent on the VSL is load balanced using the regular Cisco EtherChannel load-balancing algorithms.
All frames that are sent across the VSL are encapsulated with a virtual switch header (VSH), which is appended to
the frame by the egress port application-specific integrated circuit (ASIC) and striped off on the other side of the VSL
by the ingress port ASIC. The VSH carries information such as the ingress port index, destination port index, VLAN,
class of service (CoS), etc. The size of the VSH is the same as that of the internal compact header used by the
Cisco Catalyst 6500; it is 32 bytes long. This header is placed after the Ethernet preamble and directly before the
Layer 2 header.
Because a VSH is appended onto every frame that is sent across the VSL, there are also new port ASIC
requirements to be able to form the VSL. The interfaces that can currently form the VSL are the 10 Gigabit Ethernet
uplink interfaces on the Cisco Catalyst 6500 Series Supervisor Engine 720-10G VSS as well as those on the 8-port
10 Gigabit Ethernet line card (WS-X6708-10G-3C/XL).
The VSL is both the enabling technology of the Cisco Virtual Switching System and a critical link of the system.
Internal Cisco Catalyst 6500 control information that is usually retained within the chassis must now be exchanged
across the VSL to the peer switch, extending the backplane between the two switches. You should, therefore, always
provision the VSL to contain at least two member links, which should be deployed along different physical paths or
conduits. You should minimize data traffic use of the VSL wherever possible. Refer to the section “Cisco
EtherChannel Concepts” for more details.
Control-Plane Communication
The VSL is crucial for both CPUs in each supervisor engine to communicate with each other. It is also used to
determine which virtual switch becomes the active virtual switch and which becomes the standby virtual switch.
Because this determination affects the behavior of each switch, the roles must be negotiated very early during the
chassis bootup cycle. As a result, the system must bring the VSL and its associated ports online before initializing the
rest of the system.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 7 of 71
White Paper
Communication between the two chassis is facilitated with internal messaging that is sent across the VSL. Because
the VSL is implemented as a Cisco EtherChannel interface, it is resilient to single-link failures. However, realistically
only a single link of the VSL is chosen as the control link at any given time because the hash algorithm of the Cisco
EtherChannel interface is based on the source and destination MAC addresses, which are always the same for
each CPU.
1. Link initialization
The VSL link initialization occurs very early in the system boot cycle—it actually occurs even before the configuration
file is parsed and the system is initialized. To determine which ports form members of the VSL, the configuration is
preparsed to extract the appropriate VSL commands and their associated interfaces, so that the modules containing
these interfaces can be powered up, diagnostics run, and VSL interfaces brought online.
The Link Management Protocol (LMP) operates on each link of the VSL and is part of the Virtual Switch Link Protocol
(VSLP). It performs the following functions:
2. Role resolution
The role of each physical chassis is resolved by another protocol that forms part of VSLP—the Role Resolution
Protocol (RRP), which performs the following functions:
● Determines whether the hardware and software versions allow a Cisco Virtual Switching System to be formed
● Determines which chassis will become the active virtual switch and which will become the standby virtual
switch chassis from a control-plane perspective.
An example of how configuration checking may force the system into RPR mode is provided in the following output:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 8 of 71
White Paper
This output shows that the configuration consistency check failed because of a mismatch in the VSL configuration
between switch 1 and switch 2. In this case, switch 2 has an extra “shutdown” statement under one of its VSL
members, whereas switch 1 does not, forcing the standby virtual switch (in this case switch 1) into RPR mode.
In order to recover from this situation, make any necessary changes to the configuration, save the configuration, and
reload the standby chassis:
vss#conf t
Enter configuration commands, one per line. End with CNTL/Z.
vss(config)#int te1/5/4
vss(config-if)#no shut
vss(config-if)#^Z
vss#wr
Building configuration...
Upon reload of switch 1, you should be able to observe that configurations are not synchronized and both switches
can enter into NSF/SSO mode:
Cisco Catalyst 6500 Series Virtual Switching System 1440 Hardware Requirements
Specific hardware is required to enable the Cisco Virtual Switching System feature; it exists in the form of the
supervisor engine and system forwarding engines, the VSL-capable modules, and modules that may exist in a Cisco
Virtual Switching System-enabled system.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 9 of 71
White Paper
Forwarding Engine
The forwarding engine of the Cisco Catalyst 6500 may exist in the form of a PFC on the supervisor engine or a DFC
that is installed on the individual line cards. These forwarding engines perform lookup functions for every frame that
enters into the system and can determine the ultimate destination of the packet as well as providing value-added
services such as security access control list (ACL) and quality of service (QoS) lookups.
A standalone Cisco Catalyst 6500 and a Cisco Virtual Switching System-enabled Cisco Catalyst 6500 have two
notable differences:
● Both the active and the hot-standby supervisor engine PFCs are active and are used to perform packet
lookups for centralized lookup on each chassis.
● All forwarding engines are required to cater for an increased amount of port index information to be able to
address a fully populated Cisco Virtual Switching System-enabled chassis. In the initial release of software,
this requirement generally indicates a requirement to address twice the number of physical ports.
As a result, a new system forwarding engine mode is required to enable the Cisco Virtual Switching System
capabilities. This new mode is the Policy Feature Card 3C (PFC3C) or Policy Feature Card 3CXL (PFC3CXL) mode.
You can verify the operating mode of the system with the following command:
Because the system also operates in a lowest-common-denominator mode, it is important to ensure that all other
forwarding engines in the chassis are either at PFC3C mode or above (PFC3CXL). If a lower-mode module was
previously inserted into the chassis that forced the system mode of operation to PFC3A, PFC3B, or PFC3BXL mode,
then the Cisco Virtual Switching System function will not be enabled on the system. Likewise, if a module with a
lower-mode DFC is inserted into the chassis after conversion to Cisco Virtual Switching System mode, the system will
not grant power to the module.
Additionally, the supervisor engines of both chassis may prenegotiate their modes to be in PFC3CXL mode during
VSL initiation. If modules are installed in a system that contains a DFC3C, then the module may never be allowed to
power up. This example is further highlighted by the case where the VSL module itself is a DFC3C, but the supervisor
engine has a PFC3CXL. In this case, the VSL-enabled module may never power up. To avoid this situation, configure
the following global command if installation of a mix of PFC3C and PFC3CXL modules is possible:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 10 of 71
White Paper
Note: The WS-X6716-10G-3C/XL can operate in two modes—Oversubscription and Performance Mode (only 1
port from each port-group can be used). For more information, please refer to this link:
http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps708/qa_cisco_catalyst_6500_series_16port_10gigabit
_ethernet_module.html
These interfaces contain new port ASICs that allow the VSH to be encapsulated on each frame forwarded out of the
port and also support the ability to de-encapsulate VSH-tagged frames.
Supported Chassis
From a chassis perspective, both E-Series chassis and non E-Series chassis are supported within a Cisco Virtual
Switching System environment, with the exception of the Cisco Catalyst 6503 (non E-Series) and Cisco Catalyst
6509-NEB (non E-Series). Table 1 gives a complete list of the chassis supported with the initial release of Cisco
Virtual Switching System:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 11 of 71
White Paper
It should be noted that there is no requirement that the two members of the Cisco Virtual Switching System use the
same chassis type. The members consisting of the Cisco Virtual Switching System can be different chassis with
varying slot counts.
Additionally, note that no Cisco 7600 Series chassis will be supported after the system is converted to Cisco Virtual
Switching System mode.
Supervisor Engine
The supervisor engine that supports the Cisco Virtual Switching System feature is the Supervisor Engine 720-10G
VSS (VS-S720-10G-3C/XL). This supervisor engine has both the PFC3C/XL- as well as the VSL-capable interfaces
integrated on the module (Figure 6).
The initial release of the Cisco Virtual Switching System supports only one Supervisor Engine 720-10G VSS per
chassis. A subsequent software release will allow for redundant supervisors to exist in a single physical chassis
within the VSS.
Supported interface modules that can coexist within a Cisco Virtual Switching System-enabled chassis include all
CEF720 modules (WS-X6700 series). These modules can also support either a centralized forwarding card (CFC) or
a DFC. If a DFC is installed, it must either be DFC3C or DFC3CXL. A lower-mode DFC inserted in the module will be
denied system power until the system-wide PFC mode has been configured and the system is reloaded.
Cisco Catalyst 6500 Series Virtual Switching System Hardware Deployment Recommendations
You can deploy Cisco Virtual Switching System in your network in numerous ways. In order to maximize system
availability and capacity, note the following recommendations with their associated benefits and caveats.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 12 of 71
White Paper
This deployment scenario allows for a redundant VSL connection and also depends on fewer hardware components.
However, if a VSL module fails (in this case, it is the supervisor engine), the entire VSL also will fail, potentially
resulting in a dual-active scenario. The effect is mitigated, however, because redundant supervisor engines are not
supported in the initial software release of Cisco Virtual Switching System. Note that this scenario does not allow for
future scaling of VSL bandwidth because no extra VSL-capable 10 Gigabit Ethernet interfaces are available.
Figure 8. VSL Comprising of Interfaces on the Cisco 8-Port 10 Gigabit Ethernet Switching Module
This deployment scenario allows for a redundant VSL connection as well, but uses the two Cisco 8-port 10 Gigabit
Ethernet modules if the uplinks on the supervisor engine are already in use. As a result, the scenario depicted in
Figure 8 involves more hardware, but it is highly redundant: the VSL can survive both a physical link failure as well as
a complete VSL module failure. This solution also provides for future VSL bandwidth scalability.
Figure 9. VSL Members Across Supervisor Engine Ports and 8-Port 10 Gigabit Ethernet Switching Module
This deployment scenario, which allows for a redundant VSL connection, may require more hardware than using a
single supervisor engine, but offers both link and line-card redundancy as well as the added benefit of future scaling
requirements if you need extra VSL bandwidth in the future.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 13 of 71
White Paper
Figure 10 shows an example of multiple Cisco Virtual Switching System domains in a network design. The figure
shows three unique VSS domains, each with a unique domain ID. You can also deploy multichassis Cisco
EtherChannel links across other Cisco Virtual Switching Systems, removing the reliance on protocols such as
Spanning Tree Protocol.
Another example of multiple Cisco Virtual Switching System domains is in the area of Layer 2 adjacent WAN
deployments. It may be a requirement for the business or the applications that a routed Layer 3 WAN connection may
not be possible requiring a Layer 2 connection between two disparate geographic sites, yet still providing link
redundancy at the same time. This will ultimately require some form of Layer 2 redundancy protocol be implemented
(such as Spanning Tree Protocol), resulting in complex topologies as well as inefficient bandwidth utilization across
network links. By leveraging Cisco Virtual Switching System, such inefficiencies will be mitigated through the
formation of multichassis Cisco EtherChannel connections.
There are generally no restrictions with regard to which ports or modules can form members of a Cisco EtherChannel
link, except that the member interfaces need to be of the same speed and no more than 8 members can belong to a
single Cisco EtherChannel grouping. You can, therefore, extend members of the Cisco EtherChannel interface
across switching modules to allow for the maximum availability of the Cisco EtherChannel interface if either a single
link or module fails.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 14 of 71
White Paper
vss(config)#port-channel load-balance ?
dst-ip Dst IP Addr
dst-mac Dst Mac Addr
dst-mixed-ip-port Dst IP Addr and TCP/UDP Port
dst-port Dst TCP/UDP Port
mpls Load Balancing for MPLS packets
src-dst-ip Src XOR Dst IP Addr
src-dst-mac Src XOR Dst Mac Addr
src-dst-mixed-ip-port Src XOR Dst IP Addr and TCP/UDP Port
src-dst-port Src XOR Dst TCP/UDP Port
src-ip Src IP Addr
src-mac Src Mac Addr
src-mixed-ip-port Src IP Addr and TCP/UDP Port
src-port Src TCP/UDP Port
Selection of the hash scheme of choice largely depends on the traffic mix through the Cisco EtherChannel interface,
noting that these hash schemes may be selected only on a global basis.
When a new port is added or deleted, the load value is reset on all the ports. A new load is then distributed on all the
ports in the Cisco EtherChannel interface, including the new member, and reprogrammed into the port ASIC for each
port. This process causes packets to be dropped during the short outage window (approximately 200 to 300 ms), an
undesirable result for higher-speed interfaces such as 10 Gigabit Ethernet connections where a large amount of
traffic may be lost during this brief outage window.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 15 of 71
White Paper
This problem has led to the development of an enhanced load-distribution mechanism such that when ports are
added or removed from a Cisco EtherChannel interface, the load result does not need to be reset on existing member
ports, resulting in better traffic recovery times.
You can implement this new algorithm either globally or on a per-port channel basis, where fixed is the current
default mode and adaptive uses the enhanced mode:
vss(config)#port-channel hash-distribution ?
adaptive selective distribution of the bndl_hash among port-channel members
fixed distribution of the bndl_hash among port-channel members
vss(config)#int port-channel 4
vss(config-if)#port-channel port hash-distribution ?
adaptive selective distribution of the bndl_hash among port-channel members
fixed fixed distribution of the bndl_hash among port-channel members
The algorithm selected with these commands is applied only at the next hash-distribution instance, which usually
occurs on a port-channel member link transition event.
w - waiting to be aggregated
Number of channel-groups in use: 9
Number of aggregators: 9
Although this new load-distribution algorithm requires configuration for regular Cisco EtherChannel and multichassis
Cisco EtherChannel interfaces, it is the default load-distribution algorithm used on the virtual switch links.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 16 of 71
White Paper
Like regular Cisco EtherChannel interfaces, all ports within the multichassis Cisco EtherChannel link have the same
source index regardless of the chassis in which they are physically present, making it possible to apply a single IP
address for Layer 3 Cisco EtherChannel links or for Spanning Tree Protocol to view such a Cisco EtherChannel
interface as a single, logical port.
One unique difference between multichassis Cisco EtherChannel and regular Cisco EtherChannel interfaces is the
way traffic is load balanced across the channel group members. A regular Cisco EtherChannel link selects the
appropriate channel group member to exit based purely on the hashing algorithm of choice. A multichassis Cisco
EtherChannel link, however, has some extra intelligence to reduce the amount of traffic that requires transmission
across the VSL. This optimization is accomplished by populating the index port only with the ports local to the
physical chassis, allowing the chassis to favor the local ports of the multichassis Cisco EtherChannel link over those
on the remote chassis.
For traffic that must be flooded on the VLAN (broadcasts, multicasts, and unknown unicasts), a copy is sent across
the VSL to be sent out any single-homed ports belonging to the VLAN. Because the first chassis will have sent a copy
out one of the multichassis Cisco EtherChannel ports, packets received from the VSL are not sent out of another
multichassis Cisco EtherChannel port. If all of the multichassis Cisco EtherChannel ports on a given chassis are
removed because of a failure, management control, etc., the Cisco EtherChannel link is no longer a multichassis
Cisco EtherChannel link, but a regular Cisco EtherChannel link, and hence flooded packets will be sent out of this
EtherChannel link from the VSL.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 17 of 71
White Paper
Although the data traffic is spread across the two chassis, the active supervisor engine must terminate control traffic
for the multichassis Cisco EtherChannel link on the active virtual switch, including most of the Layer 2 protocols such
as Spanning Tree Protocol, Port Aggregation Protocol (PAgP), VLAN Trunking Protocol (VTP), etc. All multichassis
Cisco EtherChannel links have their control protocols terminated on the active supervisor engine. Any control
protocols received by multichassis Cisco EtherChannel link ports on the standby virtual switch are redirected to the
active supervisor engine through the VSL. Because the Cisco EtherChannel link is terminated in one chassis,
PAgP and LACP have the same device identifier on all the member links, regardless of the chassis on which the
link resides.
After the chassis reloads and is operating in virtual mode, it begins the VSL initialization sequence. Additionally, the
interface naming convention is changed to allow for the specification of a chassis identifier as part of the interface
name. Please refer to the section “Operational Management” for more information.
Switch Identifier
Each chassis within the Cisco Virtual Switching System is allocated a unique chassis identifier upon conversion to
virtual switch mode. This identifier is known as the switch identifier, or switch ID. This number is used as part of the
interface naming to ensure that the interface name remains the same regardless of the active or standby virtual
switch roles.
As mentioned previously, this variable is set during the conversion phase; if a replacement supervisor engine is
required, it is set with an enable-mode command-line interface (CLI) command. The variable that has been set is
stored as a variable in ROMmon, so it is locally significant to the individual supervisor engine. If you need to alter the
switch ID, use the following CLI:
If there is a misconfiguration in switch IDs (when both switches have the same switch ID), the formation of the VSL
will fail on initialization. When the two chassis are being brought up as a single Cisco Virtual Switching System, the
VSL initialization handshake verifies that the switch IDs of the two chassis do not match. If the switch ID is found to
be in conflict, then the VSL will not become active. If this situation occurs, both chassis assume the role of active
virtual switch and you are informed of this conflict.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 18 of 71
White Paper
On the two switches, configure the same virtual switch domain number (in this case it is 100), but unique switch IDs
using the following configuration mode commands:
VSS-sw1#conf t VSS-sw2#conf t
Enter configuration commands, one per Enter configuration commands, one per
line. End with CNTL/Z. line. End with CNTL/Z.
VSS-sw1(config-vs-domain)#switch 1 VSS-sw2(config-vs-domain)#switch 2
VSS-sw1(config-vs-domain)# VSS-sw2(config-vs-domain)#
Note that as a result of this command, the domain ID is retained in the configuration, but the switch ID is not; this
value is stored as a variable in ROMmon. It can be confirmed by issuing the following command on each switch:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 19 of 71
White Paper
Choose unique port-channel IDs for each chassis to form the VSL and configure them with the corresponding switch
ID using the following commands:
VSS-sw1#conf t VSS-sw2#conf t
Enter configuration commands, one per Enter configuration commands, one per
line. End with CNTL/Z. line. End with CNTL/Z.
Now add the ports on each switch to the port channel that corresponds to the respective side of the VSL using the
following commands:
Note that only the local port channels and their associated members need to be configured on each switch. Because
the switches are still in standalone mode, you do not need to configure the peer-switch ports.
Convert both switches to virtual switch mode using the following exec command:
This command will convert all interface This command will convert all interface
names to naming convention “interface- names to naming convention “interface-
type switch-number/slot/port”, save the type switch-number/slot/port”, save the
running config to startup-config and running config to startup-config and
reload the switch. reload the switch.
Do you want to proceed? [yes/no]: yes Do you want to proceed? [yes/no]: yes
Converting interface names Converting interface names
Building configuration... Building configuration...
[OK] [OK]
Saving converted configurations to Saving converted configurations to
bootflash … bootflash…
[OK] [OK]
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 20 of 71
White Paper
● The running configuration of the individual switch is converted into a three-level virtual switch interface
notation. Two-level interface configurations (such as TenGigabitEthernet 5/4) are converted into three-level
interfaces (such as TenGigabitEthernet 1/5/4 in switch 1 and TenGigabitEthernet 2/5/4 in switch 2).
● The startup configuration is updated with the three-number notation.
● A copy of the original startup configuration converted to three-number notation is written to the multilayer
switch feature card (MSFC) bootflash of the respective switch.
● Both switches reload.
Note that the command switch convert mode virtual is not stored in the startup configuration because it is not a
configuration command. Instead, the following line is added to the startup configuration under the switch
virtual domain:
When the two switches are brought online, they proceed with VSL initialization and initialize their respective VSL
ports. The two switches communicate with each other and determine active and standby roles. This exchange of
information is evident through the following console messages:
When the two switches are brought online, they proceed with VSL initialization and initialize their respective VSL
ports. The two switches communicate with each other and determine active and standby roles. This exchange of
information is evident through the following console messages:
<snip> <snip>
After the VSL is initialized and the Cisco Virtual Switching System becomes active, you may notice that the console is
active only for the active virtual switch and has been disabled for the standby virtual switch:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 21 of 71
White Paper
Although not required, it is possible to verify that all modules have been automatically provisioned and their module
types stored in the configuration by issuing the following command on the active virtual switch:
Modules are provisioned in the configuration to allow for parsing even if they are not present in the chassis. This
situation occurs when one of the member switches is not yet online but the configuration needs to be parsed.
With the following command you can determine that the Cisco Virtual Switching System is now operating and that the
two switches are acting as a single, logical network node. However, during the conversion process, the configuration
of the standby virtual switch (in this case, switch 2) is cleared, including the configuration of the two VSL interfaces on
the switch. Therefore, at this point, if the switch were to reload, it would not have the information available to it to
determine which interfaces to use for VSL communication. In order to facilitate this information to be repopulated
again, you must complete step 4.
This final, critical step is applicable only for a first-time conversion. If the switch has been converted or partially
converted already, you cannot use this command.
When the standby virtual switch is in SSO hot mode, you must execute the following command to automatically
configure the standby virtual switch configuration on the active virtual switch:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 22 of 71
White Paper
This command prompts you to accept all standby virtual switch VSL-related configurations and also updates the
startup configuration with the new merged configurations. Note that only VSL-related configurations are merged with
this step—all other configurations will be lost and require manual intervention.
Operational Management
Management of the system as a whole changed with the advent of the Cisco Virtual Switching System. The
fundamental concept of a switching system has evolved from a single physical entity managed separately to multiple
physical entities that are managed as a single system. The following section examines areas such as console
management, in-band (Telnet or SSH) management, SNMP and MIB changes, effects of NVRAM, NetFlow features,
Switch Port Analyzer (SPAN), Embedded Event Manager (EEM), and CiscoWorks LAN Management System (LMS)
management.
Console Management
After the two individual switches are converted into a Virtual Switching System, the console access is restricted to
only the active virtual switch. In this case you can handle all configuration, monitoring, and troubleshooting under a
single interface. The console output into the standby virtual switch indicates that the console is disabled for general
administrative purposes.
If a switchover occurs and switch 2 becomes the active virtual switch, the console becomes active on that
supervisor engine.
Interface Numbering
After conversion to a Virtual Switching System, the interface numbering changes from a traditional scheme:
<INTERFACE_TYPE> <MODULE>/<PORT>
<INTERFACE_TYPE> <SWITCH_ID>/<MODULE>/<PORT>
This new naming scheme allows a single configuration file to uniquely address the physical interfaces on both
chassis that are part of the same virtual switch domain.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 23 of 71
White Paper
File-System Naming
To facilitate the ability to uniquely identify multiple file systems on each supervisor engine or module across the Cisco
Virtual Switching System, a new role-independent file-system naming scheme has been implemented.
SW<SWITCH_ID>-SLOT<MODULE>-<FILESYSTEM>:
This naming scheme allows all unique file systems to be addressed and identified across the entire virtual switch
domain, regardless of supervisor-engine redundancy state. It also allows for the expansion to two supported
supervisor engines per chassis in future software releases.
vss#dir sw1-slot?
sw1-slot1-dfc-bootflash: sw1-slot5-const_nvram: sw1-slot5-disk0:
sw1-slot5-nvram: sw1-slot5-sup-bootdisk: sw1-slot5-sup-
bootflash:
sw1-slot7-dfc-bootflash: sw1-slot8-dfc-bootflash:
vss#dir sw2-slot?
sw2-slot1-dfc-bootflash: sw2-slot5-bootflash: sw2-slot5-
const_nvram:
sw2-slot5-disk0: sw2-slot5-nvram: sw2-slot5-sup-
bootdisk:
sw2-slot5-sup-bootflash: sw2-slot7-dfc-bootflash: sw2-slot8-dfc-
bootflash:
You can still use the existing file-system naming scheme, but you need to determine the role of the switch (active or
standby) before you access the file systems.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 24 of 71
White Paper
vss#reload
Proceed with reload? [confirm]
You can reset the active virtual switch in two ways. First, you can issue the command redundancy force-
switchover, which essentially forces a SSO or RPR switchover from active to standby, reloading the previous active
virtual switch in the process:
vss#redundancy force-switchover
This will reload the active unit and force switchover to standby[confirm]
Preparing for switchover..
You can also use the redundancy reload shelf command, where either switch 1 or switch 2 can be specified:
You also have two options to reset the standby virtual switch. First, you can use the same command as before,
replacing the switch ID with the switch ID of the standby virtual switch:
Alternatively, use the command redundancy reload peer to reload the standby virtual switch:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 25 of 71
White Paper
In a standalone Cisco Catalyst 6500 system, the supervisor-engine module is the first module initiated in the system.
As a result, a combination of the PFC of the supervisor engine as well as the inserted modules in the chassis during
bootup determines the operational mode of the system. If you add a lower-revision module, the module will be
disabled until the system is reloaded.
In a Cisco Virtual Switching System environment, the system PFC mode is negotiated between the supervisor
engines much earlier in the system initiation process. Additionally, there may also be a discrepancy between PFCs
used on the supervisor engines and those used on the DFCs for other VSL modules. As a result, you may encounter
instances where a module configured to support VSL member links may not be brought up because of a PFC or
DFC mismatch.
To remedy this situation, a new command allows you to manually specify the systemwide PFC mode to PFC3C (from
PFC3CXL). This configuration follows:
vss#conf t
Enter configuration commands, one per line. End with CNTL/Z.
vss(config)#platform hardware vsl pfc mode pfc3c
vss(config)#^Z
You must restart the system to activate this command. When the system is reloaded, you can verify the operational
mode of the system by issuing the following command:
Using the Cisco Network Analysis Module in a Cisco Virtual Switching System Environment
The Cisco Network Analysis Modules (WS-SVC-NAM-1 and WS-SVC-NAM-2) are integrated and powerful traffic-
monitoring solutions for the Cisco Catalyst 6500 (Figure 14). Cisco NAMs combine a rich set of embedded data
collection and analysis capabilities with a remotely accessible, Web-based management console, all of which reside
on a single blade. The embedded Web-based Cisco Traffic Analyzer console offers quick access to configuration
menus and presents easy-to-read performance reports on data, voice, and video traffic. The Cisco NAM provides
both the ability to analyze packets and the ability to analyze them from within the switch or router itself, giving greater
insight into how the network is being used and how users experience the services on the network.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 26 of 71
White Paper
In order to use the network analysis module in a Cisco Virtual Switching System environment, the minimum version
must be Cisco Network Analysis Module Software 3.6(1a).
As a result, you can access the NAM through a “session” directly to the module that also includes the switch ID:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 27 of 71
White Paper
From this point onward, all configuration is performed directly on the NAM, it is identical to that performed in
standalone mode, and it can be operated or configured through the HTTP interface.
With 12.2(33)SXI, VSS supports four additional service modules. These include:
• WS-SVC-FWSM-1-K9 (4.0.4)
• ACE-10/ACE-20-6500-K9 (A2(1.2))
• WS-SVC-WISM-1K9 (6.0(2)E1)
• WS-SVC-IDSM2-K9 (3.2.171.6)
Service modules can be placed in either of the physical chassis that comprise a VSS system. VSS active and
standby roles are independent of the service module redundancy role. For more information, please refer to this
paper—Integrate Cisco Service Modules with Cisco 6500 VSS:
http://www.cisco.com/en/US/products/ps9336/products_tech_note09186a0080a7c72b.shtml
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 28 of 71
White Paper
The following section provides an overview of the supported features and functions.
From a Cisco Virtual Switching System perspective, both members of the VSS can be displayed individually when
you provide the IP address or host name of the system, both of which you can access under the Chassis View link
under the CiscoView section from the main CiscoWorks LMS 3.0.1 launch page. To display the active virtual switch
chassis, supply an IP address for the Cisco Virtual Switching System to be monitored (Figure 17).
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 29 of 71
White Paper
You can also manage the standby chassis with the same IP address or host name as well as within the same view
by simply toggling between the active virtual switch and the standby virtual switch selector on the chassis itself
(Figure 18).
High Availability
Central to the high-availability model of a Cisco Virtual Switching System are the concepts of NSF/SSO and RPR.
The intricacies of these protocols are beyond the scope of this paper; you can find more information at:
● NSF/SSO: http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/122sx/swcg/nsfsso.htm
RPR: http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/122sx/swcg/redund.htm
The high-availability model of the system changes when you integrate two chassis together into a single network
entity. In order to take advantage of the existing innovations in NSF/SSO technologies, Cisco Virtual Switching
System has implemented a high-availability model that uses this redundancy framework for an interchassis
environment (Figure 19).
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 30 of 71
White Paper
In an SSO system, “high availability-aware” protocols and features may synchronize events and state information
from the active supervisor engine to the hot-standby supervisor engine. From a redundancy framework viewpoint, the
active supervisor engine acts as a server, whereas the standby supervisor engine acts as the client. Information that
is “high availability-aware” will be statefully synchronized between these entities such that in the event of a failover,
the standby supervisor engine does not need to re-learn this information, resulting in a minimal amount of outage
time.
As Figure 19 shows, the supervisor engine in the active virtual switch (switch 1 in the figure) assumes the role as the
active supervisor engine, whereas the supervisor engine in the standby virtual switch (switch 2) assumes the role as
the hot-standby supervisor engine. You can verify this situation with the following command:
VSS#sh switch virtual redundancy
My Switch Id = 1
Peer Switch Id = 2
Last switchover reason = none
Configured Redundancy Mode = sso
Operating Redundancy Mode = sso
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 31 of 71
White Paper
As this output indicates, if a failure occurs in the active supervisor engine or the active virtual switch, a SSO
switchover is invoked, and the hot-standby supervisor engine in switch 2 assumes the role as the active supervisor
engine for the Cisco Virtual Switching System. This switchover should take approximately 50 ms.
Intrachassis Availability
With the first release of Cisco Virtual Switching System, only single supervisors are supported per physical chassis.
Therefore, there is no intrachassis supervisor-engine redundancy. A subsequent software release will offer the ability
to add a second supervisor engine into each chassis.
Configuration Synchronization
When the redundancy-framework progression between the active supervisor engine and standby supervisor engine is
reached, the configuration is synchronized between active virtual switch and standby virtual switch. The configuration
file contains the configuration for the entire Cisco Virtual Switching System and overwrites the configuration that
exists on the standby virtual switch. Both the bulk configuration synchronization and the incremental configuration
synchronization are sent through internal control messages across the VSL. As a result, the configuration in the
standby virtual switch NVRAM is overwritten.
● If switches are initiated at different times, then the switch that is initiated first becomes the active
virtual switch.
● If the switches are initiated simultaneously, the switch with the lower switch ID becomes the active
virtual switch.
You can alter the default behavior by using the Virtual Switch Priorities feature and the Switch Preemption function.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 32 of 71
White Paper
vss#conf t
Enter configuration commands, one per line. End with CNTL/Z.
vss(config)#switch virtual domain 10
vss(config-vs-domain)#switch 1 priority 110
*Jul 7 08:59:11.913: %VSLP-SW1_SPSTBY-5-RRP_RT_CFG_CHANGE: Configured priority
value
is different from operational value.
Change will take effect after config is saved and switch is reloaded.
vss(config-vs-domain)#switch 2 priority 100
vss(config-vs-domain)#^Z
vss#
Notice from this configuration that the higher-priority value (110) assumes the active virtual switch role and the default
priority is set to 100 (Figure 20).
After you save the configuration, you can verify the roles of each virtual switch member with the following command:
Note that the switch priorities affect role determination if both virtual switches are initiated simultaneously. If either
switch (regardless of priority) is initiated prior to the subsequent switch, it always assumes the role of the active virtual
switch. This behavior changes only if the Switch Preemption feature is configured.
Switch Preemption
As mentioned previously, you can determine virtual switch roles by boot order, switch ID, and switch priorities.
However, after you determine the roles, you cannot change them without manual intervention. It may be desirable,
however, to always configure a particular physical switch to assume the active virtual switch role. You can achieve
this configuration with the Switch Preemption feature.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 33 of 71
White Paper
Switch Preemption works by comparing the Virtual Switch Priorities of the two individual switches after they are both
brought online. If the virtual switch with the higher priority has the Switch Preemption feature configured and the
current role of the higher-priority virtual switch is in standby mode, then the current active virtual switch performs a
SSO switchover after a preconfigured period of time so that the virtual switch with the higher switch priority takes over
as the active virtual switch (Figure 21).
You should enable Switch Preemption only on the switch that has the higher switch priority. With the following
command you can enable this function under the virtual switch configuration mode. You can specify an optional timer
value from 5 to 20 minutes, where this number represents the number of minutes the current active virtual switch
waits after it establishes communication with the peer standby virtual switch through the VSL. The default and
minimum time is set to 5 minutes. This timer is important, because it takes a variable amount of time after VSL
initialization to initialize the remaining modules and establish network connectivity.
vss#conf t
Enter configuration commands, one per line. End with CNTL/Z.
vss(config)#switch virtual domain 10
vss(config-vs-domain)#switch 2 preempt 7
vss(config-vs-domain)#^Z
vss#
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 34 of 71
White Paper
Preemption should only be configured if there is a compelling requirement to do so. If preemption is enabled, the
convergence time will be longer due to the fact that the switch will experience an additional reload. This additional
reload is necessary in order for the new switch to go from an active to a standby state.
Typically, in a standalone environment, these First Hop Redundancy Protocols (FHRPs) are required to provide a
single default gateway that is both redundant and highly available. These protocols typically designate an active
forwarder for a given pair of Layer 3 interfaces by using respective hello protocols. Additionally, a separate instance
of these hello protocols is run for each pair of interfaces for which the FHRP is configured.
In a Cisco Virtual Switching System environment, the use of FHRPs to provide default gateway redundancy has been
obviated in most environments because a single interface and router MAC address are shared across both virtual
switches (Figure 22).
You can enable FHRP to another network device or Cisco Virtual Switching System with the FHRP frames redirected
to the route processor of the active virtual switch for processing.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 35 of 71
White Paper
Failure Scenarios
This section assumes the topology shown in Figure 23.
In the topology of Figure 23, the Cisco Virtual Switching System is deployed in the distribution layer of the network,
where we will examine the effects that different failures will have on this setup.
Upon detecting the failure of the active supervisor, the hot-standby supervisor engine performs an SSO switchover
and assumes the role of the active supervisor. An online insertion and removal (OIR) removed event is simulated for
all modules in the previous active chassis to remove those cards from the running chassis inventory. If the failed
active supervisor engine can reboot after being reset, it now becomes the new hot-standby supervisor engine
(Figure 24).
Figure 24.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 36 of 71
White Paper
The effect on the data path is that all the modules on the previous active virtual switch chassis are brought down,
resulting in a slight traffic disruption for those traffic flows that were destined to the active virtual switch. The duration
of disruption is determined by the time required to transition the role of the hot-standby supervisor engine to the
active supervisor engine and for the neighboring device to modify its path selection to the standby virtual switch. If the
vast majority of interfaces in the Cisco Virtual Switching System are multichassis Cisco EtherChannel links, this data
disruption should have minimal effect on the network. Packets that are handled in the software path, however, will
experience a slightly longer disruption. This failover should be similar to a typical SSO failure.
For the multichassis Cisco EtherChannel links, the remote endpoint of the link detects the failure of the active virtual
switch ports through LACP or PAgP or a physical link-down situation and uses the links connecting to the standby
virtual switch instead.
Availability is affected for approximately 50 to 200 ms for those traffic flows across the active virtual switch,
depending on the time it takes for the neighboring device to detect that the connected interfaces to the active virtual
switch have gone down and elect an alternate forwarding path. Traffic flows through standby virtual switch are not
affected. You can achieve faster convergence time by using the adaptive Cisco EtherChannel load-balancing
algorithm.
● Redundancy framework heartbeats sent across the VSL by the active supervisor
● Full VSL link-down situation
● Cisco GOLD
Upon detecting the failure of the hot-standby supervisor engine, the active supervisor engine simulates an OIR
removed event for all modules in the standby virtual switch. This simulation is performed because the modules on the
remote chassis have no connectivity because VSL communication to the modules is proxied by the local supervisor-
engine CPU (Figure 25).
Figure 25.
The effect on the data path is that all line cards on the standby virtual switch are brought down. Assuming that
adjacent devices are dual-homed to both the active virtual switch and standby virtual switch, only those flows being
forwarded through the standby virtual switch are affected, and the time to recovery depends on the mechanism used
to detect the link failure (Cisco EtherChannel technology, Layer 3 load balancing, or Spanning Tree Protocol). Upon
detecting that the interface connected to the standby virtual switch has failed, traffic resorts to using the link to the
active supervisor engine. Those data flows passing through the active virtual switch are not affected.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 37 of 71
White Paper
The control plane is not affected because the control-plane functions remain on the active supervisor engine on the
active virtual switch. The control plane experiences a removal of all of the standby virtual switch interfaces.
If the hot-standby supervisor engine can reinitialize, it proceeds with VSL initialization and enters into NSF/SSO state
with all its interfaces becoming operational again.
Availability is affected for approximately 50 to 200 ms for those traffic flows across the standby virtual switch,
depending on the time it takes for the neighboring device to detect that the connected interfaces to the active virtual
switch have gone down and elect an alternate forwarding path. Traffic flows through the active virtual switch are not
affected. You can achieve faster convergence time by using the adaptive Cisco EtherChannel load-balancing
algorithm.
Figure 26.
The index values, RBH, and fabric programming for selecting the VSL link will need to be automatically updated to
reflect the removal of a link from the VSL. The active supervisor engine sends all of these messages.
Availability is not affected for those data flows that do not use the VSL. For those traffic flows that use the VSL, traffic
outage is estimated to be approximately 50 to 100 ms. Notice that the duration of time is slightly faster than that for
other multichassis Cisco EtherChannel links because VSL always takes advantage of the adaptive Cisco
EtherChannel load-balancing algorithm.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 38 of 71
White Paper
Figure 27.
This link failure causes the RBH values to be redistributed among the remaining multichassis Cisco EtherChannel link
ports in the local chassis that is the same as a link failure in a standard Cisco EtherChannel link using a standalone
Cisco Catalyst 6500. The endpoint (host, switch, router, etc.) on the other end of the multichassis Cisco
EtherChannel link detects the link failure and adjusts its load-balancing algorithms to avoid the failed link.
Availability is not affected for those data flows that do not use the failed link. For those traffic flows that do use the
failed link, the effect consists of the time it takes to detect the link failure and reprogram the indices within the system,
estimated to be approximately 50 to 200 ms. You can achieve faster convergence time by using the adaptive Cisco
EtherChannel load-balancing algorithm.
All Links to a Single Chassis Within the Multichassis Cisco EtherChannel Link Fail
When all of the links connecting to a single chassis that is part of the same multichassis Cisco EtherChannel link fail,
the port bundle is converted from a multichassis Cisco EtherChannel link to a standard Cisco EtherChannel link and
is treated as a single-homed port. The links connecting to the peer chassis remain functional. From this point onward,
all traffic from the failed link chassis destined for the Cisco EtherChannel link are sent to the remote chassis through
the VSL (Figure 28).
Figure 28.
The control protocols managing the Cisco EtherChannel link (PAgP or LACP) continue to originate from the active
supervisor engine and are sent out of the standby virtual switch ports through the VSL. The endpoint (host, switch,
router, etc.) on the other end of the multichassis Cisco EtherChannel link detects the link failure and adjusts its load-
balancing algorithms to avoid the failed link.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 39 of 71
White Paper
Availability is not affected for those data flows that do not use the failed link. For those traffic flows that do use the
failed link, the effect consists of the time it takes to detect the link failure and reprogram the indices within the system.
This time is estimated to be approximately 50 to 200 ms. You can achieve faster convergence time by using the
adaptive Cisco EtherChannel load-balancing algorithm.
Figure 29.
Availability is affected for approximately 50 to 200 ms for those traffic flows across the active virtual switch,
depending on the time it takes for the neighboring device to detect that the connected interfaces to the active virtual
switch have gone down and elect an alternate forwarding path. Traffic flows through the standby virtual switch are not
affected. You can achieve faster convergence time by using the adaptive Cisco EtherChannel load-balancing
algorithm.
Figure 30.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 40 of 71
White Paper
Availability is affected for approximately 50 to 200 ms for those traffic flows across the standby virtual switch,
depending on the time it takes for the neighboring device to detect that the connected interfaces to the active virtual
switch have gone down and elect an alternate forwarding path. Traffic flows through the active virtual switch are not
affected. You can achieve faster convergence time by using the adaptive Cisco EtherChannel load-balancing
algorithm.
Figure 31.
In this case, each virtual switch assumes the role as the active virtual switch and each virtual switch controls only its
local ports. However, there will most likely also be some global Layer 2 and Layer 3 configuration, and the interface
configuration for the multichassis Cisco EtherChannel links will be applied on both chassis. Duplication of this
configuration can possibly have adverse effects to the network topology and traffic.
At Layer 3, any virtual interfaces (for example, port channels, SVIs, loopbacks, etc.) are duplicated on both chassis,
causing duplicate IP addresses on the network. Any secure communications such as SSH and the cryptography
feature set have the same set of keys on both chassis. At Layer 2, the spanning tree has the same bridge ID in both
switches, possibly causing conflict. In general, this condition causes the same effect as when two routers or switches
within a network contain the same configuration file.
To avoid this disruptive scenario, you should configure the VSL as a multiple-link port channel and spread it across all
the available supervisor engines and modules within the chassis. You should also run the individual members of the
VSL across separate physical paths when possible.
In some circumstances this configuration may not be possible; Cisco Virtual Switching System has different
mechanisms to address this dual-active scenario:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 41 of 71
White Paper
Currently, there are currently three mechanisms for detecting a dual-active scenario.
• Enhanced PAgP
• Layer 3 BFD
• Fast-hello
Enhanced PAgP
With the introduction of Cisco Virtual Switching System in the first software release, an enhancement to the PAgP
protocol (Enhanced PAgP or PAgP+) has been implemented to assist in the dual-active detection. A list of all
software releases for respective switch platforms supporting Enhanced PAgP is included in Table 1 (Figure 32).
The result of this detection is that the standby virtual switch (switch 2) always transitions to become an active virtual
switch and the active virtual switch (switch 1) always enters into recovery mode.
Upon the detection of VSL going down on switch 2, the switch will immediately transmit a PAgP message on all port
channels enabled for Enhanced PAgP dual-active detection, with a Type-Length-Value (TLV) containing its own
Active ID = 2. When the access switch receives this PAgP message on any member of the port channel, it detects
that it has received a new active ID value and considers such a change as an indication that it should consider switch
2 to be the new active virtual switch. In turn, the access switch modifies its local active ID value to Active ID = 2 and
immediately sends a message to both virtual switches on all members of the port channel with the new Active ID = 2
to indicate that it now considers switch 2 to be the active virtual switch.
Form this point onward, the access switch sends TLVs containing Active ID = 2 to the virtual switches in all its
regularly scheduled PAgP messages.
Use the following commands to configure the Cisco Virtual Switching System to take advantage of dual-active
detection using Enhanced PAgP:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 42 of 71
White Paper
vss#conf t
Enter configuration commands, one per line. End with CNTL/Z.
vss(config)#switch virtual domain 10
vss(config-vs-domain)#dual-active detection pagp
vss(config-vs-domain)#dual-active trust channel-group 20
vss(config-vs-domain)#
To verify the configuration and ensure that Enhanced PAgP is compatible with its neighbors, issue the following
command:
Layer 3 BFD
If no Enhanced PAgP neighbors are available to assist in dual-active detection, then another method is required to
perform this function; use of a dedicated Layer 3 direct link heartbeat mechanism between the virtual switches is an
inexpensive way to determine whether or not a dual-active scenario has occurred (Figure 33).
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 43 of 71
White Paper
Bidirectional Forwarding Detection (BFD) assists in the fast detection of a failed VSL, bringing in natively the benefits
that BFD offers, such as subsecond timers and pseudo-preemption. To take advantage of this feature, you must first
configure BFD on the selected interfaces that will be participating in IP-BFD dual-active detection, noting that these
interfaces must be directly connected to each other:
vss#conf t
Enter configuration commands, one per line. End with CNTL/Z.
vss(config)#int gig 1/5/1
vss(config-if)#ip address 10.1.1.1 255.255.255.0
vss(config-if)#bfd interval 100 min_rx 100 multiplier 50
vss(config-if)#no shutdown
Note that in a Cisco Virtual Switching System environment, both interfaces are seen to be Layer 3 routed interfaces
on the same logical router and hence require different network addresses even though they are directly connected
together.
Note that by configuring these commands, static routes are automatically added for the remote addresses and are
installed in the Routing Information Base (RIB) only if a dual-active scenario occurs. As a result, no packets are
forwarded between the switches through the heartbeat interfaces until the VSL is brought down.
When the VSL does go down, a unique internal MAC address (selected from the pool of MAC addresses reserved for
the line card) is assigned for each of the local interfaces, and sending BFD heartbeat packets brings up BFD
neighbors. If the standby virtual switch has taken over as active, a BFD “adjacency-up” event is generated, indicating
that a dual-active situation has occurred.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 44 of 71
White Paper
Fast-Hello Detection
With 12.2(33)SXI, a Fast-Hello detection mechanism was introduced. This is similar to IP-BFD, as it is a dedicated
direct link heartbeat between the VSS switches. However, Fast-Hello is a L2 connection and you can configure up to
4 non-VSL links. The two chassis will periodically exchange fast-hello heartbeat packets that contain the switch state.
When the VSL fails, the fast hello packets are no longer received on each switch, thus indicating that a dual-active
scenario has occurred (Figure 34).
In order for fast-hello to operate, the interfaces must be enabled with this protocol. Unlike IP-BFD, that only
exchanges hello packets after the VSL fails, Fast-Hello exchanges heartbeat messages throughout the period that
the VSL remains up, thereby reducing the time it takes to detect the dual-active scenario.
Note: Up to four interfaces (directly connected) on each chassis can be configured. These interfaces must be
physical interfaces, no logical ports (i.e. SVI).
vss(config-if)# no shutdown
vss(config-if)# exit
vss(config)# exit
vss# show run interface fastethernet 1/2/40
interface FastEthernet1/2/40
no switchport
no ip address
dual-active fast-hello
end
Note: Once fast-hello has been configured, the existing configuration on the interface will be automatically
removed and will only be restricted for fast-hello configurations. Also, UDLD will be disabled on fast-hello pairs.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 45 of 71
White Paper
To nominate specific interfaces to be excluded from being brought down during dual-active detection recovery, use
the following commands:
vss(config-vs-domain)#
You will see the following messages on the active virtual switch to indicate that a dual-active scenario has occurred:
The following messages on the standby virtual switch console indicate that a dual-active scenario has occurred:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 46 of 71
White Paper
If a VSL flap occurs, the system recovers automatically. Upon a link-up event from any of the VSL links, the previous
active supervisor engine that is now in recovery mode reloads itself, allowing it to initialize as the hot-standby
supervisor engine. If the peer chassis is not detected because the VSL is down again, the dual-active detection
mechanism determines whether or not the peer chassis is active. If the peer chassis is detected, this event is treated
as another VSL failure event and the chassis once again enters into recovery mode.
When the VSL is restored, the following messages are displayed on the console and the switch in recovery mode
(previous active virtual switch) reloads:
***
*** --- SHUTDOWN NOW ---
***
After the chassis reloads, it reinitializes and the supervisor engine enters into standby virtual switch mode. If
Switch Preemption is configured to prioritize this chassis to become active, it assumes this role after the preempt
timer expires.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 47 of 71
White Paper
Quality of Service
Quality of service (QoS) handling on the Cisco Catalyst 6500 Series switches can be separated into two distinct
areas of responsibility: port-based QoS features and forwarding-engine (PFC or DFC) features. Both areas operate
together to ensure differentiated servicing of traffic throughout the system.
In a Cisco Virtual Switching System environment, proper QoS handling becomes even more important because of the
following reasons:
● Control traffic between the two Cisco Virtual Switching System switches (active virtual switch and standby
virtual switch) should be prioritized and not be dropped.
● The existence of the VSL and also multichassis Cisco EtherChannel links represents potential points of
congestion that must be properly accounted for.
Additionally, the nature of dual-homing logical connections across different chassis and forwarding engines
represents a change in the way features such as policing and marking work; these features also need to be properly
accounted for.
VSL should always consist of at least 2 ports of 10 Gigabit Ethernet connections, but because of hash inefficiencies it
may be possible to oversubscribe a single VSL member port. Therefore, correct prioritization needs to occur on
the VSL.
Correct prioritization is accomplished by always provisioning the VSL as a link that is in trust-CoS mode, provisioning
that not only maintains the internal differentiated services code point (DSCP) markings set by either ingress switch
but also sets up default receive and transmit queues and properly assigns the appropriate colored frames to the
correct queues (Figure 34).
The following output shows that port channel 2 is configured as a VSL, and it has the QoS configuration of trust CoS
programmed by default. Also note that removing or modifying this trust command is not permitted:
interface Port-channel2
no switchport
no ip address
switch virtual link 2
mls qos trust cos
end
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 48 of 71
White Paper
vss#conf t
Enter configuration commands, one per line. End with CNTL/Z.
vss(config)#int po2
vss(config-if)#no mls qos trust cos
HWIF-QOS: QoS configs are not allowed on VSL Portgroup
The following output shows that for a member port of the VSL, the relevant CoS-queue mappings have already been
provisioned for both ingress and egress queues, even without QoS globally enabled:
vss#sh queueing int te2/5/4
Interface TenGigabitEthernet2/5/4 queueing strategy: Weighted Round-Robin
Port QoS is enabled
Trust state: trust COS
Extend trust state: not trusted [COS = 0]
Default COS is 0
Queueing Mode In Tx direction: mode-cos
Transmit queues [type = 1p3q4t]:
Queue Id Scheduling Num of thresholds
-----------------------------------------
01 WRR 04
02 WRR 04
03 WRR 04
04 Priority 01
queue tail-drop-thresholds
--------------------------
1 70[1] 100[2] 100[3] 100[4]
2 70[1] 100[2] 100[3] 100[4]
3 100[1] 100[2] 100[3] 100[4]
queue random-detect-min-thresholds
----------------------------------
1 40[1] 70[2] 70[3] 70[4]
2 40[1] 70[2] 70[3] 70[4]
3 70[1] 70[2] 70[3] 70[4]
queue random-detect-max-thresholds
----------------------------------
1 70[1] 100[2] 100[3] 100[4]
2 70[1] 100[2] 100[3] 100[4]
3 100[1] 100[2] 100[3] 100[4]
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 49 of 71
White Paper
queue tail-drop-thresholds
--------------------------
1 70[1] 80[2] 90[3] 100[4]
2 100[1] 100[2] 100[3] 100[4]
queue random-detect-min-thresholds
----------------------------------
1 40[1] 40[2] 50[3] 50[4]
2 100[1] 100[2] 100[3] 100[4]
queue random-detect-max-thresholds
----------------------------------
1 70[1] 80[2] 90[3] 100[4]
2 100[1] 100[2] 100[3] 100[4]
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 50 of 71
White Paper
1 1 0 1
1 2 2 3
1 3 4
1 4 6 7
2 1 5
2 2
2 3
2 4
<…snip…>
A restriction has been imposed, however, that does not permit you to modify QoS settings on the VSL ports in the
initial release of software. Hence, you can modify only the default queue, drop threshold, and buffer depth settings.
vss(config)#int te2/5/4
vss(config-if)#priority-queue cos-map 1 2
HWIF-QOS: QoS configs are not allowed on VSL Portgroup
Additionally, policy maps used for classification or policing are also forbidden on the VSL and its respective members.
This feature will be addressed in future software releases.
The priority queue is always serviced first, prior to any other Deficit Weighted Round Robin (DWRR) queues.
Using Supervisor Engine 720-10G VSS 10 Gigabit Ethernet Uplink Ports as VSL Interfaces
You can use the 10 Gigabit Ethernet uplink ports on the Supervisor Engine 720-10G VSS to form a VSL. In addition
to the two 10 Gigabit Ethernet uplink ports, there are also three additional Gigabit Ethernet ports: two Small Form-
Factor Pluggable (SFP) interfaces and a 10/100/1000 RJ-45 interface. You cannot use these ports as VSL interfaces.
If you use only the 10 Gigabit Ethernet ports, you can optimize the queue structure to take full advantage of an 8q4t
queue structure on receive and 1p7q4t queue structure on transmit. However, if you use both the Gigabit Ethernet
interfaces and 10 Gigabit Ethernet interfaces concurrently, then the 10 Gigabit Ethernet interfaces take on the queue
structure of the Gigabit Ethernet interfaces, which is 4q4t on receive and 1p3q4t on transmit.
If you want to use only the 10 Gigabit Ethernet ports, you must shut down the Gigabit Ethernet ports and globally
configure an extra CLI on the system:
Command Rejected!
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 51 of 71
White Paper
VSS(config-if-range)#shut
VSS(config-if-range)#exit
VSS(config)#mls qos 10g-only
HWIF-QOS: Queuing qos cfg (wrr-queue/rcv-queue/priority-queue) will be reset to
default on Supervisor Slot 5 interfaces!
VSS(config)#
Applying Policies
Classification or policing policies are applied to the system through the Modular QoS CLI (MQC) mechanisms, which
use class maps and policy maps. Each policy map can use multiple class maps to make up a policy map, and you
can define these policy classes for different types of traffic flows.
On the Cisco Catalyst 6500, you can define up to 255 class maps per policy map, with a total of 1024 class maps per
system, implying that across the Virtual Switching System a maximum of 1024 class maps can be supported.
MQC in Cisco IOS Software allows the separation of class maps from policy maps and the separation of these maps
from the application on an interface. The initial release of software also has a limitation in that it allows for only a
limited number of interfaces to be indexed uniquely for QoS purposes. As a result, you can apply QoS policies only
on Layer 3 interfaces (SVIs, physical interfaces, port channels, etc.) and on Layer 2 Cisco EtherChannel links.
Note: In a Cisco Virtual Switching System, application of policies on physical Layer 2 interfaces is now supported
in 12.2(33)SXI and above.
Policing
Policing is the process of inspecting whether traffic on a given port or within a VLAN has exceeded a predefined rate.
If that traffic is out of profile (that is, the rate of the traffic stream exceeds the predefined rate), either excess data can
be dropped or its priority value marked down.
Two types of policers are supported on the Cisco Catalyst 6500 Series switches: aggregate policers and microflow
policers. Although you can implement both types, they are subject to different caveats in a Cisco Virtual Switching
System environment. The next section addresses some of these caveats relating to policers.
Aggregate Policing
Aggregate policers limit the amount of traffic received or transmitted in or out a port. The aggregate policer applies to
all traffic on a port or VLAN that matches a specified QoS ACL. If the aggregate policer is applied to a single
interface, it counts all matching traffic (that matches the classifying ACL) coming into the interface toward the policer.
If the aggregate policer is applied to a VLAN, then all of the matching traffic coming in any of the ports in that VLAN is
counted toward the stated rate.
● Per-interface aggregate policers: These policers are applied to an individual interface using the police
command within a policy-map class. You can apply these map classes to multiple interfaces, but the policer
polices each interface separately.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 52 of 71
White Paper
● Named aggregate policers or shared aggregate: These policers are applied to a group of ports and police
traffic across all interfaces cumulatively. Name aggregates are applied using the mls qos aggregate police
command.
The policing function is typically handled by the ingress forwarding engine (either PFC or DFC). A critical restriction to
implementing aggregate policers in a Cisco Virtual Switching System environment is the current lack of distributed
aggregate policing capabilities across different forwarding engines. That is, if a policer is required to span across
multiple forwarding engines, each forwarding engine keeps track of its own token-bucket quota and hence generally
results in the under-policing of traffic. This situation usually manifests itself when applying policers on the following
types of interfaces (Figure 35):
● VLAN interfaces that consist of member ports that belong to multiple forwarding engines
● Port-channel interfaces that consist of member ports that belong to multiple forwarding engines
● Shared aggregate policers that consist of member ports that belong to multiple forwarding engines
User Based Rate Limiting (UBRL) is a form of microflow policing that also supports the policing of individual flows.
The primary difference is that you can specify a source-only flow or destination-only flow rather than the full source or
destination address of the packet.
For both microflow policing and UBRL, the NetFlow table on either the PFC or DFC is used to track the individual
flows as well as maintain the flow statistics and—most importantly—track the rate of ingress traffic for each individual
flow by implementing a separate token bucket for each NetFlow entry. Cisco Virtual Switching System also has the
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 53 of 71
White Paper
restriction that each forwarding engine is responsible for the calculation of each flow independently and cannot be
synchronized across multiple forwarding engines.
As a result, only flows that always arrive on the same forwarding engine are policed correctly; otherwise they are
under-policed. Generally, this situation allows only the following flow masks for use on multichassis Cisco
EtherChannel link interfaces:
As a result, UBRL does not yield the desired behavior if applied to multichassis Cisco EtherChannel link interfaces or
other distributed Cisco EtherChannel interfaces because they are source-only or destination-only by nature.
All of these ACLs are compiled by the system and programmed into hardware-based ternary content addressable
memory (TCAM) on the system PFCs or DFCs. Within a Cisco Virtual Switching System environment, these ACLs
are compiled by the active route processor for the entire system (on the active virtual switch) and programmed to all
PFCs and DFCs in the system.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 54 of 71
White Paper
Router ACLs
Router ACLs refers to all ACLs that are applied to interfaces that also have an IP address specified, including Layer 3
physical routed interfaces, Layer 3 SVIs, as well as port-channel interfaces. Directional by nature, RACLs apply only
to traffic that is routed through those specific interfaces.
In a Cisco Virtual Switching System environment, RACLs do not change significantly because they can be applied to
all Layer 3 interfaces across the entire system (on switch 1, switch 2, or both). Global TCAM show commands,
however, have been extended to account for the switch keyword. For example:
ACL_TCAM
--------
Masks: 77 4019 1 72
Entries: 49 32719 0 576
QOS_TCAM
--------
Masks: 22 4074 0 18
Entries: 22 32746 0 144
LOU: 0 128 0
ANDOR: 0 16 0
ORAND: 0 16 0
ADJ: 3 2045 0
ACL_TCAM
--------
Masks: 77 4019 1 72
Entries: 49 32719 0 576
QOS_TCAM
--------
Masks: 22 4074 0 18
Entries: 22 32746 0 144
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 55 of 71
White Paper
LOU: 0 128 0
ANDOR: 0 16 0
ORAND: 0 16 0
ADJ: 3 2045 0
VLAN ACLs
VACLs refers to all ACLs that are applied to Layer 2 VLANs directly and affect both traffic that is switched within the
VLAN for which the VACL is applied and traffic that is routed through the VLAN. VACLs are bidirectional.
In a Cisco Virtual Switching System environment, VACLs do not change significantly because they can be applied
across VLANs that are local to a particular virtual switch as well as across the entire Cisco Virtual Switching System.
Global TCAM show commands have also been extended to account for the switch keyword.
Port-Based ACLs
PACLs refers to those ACLs that are applied directly to a physical port that is also configured as a Layer 2 switchport.
Note that when an IP address is applied to such an interface, the ACL becomes a RACL. PACLs are directional by
nature, and only ingress PACLs are supported.
There are some changes made to the way PACLs are applied in a Cisco Virtual Switching System environment. They
relate to the current software restriction that does not allow the system to consecutively address more than 2000
ports from a Layer 2 ACL indexing perspective. This limitation implies that PACLs cannot be applied to physical
orphan ports—ports that exist on a single chassis only. You can apply PACLs only on Layer 2 Cisco EtherChannel
links or multichassis Cisco EtherChannel links. This behavior is evidenced by the CLI not being available on physical
Layer 2 interfaces:
PACLs on physical Layer 2 interfaces will be reintroduced with a future software release.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 56 of 71
White Paper
Upgrading the Full Cisco IOS Software Image Using Fast Software Upgrade
For the purposes of this discussion, the treatment of both Cisco IOS Software and Cisco IOS Software Modularity is
very similar and effectively involves a multistep process. Because the initial release of software supporting the Cisco
Virtual Switching System supports only single supervisor engines in each chassis, the supervisor-engine high-
availability relationship between the two member chassis of the Cisco Virtual Switching System is similar to that of
two supervisor engines within a standalone chassis today. Figure 37 illustrates the full image upgrade process using
Fast Software Upgrade (FSU).
1. Copy or install the new image to the flash memory file system of both supervisor engines (active and hot
standby)
vss#dir sw1-slot5-sup-bootdisk:
Directory of sup-bootdisk:/
vss#dir sw2-slot5-sup-bootdisk:
Directory of slavesup-bootdisk:/
2. Modify the boot variable on switch 1 (active virtual switch) to point to the new image or file system and save the
configuration, thereby synchronizing the boot variable to switch 2 (standby virtual switch).
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 57 of 71
White Paper
vss-demo#wr
Building configuration...
vss-demo#sh bootvar
BOOT variable = sup-bootdisk:/newsys/s72033/base/s72033-adventerprisek9_wan_dbg-
vm,12;
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102
Standby is up
Standby has 1048576K/8192K bytes of memory.
3. Schedule a change window and when possible, reload switch 2 (standby virtual switch).
4. After successful bootup of the switch 2 (standby virtual switch) to the new image or file system, verify the peer
relationship between supervisor engines are in RPR state (cold standby). At this stage, the Cisco Virtual
Switching System will be operating at 50-percent capacity.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 58 of 71
White Paper
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 59 of 71
White Paper
5. When possible, perform a supervisor-engine or chassis switchover such that switch 2 (previous standby virtual
switch) now assumes the active role while switch 1 (previous active virtual switch) is reloaded. At this time, a
total Cisco Virtual Switching System outage is expected as switch 2 transitions from an RPR cold standby state
to the active state.
vss#redundancy force-switchover
This will reload the active unit and force switchover to standby [confirm]
Preparing for switchover..
*Aug 16 10:44:59.307: %SYS-SW1_SP-3-LOGGER_FLUSHING: System pausing to ensure
console debugging output.
<…snip…>
***
*** --- SHUTDOWN NOW ---
***
6. When switch 2 is completely online, it re-peers with its neighbors and forms any applicable relationships, and
traffic is forwarded through the Cisco Virtual Switching System again at 50-percent capacity while switch 1
continues to boot up with the new image or file system.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 60 of 71
White Paper
7. After switch 1 is completely brought back online and all interfaces are active, it enters into NSF/SSO state with
switch 2. At this stage, if the Switch Preemption feature is not configured, the system is completely operational
again with the new version of software installed on both virtual switches.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 61 of 71
White Paper
The relative traffic outage times for the Cisco Virtual Switching System as a whole in relation to these steps are
summarized in Figure 38:
With the Cisco Virtual Switching System technology, you should account for some additional considerations when
performing such an operation because the application of a patch under NSF/SSO renders the SSO relationship void,
resulting in the redundancy peer transitioning to an RPR state. As a result, Cisco recommends the following steps
when applying a restartable patch within a Cisco Virtual Switching System environment (Figure 39).
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 62 of 71
White Paper
1. Install the patch to be applied to both switch 1 (active virtual switch) and switch 2 (standby virtual switch) file
systems of the supervisor engine. Verify patches are in a pending install state on both supervisor engines by
issuing the show install running command:
Activation of the pending changes listed above will affect the following processes:
cdp2.iosproc
<…snip…>
[DONE]
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 63 of 71
White Paper
Activation of the pending changes listed above will affect the following processes:
cdp2.iosproc
<…snip…>
[DONE]
2. When possible, activate the patch on switch 1 (active virtual switch), a process that will also cause the standby
supervisor engine (switch 2) to reset, reducing total Cisco Virtual Switching System forwarding capacity to
50 percent.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 64 of 71
White Paper
<…snip…>
Do you want to continue with activating this change set...? [yes/no]: yes
Proceeding with activation, writing installer meta-data ...
Resetting standby supervisor
[DONE]
3. The standby supervisor engine (switch 2) is brought up and because of image inconsistencies (patch applied to
switch 1 and not switch 2), enters into RPR mode, where total system capacity still remains at 50 percent. Verify
that RPR mode is achieved. The system can operate in this mode while an evaluation phase may occur to
determine whether the patch applied is satisfactory. If so, you then can go to the next step.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 65 of 71
White Paper
4. If the patch applied to switch 1 was satisfactory, proceed to activate the same patch for switch 2. Doing so will
cause switch 2 (standby virtual switch) to be reset again such that the high-availability relationship between
switch 1 and switch 2 can be renegotiated.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 66 of 71
White Paper
<…snip…>
Do you want to continue with activating this change set...? [yes/no]: yes
Proceeding with activation, writing installer meta-data ...
Resetting the Standby Supervisor
[DONE]
5. After switch 2 is brought up, it enters into NSF/SSO redundancy mode because both the base images and
patches are identical across the two virtual switches. At this point, the Cisco Virtual Switching System resumes
100-percent forwarding capacity.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 67 of 71
White Paper
The relative traffic outage times for the Cisco Virtual Switching System as a whole in relation to these steps is
summarized in Figure 40:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 68 of 71
White Paper
Upgrading the Full Cisco IOS Software Image & Patch Upgrade Using Enhanced Fast Software
Upgrade (eFSU)
Starting with 12.2(33)SXI and later, eFSU (enhanced software upgrade) is supported for full IOS image and
patch upgrade.
Non-eFSU (FSU) software upgrades require system downtime, because a software version mismatch between the
active and the standby switch forces the system to boot in RPR redundancy mode, which is stateless and causes a
hard reset of the all modules.
eFSU enables an increase in network availability by reducing the downtime caused by software upgrades. eFSU
does this by bringing up the standby switch in SSO mode even when the active and the standby switch have different
software versions.
During an eFSU, new software is loaded onto the standby switch while the active switch continues to operate using
the previous software. As part of the upgrade, the standby switch processor reaches the SSO Standby Hot stage, a
switchover occurs, and the standby switch becomes active switch, running the new software. In previous releases a
switch running different software versions ran in the Route Processor Redundancy Mode (RPR).
You can continue with the upgrade to load the new software onto the other switch processor, or you can abort the
upgrade and resume operation with the old software.
With VSS and MEC, you gain the maximum amount of bandwidth available when an eFSU is done in comparison to a
non-eFSU (FSU) [Figure 42].
For more information and details on the eFSU process, please refer to this link:
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 69 of 71
White Paper
Figure 42. Comparing available bandwidth for non-eFSU (FSU) and eFSU.
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 70 of 71
White Paper
© 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 71 of 71