cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536282
Views
103
Helpful
78
Comments
ashirkar
Level 7
Level 7

 

Introduction

The Cisco Virtual Switching System is a clustering technology that pools two Cisco Catalyst 4500-E Series Switches with Cisco Catalyst Supervisor Engine 7-E or 7-LE or two Catalyst 4500-X Series Switches into a single virtual switch. In a VSS, the data plane of both clustered switches is active at the same time in both chassis. VSS members are connected by virtual switch links (VSLs) using standard Gigabit or 10 Gigabit Ethernet connections between the VSS members. VSLs can carry regular user traffic in addition to the control plane communication between the VSS members.

Physical vs Logical Topology in a VSS Configuration

 

vss.jpg

 

This document describes how to configure a virtual switching system (VSS) for the Catalyst 4500 series switch (Supervisor Engine 7-E, Supervisor Engine 7L-E).

Some key point to be remembered for Cisco 4500 VSS

1) Configuration/Capability Supported supervisors on Catalyst 4500-E: VSS support Supervisor Engine 7-E or 7-LE (identical pairs).For more information about hardware to support please refer 4500 VSS Hardware requirement

2) Software requirement: Cisco IOS XE 3.4.0SG and ROMMON IOS Version 15.0(1r) SG7 later released support VSS.(Also refer How to Upgrade Cisco 4500 SUP7-E & Sup7L-E ROMMON To support VSS).

3)license requirement : 

To know more on license requirement refer "Release Notes for the Catalyst 4500E Series Switch"

Feature

LAN Base

IP Base

Enterprise Service

  • Virtual Switching System (VSS

 

No

Yes
(SUP7E only)

Yes

  • Support for Layer 3 MEC—VSS with Layer 3 Multichassis EtherChannel (MEC) at the aggregation layer

  • Support for VSLP Fast Hello—With VSLP Fast Hello, the Catalyst 4500-X configured for VSS can now connect Access Switches that do not support the ePAgP protocol.

  • Support for VSL Encryption

  • Support for Asymmetrix chassis

No

Yes (SUP7E)

No (SUP7LE)

Yes (SUP7E)

Yes (SUP7LE)

 

For information about Software Activation Licensing please refer Cisco Catalyst 4500E Supervisor 7-E and 7L-E and Cisco Catalyst 4500-X Series Software Activation Licensing Deployment Guide.

4) Single-sup cross-chassis VSS support: Yes.

5) Quad-sup VSS configuration with in-chassis redundant sups: In-chassis redundant sups in rommon mode with active uplinks.

6) It also supports 10 Gigabit Ethernet Virtual Switch Link (VSL) and 1 Gigabit Ethernet VSL.

7) SSO and nonstop forwarding (NSF) must be configured on each switch. If a VSS does not meet the requirements for SSO redundancy; it will be incapable of establishing a relationship with the peer switch. Catalyst 4500/4500-X series switches' VSS does not support route processor redundancy (RPR) mode.

Prerequisite

Before configuring VSS on Cisco 4500 please verify hardware and software requirement.

SW1#sh ver | in IOS
Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSAL-M), Version 03.04.00.SG RELEASE SOFTWARE (fc3)
Cisco IOS-XE software, Copyright (c) 2005-2010, 2012 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE

SW1#sh ver | in ROM
ROM: 15.0(1r)SG7
System returned to ROM by power-on 

SW1#sh license image levels 
Module name       Image level Priority Configured Valid license
--------------------------------------------------------------------
WS-X45-SUP7-E     entservices  1         YES        entservices            
                  ipbase       2         NO         ipbase                
                  lanbase      3         NO         lanbase  
 
Module Name     Role           Current Level     Reboot Level
--------------------------------------------------------------------
WS-X45-SUP7-E  Active         entservices       entservices

 

SW2#sh ver | in IOS
Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSAL-M), Version 03.04.00.SG RELEASE SOFTWARE (fc3)
Cisco IOS-XE software, Copyright (c) 2005-2010, 2012 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE

SW2#sh ver | in ROM
ROM: 15.0(1r)SG7
System returned to ROM by power-on

