Vss Config
Vss Config
Vss Config
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.
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).
3)license requirement :
To know more on license requirement refer "Release Notes for the Catalyst 4500E
Series Switch"
LAN Enterprise
Feature IP Base
Base Service
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.
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)#
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
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.
************************************************************
* *
* 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.
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.
--------------------------------------------------------------------
Valid Flags Peer Preferred Reserved
Count Peer Peer
--------------------------------------------------------------------
TRUE V 1 1 1
Flags : V - Valid
In dual-active recovery mode: No
--------------------------------------------------------------------
Valid Flags Peer Preferred Reserved
Count Peer Peer
--------------------------------------------------------------------
TRUE V 1 1 1
Flags : V - Valid
In dual-active recovery mode: No
VSL Status : UP
VSL Uptime : 3 minutes
VSL Control Link : Gi1/7/4
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#