Cisco VSS configuration Commands

Source: Internet
Author: User
Tags cisco vss

Cisco's VSS is similar to H3C's IRF

Step together

6509-1 Configuration

First step, initialize Catalyst 6509 switch

vss-sw1#conf T


6509-2 Configuration


vss-sw2#conf T

Step Two,

Configure the VSS Domain ID;

VSS-SW1 (config) #switch virtual domain

Domain ID + config would take

Effect only

After the EXEC command ' switch

Convert mode virtual ' is issued


6509-2 Configuration


Vss-sw2 (config) #switch virtual domain

The third step,

Set switch ID;

VSS-SW1 (config-vs-domain) #switch 1


6509-2 Configuration


VSS-SW2 (config-vs-domain) #switch 2

Fourth Step,

Verify switch ID;

vss-sw1#Switch Read Switch_num

Read Switch_num from Rommon is 1


6509-2 Configuration


vss-sw2#Switch Read Switch_num

Read Switch_num from Rommon is 2

Fifth Step,

Configuring VSL;

vss-sw1#conf T

VSS-SW1 (config) #interface Portchannel 1

VSS-SW1 (config-if) #switch Virtual link 1

VSS-SW1 (config-if) #no shut


6509-2 Configuration


vss-sw2#conf T

Vss-sw2 (config) #interface Portchannel 2

VSS-SW2 (config-if) #switch Virtual link 2

VSS-SW2 (config-if) #no shut

Physical interfaces are zoned into port groups

VSS-SW1 (config) #interface Range

Tengigabitethernet 5/4-5

VSS-SW1 (config-if-range) #Channelgroup 1 mode on

VSS-SW1 (config-if-range) #no shut


switch-1# Platform Hardware VSL PFC mode pfc3c


6509-2 Configuration


Vss-sw2 (config) #interface Range

Tengigabitethernet 5/4-5

VSS-SW2 (config-if-range) #Channelgroup 2 mode on

VSS-SW2 (config-if-range) #no shut


switch-2# Platform Hardware VSL PFC mode pfc3c

Sixth Step,

VSS Mode Conversion

vss-sw1# switch convert mode  virtual

this command would convert all

convention "Interface-type

switch-number/slot/port ", save

the running config to startupconfig

and reload the switch.

do you want to proceed? [yes/no]: Yes

building configuration ...

[ok]

saving converted configurations

to bootflash ...

[ok]

 


6509-2 configuration


vss-sw2# switch Convert mode   Virtual

this command would convert all

interface names to naming

convention "Interface-type

switch-number/slot/port ", save

the running config to startupconfig

and reload the switch.

do you want to proceed? [yes/no]: Yes

building configuration ...

[ok]

saving converted configurations

to bootflash ...

[ok]

 

Seventh Step,

Restarting the switch

System detected Virtual Switch

Configuration ...

Interface TENGIGABITETHERNET1/5/4 is member of Portchannel 1

Interface TENGIGABITETHERNET1/5/5 is member of Portchannel 1

<snip>

00:00:26:%vsl_bringup-6-

MODULE_UP:VSL module in slot 5

Switch 1 brought up

Initializing as Virtual Switch Active

00:08:01:sw1_sp:card inserted in

Switch_number = 2,

Physical Slot 3,

Interfaces is now online

VSS >

vss>en

vss#

6509-2 Configuration


system detected Virtual Switch

interface TENGIGABITETHERNET2/5/4 is member of Portchannel 2

interface Tengigabitethernet2/5/5 is member of Portchannel 2

<SNIP>

00:00:26:%vsl_bringup-6-

module_up:vsl MODULE in slot 5

switch 2 brought up

initializing as Virtual Switch standby

&NBSP;

00:01:43:%crypto-6-isakmp_on_off:

ISAKMP is OFF

00:01:43:%crypto-6-isakmp_on_off:

ISAKMP is OFF

VSS-SDBY>

standby console disabled

Eighth Step,

Verifying the VSS Configuration

vss#Show Switch Virtual

Switch mode:virtual switch

Virtual Switch Domain number:100

Local Switch number:1

Local Switch Operational role:virtual switch Active

Peer Switch Number:2

Peer Switch Operational role:virtual switch Standby

Nineth Step,

Master and Standby Configuration synchronization

&NBSP;

vss# Switch Accept Mode virtual

this command would bring in all VSL configurations from the standby

switch and populate it into the running configuration.

white Paper

all contents is Copyright  1992–2008 Cisco Systems, Inc. All rights reserved. This document is a CISCO public information. Page:

in addition the startup configurations would be updated with the new

merged configurations.

do you want proceed? [yes/no]: Yes

building configuration ...

[ok]

&NBSP;

Tenth step,

Configuring VSL Failure

(There are two ways:)

1, PAGP

2, BFD

PAGP , it seems that the following access to 4500 above. There was no success in doing the experiment anyway.

vss (config) # Interface Port-channel

VSS (config-if) # shutdown

VSS (config-if) # Exit

vss (config) # switch Virtual domain

VSS (config-vs-domain) # dual-active Detection PAgP

VSS (config-vs-domain) # dual-active Detection PAGP Trust Channel-group

VSS (config-vs-domain) # Exit

vss (config) # Interface Port-channel

VSS (config-if) # no shutdown

VSS (config-if) # Exit

vss#conf T

Enter configuration commands, one per line. End with cntl/z.

VSS (config) #switch virtual domain

VSS (config-vs-domain) #dual-active detection PAgP

VSS (config-vs-domain) #dual-active Trust Channel-group

VSS (Config-vs-domain) #

BFD configuration,

The experiment was successful.

vss (config) # interface Gigabitethernet 1/5/3

VSS (config-if) # No Switchport

VSS (config-if) # IP address 200.230.230.231 255.255.255.0

VSS (config-if) # BFD interval Min_rx-multiplier

VSS (config-if) # no shutdown

VSS (config-if) # interface Gigabitethernet 2/5/3

VSS (config-if) # No Switchport

VSS (config-if) # IP address 201.230.230.231 255.255.255.0

VSS (config-if) # BFD interval Min_rx-multiplier

VSS (config-if) # no shutdown

VSS (config-if) # Exit

vss (config) # switch Virtual domain

VSS (config-vs-domain) # dual-active Detection BFD

VSS (config-vs-domain) # dual-active pair Interface G 1/9/48 interface g 2/1/48 BFD

Adding a static route 200.230.230.0 255.255.255.0 gi2/1/48 for this dual-active pair adding a static route 201.230.230.0 2 55.255.255.0 gi1/9/48 for this dual-active pair

VSS (config-vs-domain) # Exit

vss (config) # Exit

vss# Show switch virtual dual-active BFD

BFD dual-active detection enabled:yes Bfd dual-active interface pairs Configured:interface1 gi1/9/48 interface2 gi2/1/48

Set priority for two switches

vss#conf t

enter configuration commands, one per line. End with cntl/z.

vss (config) # switch virtual domain

vss (config-vs-domain) # switch 1 priority

*jul 7 08:59:11.913:%vslp-sw1_spstby-5-rrp_rt_cfg_change:configured

priority value

change would take the effect after Config was saved and switch is reloaded.

vss (config-vs-domain) # switch 2 priority

vss (Config-vs-domain) #^z

vss#

11th Step,

Save Configuration

vss#conf T

Enter configuration commands, one per line. End with cntl/z.

VSS (config) #WR


Cisco VSS configuration Commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.