SW2#sh license image levels
Module name       Image level Priority Configured Valid license
--------------------------------------------------------------------
WS-X45-SUP7-E     entservices  1         YES        entservices            
                  ipbase       2         NO         ipbase                
                  lanbase      3         NO         lanbase 

Module Name     Role           Current Level     Reboot Level
--------------------------------------------------------------------
WS-X45-SUP7-E   Active        entservices       entservices

 

Configuration Steps

STEP1: Assigning Virtual Switch Domain and Switch Numbers

First you have to configure the same virtual switch domain number on both switches of the VSS. The virtual switch domain is a number between 1 and 255.After domain number you must configure one switch to be switch number 1 and the other switch to be switch number 2.

SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#switch virtual domain 10
Domain ID 10 config will take effect only
after the exec command 'switch convert mode virtual' is issued
SW1(config-vs-domain)#switch 1
SW1(config-vs-domain)#exit
SW1(config)#

 

SW2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#switch virtual domain 10
Domain ID 10 config will take effect only
after the exec command 'switch convert mode virtual' is issued
SW2(config-vs-domain)#switch 2
SW2(config-vs-domain)#exit
SW2(config)#

 

STEP2: Configuring VSL Port Channel

Then you need to configure VSL with a unique port channel on each switch. During the conversion, the VSS configures both port channels on the VSS Active switch. If the VSS Standby switch VSL port channel number has been configured for another use, the VSS comes up in RPR mode. To avoid this situation, check that both port channel numbers are available on both of the switches.

SW1(config)#int port-channel 5
SW1(config-if)#switchport
SW1(config-if)#switch virtual link 1
SW1(config-if)#no shut
SW1(config-if)#exit
*Jan 24 05:19:57.092: %SPANTREE-6-PORTDEL_ALL_VLANS: Port-channel5 deleted from all Vlans

 

SW2(config)#int port-channel 10
SW2(config-if)#switchport
SW2(config-if)#switch virtual link 2
SW2(config-if)#no shut
SW2(config-if)#exit
SW2(config)#
*Jan 24 05:14:17.273: %SPANTREE-6-PORTDEL_ALL_VLANS: Port-channel10 deleted from all Vlans

 

STEP3: configure the VSL ports

You need to add the VSL physical ports to the port channel. In the following example, interfaces Gigabit Ethernet 7/3 and 7/4 on Switch 1 are connected to interfaces Gigabit Ethernet 4/45 and 4/46 on Switch 2.

SW1(config)#int range gig7/3 - 4
SW1(config-if-range)#switchport mode trunk
SW1(config-if-range)#channel-group 5 mode on
WARNING: Interface GigabitEthernet7/3 placed in restricted config mode. All extraneous configs removed!
WARNING: Interface GigabitEthernet7/4 placed in restricted config mode. All extraneous configs removed!
SW1(config-if-range)#exit

 

SW2(config)#int range gig4/45 - 46
SW2(config-if-range)#switchport mode trunk
SW2(config-if-range)#channel-group 10 mode on
WARNING: Interface GigabitEthernet4/45 placed in restricted config mode. All extraneous configs removed!
WARNING: Interface GigabitEthernet4/46 placed in restricted config mode. All extraneous configs removed!
SW2(config-if-range)#exit

 

Note: Once the interfaces are put into VSL port-channel with “channel-group" command, then the interfaces goes into “notconnect” status. Interface status will show UP, but the line protocol will be down. The interface will be in UP/down (not connect) status, till the switch is rebooted in step 4.

STEP4: Converting the Switch to Virtual Switch Mode:

You need to enter the “switch convert mode virtual” command on Switch 1 for Converting to Virtual Switch Mode .After you enter this command it will prompted to confirm the action. Enter yes. The system creates a converted configuration file, and saves the file to the bootflash:

SW1#switch convert mode virtual 

This command will convert all interface names
to naming convention "interface-type switch-number/slot/port",
save the running config to startup-config and
reload the switch.
Do you want to proceed? [yes/no]: yes
Converting interface names
Building configuration...
Compressed configuration from 6551 bytes to 2893 bytes[OK]
Saving converted configuration to bootflash: ...
Destination filename [startup-config.converted_vs-20130124-062921]?
Please stand by while rebooting the system...
Restarting system. 

Rommon (G) Signature verification PASSED  
Rommon (P) Signature verification PASSED  
FPGA   (P) Signature verification PASSED

Similarly you need to enter the “switch convert mode virtual” command on Switch 2 for converting to Virtual Switch Mode.

 

SW2#switch convert mode virtual​ 

This command will convert all interface names
to naming convention "interface-type switch-number/slot/port",
save the running config to startup-config and
reload the switch.
Do you want to proceed? [yes/no]: yes
Converting interface names
Building configuration...
Compressed configuration from 6027 bytes to 2774 bytes[OK]
Saving converted configuration to bootflash: ...
Destination filename [startup-config.converted_vs-20130124-052526]?
Please stand by while rebooting the system...
Restarting system. 

Rommon (G) Signature verification PASSED  

Rommon (P) Signature verification PASSED  

FPGA   (P) Signature verification PASSED 

************************************************************
*                                                          *
* Welcome to Rom Monitor for   WS-X45-SUP7-E System.       *
* Copyright (c) 2008-2012 by Cisco Systems, Inc.           *
* All rights reserved.                                     *
*                                                          *
************************************************************

 

After you confirm the above commands on both switches, the running configuration is automatically saved as the startup configuration and the switch reboots. After the reboot, the switch is in virtual switch mode, so you must specify interfaces with three identifiers (switch/module/port).

When switches are being converted to VSS, you should not set them to ignore startup-config. If done, the switch can be enabled to parse the startup-config at the rommon prompt. Ignoring startup-config in VSS mode causes a switch to boot in a semi-VSS mode, which can only be corrected by a reboot and by enabling the parsing of startup-config.

Verification

1) To displays the virtual switch domain number, and the switch number and role for each of the switches you can use “show switch virtual” command.

SW1#sh switch virtual 

Executing the command on VSS member switch role = VSS Active, id = 1 

Switch mode                  : Virtual Switch
Virtual switch domain number : 10
Local switch number          : 1
Local switch operational role: Virtual Switch Active
Peer switch number           : 2
Peer switch operational role : Virtual Switch Standby 

Executing the command on VSS member switch role = VSS Standby, id = 2  

Switch mode                  : Virtual Switch
Virtual switch domain number : 10
Local switch number          : 2
Local switch operational role: Virtual Switch Standby
Peer switch number           : 1
Peer switch operational role : Virtual Switch Active

 

2) Once both switches cluster in single virtual switch, you will only have Active switch console and your Standby switch console appears as follow:

SW2-standby> 
Standby console disabled

3) To displays the role, switch number, and priority for each of the switch in the VSS use “show switch virtual role” command.

SW1#sh switch virtual role 

Executing the command on VSS member switch role = VSS Active, id = 1 

RRP information for Instance 1 

--------------------------------------------------------------------
Valid Flags   Peer     Preferred Reserved
               Count     Peer       Peer  

--------------------------------------------------------------------
TRUE   V       1           1         1  

Switch Switch Status Preempt       Priority Role     Local   Remote
       Number         Oper(Conf)   Oper(Conf)         SID     SID
--------------------------------------------------------------------
LOCAL   1     UP     FALSE(N )     100(100) ACTIVE   0       0
REMOTE  2     UP     FALSE(N )     100(100) STANDBY 6834   6152  

Peer 0 represents the local switch  

Flags : V - Valid
In dual-active recovery mode: No  

Executing the command on VSS member switch role = VSS Standby, id = 2 

RRP information for Instance 2  

--------------------------------------------------------------------
Valid Flags   Peer     Preferred Reserved
               Count     Peer       Peer  

--------------------------------------------------------------------
TRUE    V       1           1         1  

Switch Switch Status Preempt       Priority Role     Local   Remote
       Number         Oper(Conf)   Oper(Conf)         SID     SID
--------------------------------------------------------------------
LOCAL   2     UP     FALSE(N )     100(100) STANDBY  0       0
REMOTE  1     UP     FALSE(N )     100(100) ACTIVE   6152   6834 

Peer 0 represents the local switch

Flags : V - Valid
In dual-active recovery mode: No

 

4) To Displays information about the VSL use “show switch virtual link” command.

SW1#sh switch virtual link  

Executing the command on VSS member switch role = VSS Active, id = 1 

VSL Status : UP
VSL Uptime : 3 minutes
VSL Control Link : Gi1/7/4  

Executing the command on VSS member switch role = VSS Standby, id = 2 

VSL Status : UP
VSL Uptime : 3 minutes
VSL Control Link : Gi2/4/45

 

5) You can also verify information about the VSL port channel using “show switch virtual link port-channel”command.

SW1#sh switch virtual link port-channel 

Executing the command on VSS member switch role = VSS Active, id = 1 

Flags: D - down       P - bundled in port-channel
       I - stand-alone s - suspended
       H - Hot-standby (LACP only)
       R - Layer3     S - Layer2
       U - in use     N - not in use, no aggregation
       f - failed to allocate aggregator         

       M - not in use, no aggregation due to minimum links not met
       m - not in use, port not aggregated due to minimum links not met
       u - unsuitable for bundling
       d - default port  
       
       w - waiting to be aggregated  

Group Port-channel Protocol   Ports
------+-------------+-----------+-------------------
5     Po5(SU)          -       Gi1/7/3(P) Gi1/7/4(P)
10    Po10(SU)         -       Gi2/4/45(P) Gi2/4/46(P)  

Executing the command on VSS member switch role = VSS Standby, id = 2  

Flags: D - down       P - bundled in port-channel
       I - stand-alone s - suspended
       H - Hot-standby (LACP only)
       R - Layer3     S - Layer2
       U - in use     N - not in use, no aggregation
       f - failed to allocate aggregator         
       
       M - not in use, no aggregation due to minimum links not met
       m - not in use, port not aggregated due to minimum links not met
       u - unsuitable for bundling
       d - default port  
       
       w - waiting to be aggregated 

Group Port-channel Protocol   Ports
------+-------------+-----------+-------------------
5     Po5(SU)          -       Gi1/7/3(P) Gi1/7/4(P)
10    Po10(SU)         -       Gi2/4/45(P) Gi2/4/46(P) 

SW1#

Reference

Comments
ashirkar
Level 7
Level 7

Hello Aurio,

Thanks for your valuable feedback,

I have used 1 Gigabit Ethernet port for VSL.I will tried to setup lab and test it on 10 Gig port ,also  will  check with internal team on this and add outcome to above document. You can also open TAC case to solve and notify this problem.

Thanks and Regards,

Ashish Shirkar

Technical Community Manager-NI

ashirkar
Level 7
Level 7

Hello Sachin,

Thanks for your valuable feedback

Thanks and Regards,

Ashish Shirkar

(Technical community manager-NI)

ashirkar
Level 7
Level 7

Dear Zulfiquar,

"Thank you for your positive feedback."

Thanks and Regards,

Ashish Shirkar

(Technical community manager-NI)

anil.gupta3
Level 1
Level 1

Hi Ashish,

I need information on minimum license requirement or special license for sup 7-LE.

I have following boq with me. Please let me know, whether vss will be supported or not?

WS-C4506-E                       Cat4500 E-Series 6-Slot Chassis fan no ps              

S45UK9-32-1502XO             CAT4500e SUP7le Universal Crypto Image           

WS-X45-SUP7L-E                Catalyst 4500 E-Series Supervisor 7L-E 520Gbps             

C4500E-IP-ES                     Paper IP to Ent Services License   

3) Minimum license : IP Base or higher (7-E) or special license (7-LE and Catalyst 4500-X).For information about Software Activation Licensing please refer

Cisco Catalyst 4500E Supervisor 7-E and 7L-E and Cisco Catalyst 4500-X Series Software Activation Licensing Deployment Guide

.

regards, anil

Feichti
Level 1
Level 1

Hi

Ashish Shirkar

We have a problem with AAA Authorization.

We have got 2x 4510R+E with the VSS with the software 03.04.00.SG.

We have got also two ACS Server for AAA with the software Version 5.3.0.40.8.

Now AAA works on the most thinks and commands. But when you type

show power or

show switch virtual role

you get the output for the switch 1 and then you get the error % Authorization failed.

So you dont get the output for switch 2.

In the ACS Server we dont see any informations that the command is not allowed.

When you disable AAA it works fine.

Here the AAA config we made on the Switch.

aaa new-model

aaa authentication login default group tacacs+ local enable

aaa authentication login http group tacacs+ local enable

aaa authentication enable default group tacacs+ enable

aaa authorization console

aaa authorization config-commands

aaa authorization exec default group tacacs+ local if-authenticated

aaa authorization commands 0 default group tacacs+ local if-authenticated

aaa authorization commands 1 default group tacacs+ local if-authenticated

aaa authorization commands 2 default group tacacs+ local if-authenticated

aaa authorization commands 3 default group tacacs+ local if-authenticated

aaa authorization commands 4 default group tacacs+ local if-authenticated

aaa authorization commands 5 default group tacacs+ local if-authenticated

aaa authorization commands 6 default group tacacs+ local if-authenticated

aaa authorization commands 7 default group tacacs+ local if-authenticated

aaa authorization commands 8 default group tacacs+ local if-authenticated

aaa authorization commands 9 default group tacacs+ local if-authenticated

aaa authorization commands 10 default group tacacs+ local if-authenticated

aaa authorization commands 11 default group tacacs+ local if-authenticated

aaa authorization commands 12 default group tacacs+ local if-authenticated

aaa authorization commands 13 default group tacacs+ local if-authenticated

aaa authorization commands 14 default group tacacs+ local if-authenticated

aaa authorization commands 15 default group tacacs+ local if-authenticated

aaa authorization network default local

aaa accounting exec default start-stop group tacacs+

aaa accounting commands 0 default start-stop group tacacs+

aaa accounting commands 1 default start-stop group tacacs+

aaa accounting commands 2 default start-stop group tacacs+

aaa accounting commands 3 default start-stop group tacacs+

aaa accounting commands 4 default start-stop group tacacs+

aaa accounting commands 5 default start-stop group tacacs+

aaa accounting commands 6 default start-stop group tacacs+

aaa accounting commands 7 default start-stop group tacacs+

aaa accounting commands 8 default start-stop group tacacs+

aaa accounting commands 9 default start-stop group tacacs+

aaa accounting commands 10 default start-stop group tacacs+

aaa accounting commands 11 default start-stop group tacacs+

aaa accounting commands 12 default start-stop group tacacs+

aaa accounting commands 13 default start-stop group tacacs+

aaa accounting commands 14 default start-stop group tacacs+

aaa accounting commands 15 default start-stop group tacacs+

aaa accounting network default start-stop group tacacs+

ip tacacs source-interface Vlan999

tacacs-server host Server-IP1 7 password

tacacs-server host Server-IP2 7 password

tacacs-server directed-request

radius-server host Server-IP1 7 password

radius-server host Server-IP2 7 password

Hostname#show power

Executing the command on VSS member switch role = VSS Active, id = 2

Power                                             Fan      Inline

Supply  Model No          Type       Status       Sensor   Status

------  ----------------  ---------  -----------  -------  -------

PS1     PWR-C45-4200ACV   AC 4200W   good         good     good

PS1-1                         220V   good

PS1-2                         220V   good

PS2     PWR-C45-4200ACV   AC 4200W   good         good     good

PS2-1                         220V   good

PS2-2                         220V   good

Power supplies needed by system    : 2 Maximum Inputs = 3

Power supplies currently available : 2

Power Summary                      Maximum

(in Watts)              Used     Available

----------------------   ----     ---------

System Power (12V)        770        2200

Inline Power (-50V)         0        4690

Backplane Power (3.3V)     40          40

----------------------   ----     ---------

Total                     810 (not to exceed Total Maximum Available = 5500)

Power Measurement    Inline Power (-50V)

(in Watts)             (+/- 50Watts)

------------------   -------------------

PS1                           0

PS2                           0

------------------   -------------------

Total                         0

% Authorization failed.

It would be also good if you can say

show power switch 1 or

show power switch 2

like on the VSS on the 6500 Series.

or

show interfaces status switch 1 mod 2

show interfaces status switch 2 mod 2

Kind Regards

Tobias

mshatkus1
Level 1
Level 1

I've seen it before but cannot remember the command.  How do I enable both console ports in a VSS pair?

ollylolly
Level 1
Level 1

2x C4506-E Licence ipbase!

Hi,

I learned, that in Step 2 and 3 it is very important to use "no switchport". So I should use L3.

int port-channel 1

no switchport

switch virtual link 1

!

int ten 1/1

no switchport

channel-group 1 mode on

After switch convert mode virtual the switch 1 works fine, but the switch 2 has an error for the vsl-link.

It seems the C4506-E +Sub7E on the last  IOS 03.04.00.SG can't config VSS with L3. Configure the dual-activ detection bfd is not possible to.

Need I the L2 config?

Days later:

I tested the new IOS IOS 03.04.1.SG1 from 07/2013. And I tested the L2 config too. I gat allways the same result. The VSL-Link dosn't work. so I have 2 active switches.

Plamen Micovic
Level 1
Level 1

Tobias,

I had the same problem a few weeks ago with my 4500x stack. Once I removed all 'aaa authorization' statements, every command worked fine and parameters for both switches were displayed. Keep in mind that failover DID NOT happen when I rebooted the switch 1 - switch 2 was stuck on waiting for a handshake/handoff, therefore my whole system crashed...

HTH

Plamen

w.schieffer
Level 1
Level 1

FYI: 

The Sup 7-LE requires Enterprise services to support VSS please review the release notes.  Most the documents are very unclear on this fact except for the release notes.

http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/release/note/OL_29985-01.html#wp2560650

Thanks

Jan.Ferre
Level 1
Level 1

The instruction sheet seems easy to understand and to follow. I do have a too low version rommon - .6 instead of .7 - wonders if that's a problem.

Much worse though: This sheet says VSS requires IP Base or IP Enterprise. My switch was equipped with IP Base and the local gold-partner said I needed to upgrade to IP Enterprise in order to do VSS - price somewhat like $5.000 - each switch. Now it looks like this is not needed at all. Wonders if this is a task for the crime squad or if Cisco will refund the unneeded upgrade.

 

Jan Ferré

John Eze
Level 1
Level 1

Can u have VSS running at the core of your network and both VSS switches on Active Active mode. My question is that can the both VSS enable switches  keep separate routing table?
 

noisey_uk
Level 1
Level 1

VSS essentially binds both chassis into a single logical switch. You can then virtualise this single logical switch using VRFs just like you would a single physical chassis. So to achieve what you've asked you'd just create VRF_A (for physical chassis A) and VRF_B (for physical chassis B) then assign all physical ports on physical chassis A to VRF_A and all physical ports on physical chassis B to VRF_B. 

tranminhc
Level 1
Level 1

Hi all,

I have 2 Cat4506E switches with Sup 8E universal, and ip base license. it includes WS-X4748-RJ45V+E line card and WS-X4624-SFP-E line card in each switch chassis. Both are 1 Gbit port

My question is can I create a VSL link between two switch chassis in port-channel with one port from RJ45 line card, and the another port from SFP line card? Please confirm.

Thanks

prodamgit
Level 1
Level 1

Sure you can. Considering both are the same type (gigabits for example), vsl is going to come up.

tranminhc
Level 1
Level 1

Hi,

My Switches use iOS cat4500es8-universalk9.SPA.03.03.01.XO.151-1.XO1. But it doesn't have command "switch virtual domain xx"

I download the iOS cat4500es8-universal.SPA.03.06.00.E.152-2.E.bin, but it cannot boot.

It said the boot file failed.

I'm sure that I check the md5 for the iOS file before reboot, but it still fail

So what iOS I need to load into my Cat4500e sup8e

Please advice

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking for a $25 gift card