Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1142925
  • 博文数量: 168
  • 博客积分: 4445
  • 博客等级: 上校
  • 技术积分: 1307
  • 用 户 组: 普通用户
  • 注册时间: 2005-11-02 14:04
文章分类

全部博文(168)

文章存档

2018年(2)

2017年(5)

2016年(7)

2015年(1)

2014年(8)

2013年(1)

2012年(4)

2011年(54)

2010年(8)

2009年(19)

2008年(18)

2007年(36)

2006年(1)

2005年(4)

分类: 系统运维

2011-08-06 20:29:50

interface GigabitEthernet2/2/39

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/2/40

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/2/41

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/2/42

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/2/43

 no switchport

 no ip address

 shutdown

!        

interface GigabitEthernet2/2/44

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/2/45

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/2/46

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/2/47

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/2/48

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/5/1

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/5/2

 no switchport

 no ip address

 shutdown

!

interface GigabitEthernet2/5/3

 no switchport

 no ip address

 shutdown

!

interface TenGigabitEthernet2/5/4

 no switchport

 no ip address

 shutdown

!

interface TenGigabitEthernet2/5/5

 no switchport

 no ip address

 shutdown

!

interface Vlan1

 no ip address

 shutdown

!

ip classless

!

!

no ip http server

!

!

control-plane

!

!

line con 0

line vty 0 4

 login

!

exception core-file

!        

!

module provision switch 1

 slot 1 slot-type 152 port-type 31 number 48  virtual-slot 17

 slot 2 slot-type 147 port-type 61 number 48  virtual-slot 18

 slot 5 slot-type 254 port-type 31 number 2 port-type 61 number 1 port-type 60 number 2  virtual-slot 21

 !

module provision switch 2

 slot 1 slot-type 152 port-type 31 number 48  virtual-slot 33

 slot 2 slot-type 147 port-type 61 number 48  virtual-slot 34

 slot 5 slot-type 254 port-type 31 number 2 port-type 61 number 1 port-type 60 number 2  virtual-slot 37

 

!

 

end

 

switch-1#

说明:由于 两台核心交换机之间配置了VSS,所以两台交换机的配置信息将合并为一台,65-1之前的接口GigabitEthernet1/2现在变为 GigabitEthernet1/1/2,之前的接口GigabitEthernet2/3现在变为GigabitEthernet1/2/3,之前的 接口TenGigabitEthernet5/4现在变为TenGigabitEthernet1/5/4,而65-2之前的接口 GigabitEthernet1/2现在变为GigabitEthernet2/1/2,之前的接口GigabitEthernet2/3现在变为 GigabitEthernet2/2/3,之前的接口TenGigabitEthernet5/4现在变为TenGigabitEthernet2/5 /4;除此之外,最重要的就是之前双方都配置好的EtherChannel,现在只剩Active交换机65-1的 TenGigabitEthernet1/5/4和TenGigabitEthernet1/5/5还正常存在,而Standby交换机65-2的 EtherChannel配置在经过VSS合并之后被清空,所以必须手工添加交换机65-2上应有的EtherChannel配置和VSL配置,否则双方 的VSL将不能正常工作,那么VSS也就不能正常工作。

 

 

 

(3)手工添加交换机65-2上应有的EtherChannel配置和VSL配置:

switch-1(config)#int range tenGigabitEthernet 2/5/4 - 5

switch-1(config-if-range)#channel-group 20 mode on

switch-1(config-if-range)#no shutdown

% Range command terminated because it failed on TenGigabitEthernet2/5/4

switch-1(config-if-range)#exit

00:10:36: %EC-5-STAYDOWN: Te2/5/4 will remain down as its port-channel Po20 is admin-down

switch-1(config)#

switch-1(config)#int port-channel 20 

switch-1(config-if)#switch virtual link 2

switch-1(config-if)#no shutdown

switch-1(config-if)#exit

switch-1(config)#exit

switch-1#

00:11:03: %SYS-5-CONFIG_I: Configured from console by consolewr

switch-1#write

Building configuration...

 

00:14:16: %PFINIT-SW1_SP-5-CONFIG_SYNC: Sync'ing the startup configuration to the standby Router. [OK]

switch-1#

说明:虽然是配置65-2的EtherChannel和VSL,但还是在VSS的Active交换机上配置的,因为65-2工作在Standby状态,是不能进入enable进行配置和管理的。

 

 

(4)再次查看交换机65-1的工作模式:

switch-1#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

Conversion completed         : No

Perform exec command 'switch accept mode virtual' to complete the VSS conversion

switch-1#

说明:交换机65-1当前工作在VSS模式,并显示域名为100,本地交换机号码为1,本地交换机的角色为Active,即具有控制权限的主交换机,而对端交换机号码为2,并且对端交换机角色为Standby。

 

(5)查看当前交换机的VSS角色:

switch-1#show switch virtual role

 

Switch  Switch Status  Preempt    Priority  Role     Session ID

        Number         Oper(Conf) Oper(Conf)         Local  Remote

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

LOCAL    1     UP      TRUE (Y*)   200(200)  ACTIVE   0      0  

REMOTE   2     UP      TRUE (Y*)   100(100)  STANDBY  6887   6831

 

Active configured preempt timer(switch 1): 5 minutes

 

 

In dual-active recovery mode: No

 

switch-1#

 

说明:本地交换机65-1的角色为Active,即具有控制权限的主交换机,而对端交换机角色为Standby。

 

(6)查看当前交换机的VSL链路状态:

switch-1#show switch virtual link

VSL Status : UP

VSL Uptime : 5 minutes

VSL SCP Ping : Pass

VSL ICC Ping : Fail

VSL Control Link : Te1/5/4 

switch-1#

说明:当前交换机双方的VSL链路已经工作正常。

 

(7)再次查看核心交换机65-1的EtherChannel状态:

switch-1#sh etherchannel summary

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

Number of channel-groups in use: 2

Number of aggregators:           2

 

Group  Port-channel  Protocol    Ports

------+-------------+-----------+-----------------------------------------------

10     Po10(RU)         -        Te1/5/4(P)     Te1/5/5(D)    

20     Po20(RU)         -        Te2/5/4(P)     Te2/5/5(D)    

 

switch-1#

说明:目前 EtherChannel状态已经工作正常,虽然双方VSL互连的链路为TenGigabitEthernet5/4和 TenGigabitEthernet5/5,但本实验中只在TenGigabitEthernet5/4之间连接了单条光纤,所以 TenGigabitEthernet5/5的状态为D。

 

(8)再次查看交换机当前的SSO状态:

switch-1#

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 8  -STANDBY HOT

           Mode = Duplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = sso

     Maintenance Mode = Disabled

 Communications = Up

 

   client count = 72

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 1

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

switch-1#

说明:本地交换机当前的SSO状态为ACTIVE,而对端为STANDBY HOT,表明工作正常,如果对端不是工作在STANDBY HOT,则必须解决该问题,除STANDBY HOT之外的任何状态都为不正常。

 

 

                                                                  

 

VSS故障测试

                                                                  

 

 

1.手工命令故障切换 (1)在Active交换机65-1上输入命令手工执行故障切换(命令输入之后,本地交换机将自动重启):

switch-1#redundancy force-switchover

This will reload the active unit and force switchover to standby[confirm]

Preparing for switchover..

00:15:17: %SYS-SW1_SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.

 

00:15:17: %OIR-SW1_SP-6-CONSOLE: Changing console ownership to switch processor

 

 

 

switch-1-sp>

switch-1-sp>

00:15:17: %SYS-SW1_SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output.

 

00:15:19: %SYS-SW1_SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.

 

 

 

***

*** --- SHUTDOWN NOW ---

***

 

00:15:19: %SYS-SW1_SP-5-RELOAD: Reload requested

00:15:19: %OIR-SW1_SP-6-CONSOLE: Changing console ownership to switch processor

 

 

 

00:15:19: %SYS-SW1_SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output.

 

System Bootstrap, Version 8.5(3)

Copyright (c) 1994-2008 by cisco Systems, Inc.

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

说明:在Active交换机65-1上输入命令redundancy force-switchover执行故障切换之后,本地交换机将自动重启,而工作在Standby状态的对端交换机65-2将在Active交换机65-1出现故障时接替Active的角色。

 

 

(2)查看交换机65-2的状态:

再看65-2

switch-1>

switch-1>en

switch-1#

switch-1#

说明:原本工作在Standby状态的交换机65-2在Active交换机65-1出现故障时接替了Active的角色,所以现在65-2已经可以进入enable模式进行配置和管理了。

 

(3)查看交换机65-2当前的工作模式:

switch-1#show switch virtual

Switch mode                  : Virtual Switch

Virtual switch domain number : 100

Local switch number          : 2

Local switch operational role: Virtual Switch Active

Peer switch number           : 1

Peer switch operational role : Virtual Switch Standby

switch-1#

说明:结果显示当前交换机的号码为2,即为交换机65-2,并且目前交换机65-2的角色为Active,即具有控制权限的主交换机,而交换机65-1目前角色为Standby。

 

(4)查看当前交换机的VSS角色:

switch-1#show switch virtual role

 

Switch  Switch Status  Preempt    Priority  Role     Session ID

        Number         Oper(Conf) Oper(Conf)         Local  Remote

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

LOCAL    2     UP      FALSE(N )   100(100)  ACTIVE   0      0  

REMOTE   1     UP      TRUE (Y*)   200(200)  STANDBY  8415   6961

 

Standby configured preempt timer(switch 1): 5 minutes

 

In dual-active recovery mode: No

 

switch-1#

说明:结果显示当前交换机的号码为2,即为交换机65-2,并且目前交换机65-2的角色为Active,即具有控制权限的主交换机,而交换机65-1目前角色为Standby。

(5)查看当前交换机的VSL链路状态:

switch-1#show switch virtual link

VSL Status : UP

VSL Uptime : 3 minutes

VSL SCP Ping : Pass

VSL ICC Ping : Pass

VSL Control Link : Te2/5/4 

switch-1#

说明:当前交换机双方的VSL链路已经工作正常。

 

(6)查看交换机当前的SSO状态:

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 8  -STANDBY HOT

           Mode = Duplex

           Unit = Primary

        Unit ID = 37

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = sso

     Maintenance Mode = Disabled

 Communications = Up

 

   client count = 74

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 0

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

switch-1#

说明:本地交换机当前的SSO状态为ACTIVE,而对端为STANDBY HOT,表明工作正常。

 

 

                                                                  

 

2.关闭电源故障切换

说明:目前核心交换机65-2为VSS的Active交换机,而65-1工作在Standby状态,所以应该关闭核心交换机65-2的电源来做故障切换测试。

 

(1)连接目前工作在Standby状态的交换机65-1,并观察关闭Active交换机65-2的电源之后,65-1的状态变化:

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

00:07:43: %VSLP-SW1_SPSTBY-3-VSLP_LMP_FAIL_REASON: Te1/5/4: Link down

00:07:43: %VSLP-SW1_SPSTBY-2-VSL_DOWN:   Last VSL interface Te1/5/4 went down

00:07:43: %VSLP-SW1_SPSTBY-5-RRP_PREEMPT: Role change due to the following preemptive configuration

        Switch 1: Priority 200: Preempt enabled

        Switch 2: Priority 100: Preempt not enabled

00:07:43: %VSLP-SW1_SPSTBY-2-VSL_DOWN:   All VSL links went down while switch is in Standby role

00:07:43: %DUAL_ACTIVE-SW1_SPSTBY-1-VSL_DOWN: VSL is down - switchover, or possible dual-active situation has occurred

00:07:43: %DUAL_ACTIVE-SW1_SPSTBY-1-VSL_DOWN: VSL is down - switchover, or possible dual-active situation has occurred

00:07:43: %VSL-SW1_SPSTBY-3-VSL_SCP_FAIL: SCP operation failed

00:07:43: %PFREDUN-SW1_SPSTBY-6-ACTIVE: Initializing as Virtual Switch ACTIVE processor

00:05:59:  c6k_pwr_is_fantray_ok returns ok for fan_index 1

00:07:46: %C6KPWR-SP-4-PSOK: power supply 1 turned on.

00:07:46: %OIR-SW1_SP-6-INSCARD: Card inserted in slot 1, interfaces are now online

00:07:46: %OIR-SW1_SP-6-INSCARD: Card inserted in slot 2, interfaces are now online

00:07:46: %OIR-SW1_SP-6-INSCARD: Card inserted in slot 5, interfaces are now online

00:07:47: SW1_SP: remote_bay_ps_remove: couldn't sync the event

switch-1>

switch-1>

switch-1>

switch-1>

switch-1>

switch-1>

switch-1>

switch-1>

switch-1>en

switch-1>enable

switch-1#

说明:当关闭工作在Active状态的交换机65-2的电源之后,原本工作在Standby状态的交换机65-1已经接替了Active的角色,并且已经可以进入enable模式进行配置了管理了。

 

(2)查看交换机65-1当前的工作模式:

switch-1#show switch virtual

Switch mode                  : Virtual Switch

Virtual switch domain number : 100

Local switch number          : 1

Local switch operational role: Virtual Switch Active

switch-1#

说明:由于交换机65-2的电源已经关闭,所以本地交换机号码为1的65-1目前工作在Active状态。

 

(3)查看当前交换机65-1的VSS角色:

switch-1#show switch virtual role

 

Switch  Switch Status  Preempt    Priority  Role     Session ID

        Number         Oper(Conf) Oper(Conf)         Local  Remote

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

LOCAL    1     UP      TRUE (Y*)   200(200)  ACTIVE   0      0  

 

Active configured preempt timer(switch 1): 5 minutes

 

 

In dual-active recovery mode: No

 

switch-1#

说明:由于交换机65-2的电源已经关闭,所以本地交换机号码为1的65-1目前工作在Active状态。

 

 

(4)查看当前交换机的VSL链路状态:

switch-1#show switch virtual link

VSL Status : DOWN

VSL Uptime : -

VSL SCP Ping : -

VSL ICC Ping : -

VSL Control Link : -

switch-1#

说明:因为对端交换机的电源已经关闭,所以目前VSL的链路状态为DOWN。

(5)查看交换机当前的SSO状态:

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 1  -DISABLED

           Mode = Simplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = Non Redundant

     Maintenance Mode = Disabled

 Communications = Down      Reason: Simplex mode

 

   client count = 74

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 0

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

switch-1#

说明:本地交换机当前的SSO状态为ACTIVE,由于对端电源已经关闭,所以本地看见对端为DISABLED,一切正常。

 

 

(6)打开交换机65-2的电源,然后观察65-1的状态:

switch-1#

00:13:59: %VSLP-SW1_SP-5-VSL_UP:  Ready for Role Resolution with Switch=2, MAC=d0d0.fda5.d640 over Te1/5/4

00:14:04: %VSLP-SW1_SP-5-RRP_ROLE_RESOLVED: Role resolved as ACTIVE  by VSLP

00:14:04: %VSL-SW1_SP-5-VSL_CNTRL_LINK:  New VSL Control Link Te1/5/4

 

00:14:04: %VSLP-SW1_SP-5-VSL_UP:  Ready for control traffic

switch-1#

switch-1#

00:15:26: %PFREDUN-SW1_SP-6-ACTIVE: Standby initializing for SSO mode

00:15:33: %PFINIT-SW1_SP-5-CONFIG_SYNC: Sync'ing the startup configuration to the standby Router.

switch-1#

说明:交换机65-2的电源已经打开,65-1上出现接口开启的日志信息。

 

(7)查看开启交换机65-2的电源后,交换机65-1的工作模式:

switch-1#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

switch-1#

说明:目前交换机65-1的角色为Active,即具有控制权限的主交换机,而交换机65-2的角色为Standby,在交换机65-2的电源重新开启之后,并未造成任何影响。

 

(8)查看当前交换机的VSS角色:

switch-1#show switch virtual role

 

Switch  Switch Status  Preempt    Priority  Role     Session ID

        Number         Oper(Conf) Oper(Conf)         Local  Remote

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

LOCAL    1     UP      TRUE (Y*)   200(200)  ACTIVE   0      0  

REMOTE   2     UP      FALSE(N )   100(100)  STANDBY  8832   646

 

Active configured preempt timer(switch 1): 5 minutes

 

 

In dual-active recovery mode: No

 

switch-1#

switch-1#

说明:目前交换机65-1的角色为Active,即具有控制权限的主交换机,而交换机65-2的角色为Standby,在交换机65-2的电源重新开启之后,并未造成任何影响。

 

 

(9)查看当前交换机的VSL链路状态:

switch-1#show switch virtual link

VSL Status : UP

VSL Uptime : 2 minutes

VSL SCP Ping : Pass

VSL ICC Ping : Pass

VSL Control Link : Te1/5/4 

switch-1#

switch-1#

说明:现在交换机双方的VSL链路已经恢复正常。

 

(10)查看SSO的状态变化:

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 4  -STANDBY COLD

           Mode = Duplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = sso

     Maintenance Mode = Disabled

 Communications = Up

 

   client count = 74

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 0

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

switch-1#

switch-1#

switch-1#show redundancy states  

       my state = 13 -ACTIVE

     peer state = 5  -STANDBY COLD-CONFIG

           Mode = Duplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = sso

     Maintenance Mode = Disabled

 Communications = Up

 

   client count = 74

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 0

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

switch-1#

switch-1#

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 6  -STANDBY COLD-FILESYS

           Mode = Duplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = sso

     Maintenance Mode = Disabled

 Communications = Up

 

   client count = 74

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 0

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

switch-1#

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 7  -STANDBY COLD-BULK

           Mode = Duplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = sso

     Maintenance Mode = Disabled

 Communications = Up

 

   client count = 74

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 0

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

switch-1#

switch-1#

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 8  -STANDBY HOT

           Mode = Duplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = sso

     Maintenance Mode = Disabled

 Communications = Up

 

   client count = 74

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 1

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

说明:本地交换机65-1当前的SSO状态为ACTIVE,虽然对端交换机的SSO状态经过了STANDBY COLD、STANDBY COLD-CONFIG、STANDBY COLD-FILESYS、STANDBY COLD-BULK 等多个状态,但最后还是工作在了STANDBY HOT状态,如果最终对端不能工作在STANDBY HOT状态,则表示工作不正常,必须解决。

 

(11)查看交换机65-2的工作状态:

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

说明:在交换机65-2重新开启电源后,始终保持工作在Standby状态。

 

                                                                  

 

3.VSL链路中断故障切换

说明:如果VSS两台交换机之间的VSL链路中断,则两台交换机都会变回配置VSS之前的原本单机Active的状态(Standalone),这时双方的状态称为Dual Active状态,在Dual Active下的任何交换机都可以独立工作并且独立配置。

 

(1)查看VSL链路中断后65-1的状态:

switch-1#

00:16:23: %VSLP-SW1_SP-3-VSLP_LMP_FAIL_REASON: Te1/5/4: Link down

00:16:23: %VSLP-SW1_SP-2-VSL_DOWN:   Last VSL interface Te1/5/4 went down

 

00:16:23: %VSLP-SW1_SP-2-VSL_DOWN:   All VSL links went down while switch is in ACTIVE role

00:16:23: %VSL-SW1_SP-3-VSL_SCP_FAIL: SCP operation failed

00:16:24: SW1_SP:  Remote Switch 2 Physical Slot 5 - Module Type LINE_CARD  removed

 

00:16:24: SW1_SP:  Remote Switch 2 Physical Slot 1 - Module Type LINE_CARD  removed

 

00:16:24: SW1_SP:  Remote Switch 2 Physical Slot 2 - Module Type LINE_CARD  removed

 

00:16:24: SW1_SP: remote_bay_ps_remove: couldn't sync the event

00:16:24: SW1_SP: remote_bay_ps_remove: couldn't sync the event

00:16:24: %PFREDUN-SW1_SP-6-ACTIVE: Standby supervisor removed or reloaded, changing to Simplex mode

switch-1#

说明:VSL链路中断后,65-1出现了一些日志提示。

 

 

(2)查看交换机65-1的EtherChannel状态:

switch-1#show etherchannel summary

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

Number of channel-groups in use: 2

Number of aggregators:           2

 

Group  Port-channel  Protocol    Ports

------+-------------+-----------+-----------------------------------------------

10     Po10(RD)         -        Te1/5/4(D)     Te1/5/5(D)    

20     Po20(RD)         -       

 

switch-1#

说明:因为交换机之间的链路已经中断,所以当前EtherChannel已经断开。

 

(3)查看交换机65-1的工作模式:

switch-1#show switch virtual

Switch mode                  : Virtual Switch

Virtual switch domain number : 100

Local switch number          : 1

Local switch operational role: Virtual Switch Active

switch-1#

说明:因为交换机之间的VSL链路已经中断,所以65-1现在的角色为Active,即具有控制权限的主交换机。

 

(4)查看当前65-1的VSS角色:

switch-1#show switch virtual role

 

Switch  Switch Status  Preempt    Priority  Role     Session ID

        Number         Oper(Conf) Oper(Conf)         Local  Remote

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

LOCAL    1     UP      TRUE (Y*)   200(200)  ACTIVE   0      0  

 

Active configured preempt timer(switch 1): 5 minutes

 

 

In dual-active recovery mode: No

 

switch-1#

说明:因为交换机之间的VSL链路已经中断,所以65-1现在的角色为Active,即具有控制权限的主交换机。

 

(5)查看当前交换机的VSL链路状态:

switch-1#show switch virtual link

VSL Status : DOWN

VSL Uptime : -

VSL SCP Ping : -

VSL ICC Ping : -

VSL Control Link : -

switch-1#

switch-1#

说明:目前交换机的VSL链路状态为DOWN。

 

(6)查看交换机当前的SSO状态:

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 1  -DISABLED

           Mode = Simplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = Non Redundant

     Maintenance Mode = Disabled

 Communications = Down      Reason: Simplex mode

 

   client count = 72

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 0

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

说明:因为交换机之间的VSL链路已经中断,所以本地交换机的SSO状态为Active,对端的状态为DISABLED。

 

 

(7)查看VSL链路中断后65-2的状态:

00:16:23: %VSLP-SW1_SP-3-VSLP_LMP_FAIL_REASON: Te1/5/4: Link down

00:16:23: %VSLP-SW1_SP-2-VSL_DOWN:   Last VSL interface Te1/5/4 went down

 

00:16:23: %VSLP-SW1_SP-2-VSL_DOWN:   All VSL links went down while switch is in ACTIVE role

00:16:23: %VSL-SW1_SP-3-VSL_SCP_FAIL: SCP operation failed

00:16:24: SW1_SP:  Remote Switch 2 Physical Slot 5 - Module Type LINE_CARD  removed

 

 

switch-1>

switch-1>

switch-1>

switch-1>enble

switch-1#

说明:VSL链路中断后,原本工作在Standby状态的65-2已经变为Active状态,并且可以进入enable模式进行配置和管理。

 

(8)查看交换机65-2的EtherChannel状态:

switch-1#show etherchannel summary

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

Number of channel-groups in use: 2

Number of aggregators:           2

 

Group  Port-channel  Protocol    Ports

------+-------------+-----------+-----------------------------------------------

10     Po10(RD)         -       

20     Po20(RD)         -        Te2/5/4(D)     Te2/5/5(D)    

 

switch-1#

switch-1#

说明:因为交换机之间的链路已经中断,所以当前EtherChannel已经断开。

 

(9)查看当前65-2的工作模式:

switch-1#show switch virtual

Switch mode                  : Virtual Switch

Virtual switch domain number : 100

Local switch number          : 2

Local switch operational role: Virtual Switch Active

switch-1#

说明:因为交换机之间的VSL链路已经中断,所以65-2现在的角色已经变为Active。

 

(10)查看当前65-2的VSS角色:

switch-1#show switch virtual role

 

Switch  Switch Status  Preempt    Priority  Role     Session ID

        Number         Oper(Conf) Oper(Conf)         Local  Remote

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

LOCAL    2     UP      FALSE(N )   100(100)  ACTIVE   0      0  

 

 

In dual-active recovery mode: No

 

switch-1#

说明:因为交换机之间的VSL链路已经中断,所以65-2现在的角色已经变为Active。

 

(11)查看当前交换机的VSL链路状态:

switch-1#show switch virtual link

VSL Status : DOWN

VSL Uptime : -

VSL SCP Ping : -

VSL ICC Ping : -

VSL Control Link : -

switch-1#

说明:目前交换机的VSL链路状态为DOWN。

 

(12)查看交换机当前的SSO状态:

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 1  -DISABLED

           Mode = Simplex

           Unit = Primary

        Unit ID = 37

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = Non Redundant

     Maintenance Mode = Disabled

 Communications = Down      Reason: Simplex mode

 

   client count = 74

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 0

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

switch-1#

说明:因为交换机之间的VSL链路已经中断,所以本地交换机的SSO状态为Active,对端的状态为DISABLED。

 

 

(13)恢复交换机之间的VSL链路,并观察交换机65-2的状态变化:

 

switch-1#

00:00:09: DaughterBoard (Centralized Forwarding Card)

 

Firmware compiled 12-Jan-10 13:19 by integ Build [100]

00:00:12: %SYS-CFC1-5-RESTART: System restarted --

Cisco IOS Software, c6lc2 Software (c6lc2-SP-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:35 by prod_rel_team

00:00:09: DaughterBoard (Centralized Forwarding Card)

 

Firmware compiled 12-Jan-10 13:19 by integ Build [100]

00:00:12: %SYS-CFC2-5-RESTART: System restarted --

Cisco IOS Software, c6lc2 Software (c6lc2-SP-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:35 by prod_rel_team

Dec  9 07:42:28.164: CFC1: Currently running ROMMON from S (Gold) region

Dec  9 07:42:29.156: CFC2: Currently running ROMMON from S (Gold) region

00:05:55: %DIAG-SW2_SP-6-RUN_MINIMUM: Switch 2 Module 2: Running Minimal Diagnostics...

00:05:56: %DIAG-SW2_SP-6-RUN_MINIMUM: Switch 2 Module 1: Running Minimal Diagnostics...

00:06:06: %VSLP-SW2_SP-5-VSL_UP:  Ready for Role Resolution with Switch=1, MAC=8843.e1ce.4940 over Te2/5/4

00:06:10: %SYS-SW2_SP-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.

 

00:06:09: %VSLP-SW2_SP-5-RRP_MSG: Role change from Active to Standby and hence need to reload

00:06:09: %VSLP-SW2_SP-5-RRP_MSG: Reloading the system...

00:06:10: %SYS-SW2_SP-5-RELOAD: Reload requested Reload Reason: VSLP HA role change from active to standby.

00:06:10: %OIR-SW2_SP-6-CONSOLE: Changing console ownership to switch processor

 

 

 

00:06:10: %SYS-SW2_SP-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output.

 

System Bootstrap, Version 8.5(4)

Copyright (c) 1994-2009 by cisco Systems, Inc.

Cat6k-Sup720/SP processor with 1048576 Kbytes of main memory

 

Autoboot: failed, BOOT string is empty

Autoboot executing command: "boot "

 

Initializing ATA monitor library...

string is bootdisk:s72033-ipbase-vz.122-33.SXH7.bin

Loading image, please wait ...

 

 

Initializing ATA monitor library...

 

Self extracting the image... [OK]

Self decompressing the image : ###############################################################################
###############################################################################
###############################################################################
################################################################# [OK]

running startup....

 

              Restricted Rights Legend

 

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

 

           cisco Systems, Inc.

           170 West Tasman Drive

           San Jose, California 95134-1706

 

 

 

Cisco IOS Software, s72033_sp Software (s72033_sp-IPBASE-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:46 by prod_rel_team

Image text-base: 0x01020150, data-base: 0x01021000

 

 

System detected Virtual Switch configuration...

 Interface TenGigabitEthernet 2/5/4 is member of PortChannel 20

 Interface TenGigabitEthernet 2/5/5 is member of PortChannel 20

 

00:00:22: %SYS-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.

 

 

Firmware compiled 12-Jan-10 13:19 by integ Build [100]

 

Earl Card Index= 259

 

 

 

00:00:22: %PFREDUN-6-ACTIVE: Initializing as ACTIVE processor for this switch

Initializing as Virtual Switch STANDBY processor

 

00:00:59: %SYS-SW2_SPSTBY-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.

 

00:00:22: %SYS-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output.

 

00:00:27: %VSL_BRINGUP-6-MODULE_UP: VSL module in slot 5 switch 2 brought up

00:00:54: %VSLP-5-VSL_UP:  Ready for Role Resolution with Switch=1, MAC=8843.e1ce.4940 over  5/4

 

00:00:57: %VSLP-5-RRP_ROLE_RESOLVED: Role resolved as STANDBY by VSLP

00:00:57: %VSL-5-VSL_CNTRL_LINK:  New VSL Control Link  5/4 

 

00:00:57: %VSLP-5-VSL_UP:  Ready for control traffic

 

00:00:59: %OIR-SW2_SPSTBY-6-CONSOLE: Changing console ownership to route processor

 

 

 

System Bootstrap, Version 12.2(17r)SX7, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 2009 by cisco Systems, Inc.

Cat6k-Sup720/RP platform with 1048576 Kbytes of main memory

 

Download Start

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Download Completed! Booting the image.

Self decompressing the image : ###############################################################################
###############################################################################
###############################################################################
###############################################################################
###############################################################################
################################ [OK]

running startup....

 

              Restricted Rights Legend

 

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

 

           cisco Systems, Inc.

           170 West Tasman Drive

           San Jose, California 95134-1706

 

 

 

Cisco IOS Software, s72033_rp Software (s72033_rp-IPBASE-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:13 by prod_rel_team

Image text-base: 0x01020150, data-base: 0x01021000

 

cisco WS-C6506-E (R7000) processor (revision 1.2) with 1040384K/8192K bytes of memory.

Processor board ID SAL1441W13F

SR71000 CPU at 600Mhz, Implementation 1284, Rev 1.2, 512KB L2 Cache

Last reset from s/w reset

1 Virtual Ethernet interface

198 Gigabit Ethernet interfaces

4 Ten Gigabit Ethernet interfaces

1917K bytes of non-volatile configuration memory.

 

65536K bytes of Flash internal SIMM (Sector size 512K).

 

 

Press RETURN to get started!

 

 

00:00:50: curr is 0x0

 

00:00:50: RP: Currently running ROMMON from S (Gold) region

00:00:51: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan. The Bridge IDs of all active STP instances have been updated, which might change the spanning tree topology

00:01:32:  c6k_pwr_is_fantray_ok returns ok for fan_index 5

00:01:39: %SYS-5-RESTART: System restarted --

Cisco IOS Software, s72033_rp Software (s72033_rp-IPBASE-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:13 by prod_rel_team

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

说明:交换机之间的VSL链路恢复之后,优先级低的交换机65-2将自动重启,启动之后将保持工作在Standby状态。

 

 

(14)查看VSL链路恢复之后,交换机65-1的工作模式:

switch-1#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

switch-1#

说明:当VSL链路恢复之后,交换机65-1的角色仍然保持在Active状态,而对端交换机65-2的角色则为Standby。

 

(15)查看VSL链路恢复之后,交换机65-1的VSS角色:

switch-1#show switch virtual role

 

Switch  Switch Status  Preempt    Priority  Role     Session ID

        Number         Oper(Conf) Oper(Conf)         Local  Remote

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

LOCAL    1     UP      TRUE (Y*)   200(200)  ACTIVE   0      0  

REMOTE   2     UP      FALSE(N )   100(100)  STANDBY  6288   6831

 

Active configured preempt timer(switch 1): 5 minutes

 

 

In dual-active recovery mode: No

 

switch-1# 

说明:当VSL链路恢复之后,交换机65-1的角色仍然保持在Active状态,而对端交换机65-2的角色则为Standby。

 

(16)查看当前交换机的VSL链路状态:

switch-1#show switch virtual link

VSL Status : UP

VSL Uptime : 3 minutes

VSL SCP Ping : Pass

VSL ICC Ping : Pass

VSL Control Link : Te1/5/4 

switch-1#

switch-1#

说明:目前双方的VSL链路已经恢复。

 

(17)查看VSL链路恢复之后,交换机65-1的SSO状态:

 

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 8  -STANDBY HOT

           Mode = Duplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = sso

     Maintenance Mode = Disabled

 Communications = Up

 

   client count = 72

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 1

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

说明:双方交换机的VSL链路恢复之后,本地交换机65-1当前的SSO状态为ACTIVE,而对端为STANDBY HOT,表明工作正常。

 

(18)查看VSL链路恢复之后,交换机之间的EtherChannel状态:

switch-1#sh etherchannel summary

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

Number of channel-groups in use: 2

Number of aggregators:           2

 

Group  Port-channel  Protocol    Ports

------+-------------+-----------+-----------------------------------------------

10     Po10(RU)         -        Te1/5/4(P)     Te1/5/5(D)    

20     Po20(RU)         -        Te2/5/4(P)     Te2/5/5(D)    

 

switch-1#

switch-1#

说明:交换机之间的VSL链路恢复之后,EtherChannel的状态也恢复了正常:

 

 

                                                                  

 

  4.测试双方同时开机的VSS状态

 

(1)两台交换机同时开机,查看65-1的状态:

Initializing as Virtual Switch ACTIVE processor

 

00:01:58: %SYS-3-LOGGER_FLUSHING: System pausing to ensure console debugging output.

 

00:00:21: %SYS-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output.

 

00:00:26: %VSL_BRINGUP-6-MODULE_UP: VSL module in slot 5 switch 1 brought up

00:01:58: %VSLP-5-RRP_PEER_TIMEOUT: VSLP peer timer expired without detecting peer. Resolving role as Active

00:01:58: %VSLP-2-VSL_DOWN:   VSL links down and not ready for any traffic

 

00:01:58: %OIR-6-CONSOLE: Changing console ownership to route processor

 

 

 

System Bootstrap, Version 12.2(17r)SX6, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 2009 by cisco Systems, Inc.

Cat6k-Sup720/RP platform with 1048576 Kbytes of main memory

 

Download Start

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

Download Completed! Booting the image.

Self decompressing the image : ###############################################################################
###############################################################################
###############################################################################
###############################################################################
###############################################################################
################################ [OK]

running startup....

 

              Restricted Rights Legend

 

Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.

 

           cisco Systems, Inc.

           170 West Tasman Drive

           San Jose, California 95134-1706

 

 

 

Cisco IOS Software, s72033_rp Software (s72033_rp-IPBASE-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:13 by prod_rel_team

Image text-base: 0x01020150, data-base: 0x01021000

 

cisco WS-C6506-E (R7000) processor (revision 1.2) with 1040384K/8192K bytes of memory.

Processor board ID SAL1412DQ6Y

SR71000 CPU at 600Mhz, Implementation 1284, Rev 1.2, 512KB L2 Cache

Last reset from s/w reset

1 Virtual Ethernet interface

198 Gigabit Ethernet interfaces

4 Ten Gigabit Ethernet interfaces

1917K bytes of non-volatile configuration memory.

 

65536K bytes of Flash internal SIMM (Sector size 512K).

 

 

Press RETURN to get started!

 

 

00:00:52: curr is 0x0

 

00:00:52: RP: Currently running ROMMON from S (Gold) region

00:00:53: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan. The Bridge IDs of all active STP instances have been updated, which might change the spanning tree topology

00:00:59: %SYS-5-CONFIG_I: Configured from memory by console

00:01:03: %SYS-5-RESTART: System restarted --

Cisco IOS Software, s72033_rp Software (s72033_rp-IPBASE-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:13 by prod_rel_team

00:01:58: %SYS-3-LOGGER_FLUSHED: System was paused for 00:00:00 to ensure console debugging output.

00:02:05: %VSLP-SW1_SP-5-VSL_UP:  Ready for Role Resolution with Switch=2, MAC=d0d0.fda5.d640 over  5/4

 

00:02:08: %VSLP-SW1_SP-5-RRP_ROLE_RESOLVED: Role resolved as ACTIVE  by VSLP

00:02:08: %VSL-SW1_SP-5-VSL_CNTRL_LINK:  New VSL Control Link  5/4 

 

00:02:08: %VSLP-SW1_SP-5-VSL_UP:  Ready for control traffic

 

00:03:33: %SPANTREE-SW1_SP-5-EXTENDED_SYSID: Extended SysId enabled for type vlan. The Bridge IDs of all active STP instances have been updated, which might change the spanning tree topology

00:03:33: SW1_SP: SP: Currently running ROMMON from S (Gold) region

00:03:49: %SYS-SW1_SP-5-RESTART: System restarted --

Cisco IOS Software, s72033_sp Software (s72033_sp-IPBASE-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:46 by prod_rel_team

00:03:49: %OIR-SW1_SP-6-INSPS: Power supply inserted in slot 1

00:03:49: %OIR-SW1_SP-6-INSPS: Power supply inserted in slot 2

00:03:49: %C6KPWR-SW1_SP-4-PSOK: power supply 2 turned on.

00:01:05:  c6k_pwr_is_fantray_ok returns ok for fan_index 1

00:01:05:  c6k_pwr_is_fantray_ok returns ok for fan_index 3

00:03:52: SW1_SP:  Remote Switch 1 Physical Slot 5 - Module Type LINE_CARD  inserted

00:03:52: %FABRIC-SW1_SP-5-CLEAR_BLOCK: Clear block option is off for the fabric in slot 5.

00:03:52: %FABRIC-SW1_SP-5-FABRIC_MODULE_ACTIVE: The Switch Fabric Module in slot 5 became active.

00:03:53: %DIAG-SW1_SP-6-RUN_MINIMUM: Switch 1 Module 5: Running Minimal Diagnostics...

00:03:53: %CONST_DIAG-SW1_SP-6-DIAG_PORT_SKIPPED: Module 5 port 4 is skipped in TestLoopback due to: the port is used as a VSL link.

00:03:54: SW1_SP:  Remote Switch 1 Physical Slot 1 - Module Type LINE_CARD  inserted

 

00:03:54: SW1_SP:  Remote Switch 1 Physical Slot 2 - Module Type LINE_CARD  inserted

00:03:56: %CONST_DIAG-SW1_SP-6-DIAG_PORT_SKIPPED: Module 5 port 4 is skipped in TestChannel due to: the port is used as a VSL link.

00:04:00: %DIAG-SW1_SP-6-DIAG_OK: Switch 1 Module 5: Passed Online Diagnostics

00:04:01: %OIR-SW1_SP-6-INSCARD: Card inserted in slot 5, interfaces are now online

00:04:03: SW1_SP: Failed to inform standby of VSL port 1/5/4 addition

00:04:03: SW1_SP:  Card inserted in Switch_number = 1 ,

                physical slot 5, interfaces are now online

 

00:04:03: SW1_SP: Failed to inform standby of VSL port 1/5/5 addition

00:04:59: %PFREDUN-SW1_SP-6-ACTIVE: Standby initializing for SSO mode

00:05:06: %PFINIT-SW1_SP-5-CONFIG_SYNC: Sync'ing the startup configuration to the standby Router.

00:00:09: DaughterBoard (Centralized Forwarding Card)

 

Firmware compiled 12-Jan-10 13:19 by integ Build [100]

00:00:12: %SYS-CFC2-5-RESTART: System restarted --

Cisco IOS Software, c6lc2 Software (c6lc2-SP-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:35 by prod_rel_team

00:00:09: DaughterBoard (Centralized Forwarding Card)

 

Firmware compiled 12-Jan-10 13:19 by integ Build [100]

00:00:12: %SYS-CFC1-5-RESTART: System restarted --

Cisco IOS Software, c6lc2 Software (c6lc2-SP-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:35 by prod_rel_team

Dec  9 07:29:47.336: CFC2: Currently running ROMMON from S (Gold) region

Dec  9 07:29:47.176: CFC1: Currently running ROMMON from S (Gold) region

00:05:12: %DIAG-SW1_SP-6-RUN_MINIMUM: Switch 1 Module 2: Running Minimal Diagnostics...

00:05:13: %DIAG-SW1_SP-6-RUN_MINIMUM: Switch 1 Module 1: Running Minimal Diagnostics...

00:05:30: %DIAG-SW1_SP-6-DIAG_OK: Switch 1 Module 2: Passed Online Diagnostics

00:05:30: %OIR-SW1_SP-6-INSCARD: Card inserted in slot 2, interfaces are now online

00:05:34: SW1_SP:  Card inserted in Switch_number = 1 ,

                physical slot 2, interfaces are now online

00:05:38: SW1_SP:  Remote Switch 2 Physical Slot 5 - Module Type LINE_CARD  inserted

00:05:49: %DIAG-SW1_SP-6-DIAG_OK: Switch 1 Module 1: Passed Online Diagnostics

00:05:49: %OIR-SW1_SP-6-INSCARD: Card inserted in slot 1, interfaces are now online

00:05:51: %VSLP-SW1_SP-5-VSL_UP:  Ready for data traffic

00:05:52: SW1_SP:  Card inserted in Switch_number = 2 ,

                physical slot 5, interfaces are now online

00:05:52: SW1_SP:  Card inserted in Switch_number = 1 ,

                physical slot 1, interfaces are now online

00:04:21: %SPANTREE-SW2_SPSTBY-5-EXTENDED_SYSID: Extended SysId enabled for type vlan. The Bridge IDs of all active STP instances have been updated, which might change the spanning tree topology

00:04:21: SW2_SPSTBY: SP: Currently running ROMMON from S (Gold) region

00:04:26: %C6KPWR-SW2_SPSTBY-4-PSOK: power supply 1 turned on.

00:04:28: %FABRIC-SW2_SPSTBY-5-CLEAR_BLOCK: Clear block option is off for the fabric in slot 5.

00:04:28: %FABRIC-SW2_SPSTBY-5-FABRIC_MODULE_ACTIVE: The Switch Fabric Module in slot 5 became active.

00:04:28: %DIAG-SW2_SPSTBY-6-RUN_MINIMUM: Switch 2 Module 5: Running Minimal Diagnostics...

00:04:29: %CONST_DIAG-SW2_SPSTBY-6-DIAG_PORT_SKIPPED: Module 5 port 4 is skipped in TestLoopback due to: the port is used as a VSL link.

00:04:31: %CONST_DIAG-SW2_SPSTBY-6-DIAG_PORT_SKIPPED: Module 5 port 4 is skipped in TestChannel due to: the port is used as a VSL link.

00:04:36: %DIAG-SW2_SPSTBY-6-DIAG_OK: Switch 2 Module 5: Passed Online Diagnostics

00:04:59: %SYS-SW2_SPSTBY-5-RESTART: System restarted --

Cisco IOS Software, s72033_sp Software (s72033_sp-IPBASE-VM), Version 12.2(33)SXH7, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2010 by Cisco Systems, Inc.

Compiled Thu 11-Mar-10 15:46 by prod_rel_team

00:04:59: %PFREDUN-SW2_SPSTBY-6-STANDBY: Ready for SSO mode

00:06:10: SW1_SP:  Remote Switch 2 Physical Slot 1 - Module Type LINE_CARD  inserted

 

00:06:10: SW1_SP:  Remote Switch 2 Physical Slot 2 - Module Type LINE_CARD  inserted

 

switch-1>

switch-1>

switch-1>

switch-1>en

switch-1#

说明:两台交换机同时开机后,65-1能够正常进入enable模式,说明VSS优先级高的将成为Active角色。

 

(2)查看交换机65-1当前的工作模式:

 

switch-1#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

switch-1#

switch-1#

说明:当前交换机的号码为1,即交换机65-1目前的角色为Active,而对方交换机65-2角色为Standby。

 

 

(3)查看当前交换机的VSS角色:

switch-1#show switch virtual role

 

Switch  Switch Status  Preempt    Priority  Role     Session ID

        Number         Oper(Conf) Oper(Conf)         Local  Remote

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

LOCAL    1     UP      TRUE (Y*)   200(200)  ACTIVE   0      0  

REMOTE   2     UP      FALSE(N )   100(100)  STANDBY  3731   6831

 

Active configured preempt timer(switch 1): 5 minutes

 

 

In dual-active recovery mode: No

 

switch-1#

说明:当前交换机65-1目前的角色为Active,而对方交换机65-2角色为Standby。

 

 

(4)查看当前交换机的VSL链路状态:

switch-1#show switch virtual link

VSL Status : UP

VSL Uptime : 1 minute

VSL SCP Ping : Pass

VSL ICC Ping : Pass

VSL Control Link : Te1/5/4 

switch-1#

switch-1#

说明:当前交换机双方的VSL链路已经工作正常。

 

(5)查看交换机当前的SSO状态:

 

switch-1#show redundancy states

       my state = 13 -ACTIVE

     peer state = 8  -STANDBY HOT

           Mode = Duplex

           Unit = Primary

        Unit ID = 21

 

Redundancy Mode (Operational) = sso

Redundancy Mode (Configured)  = sso

Redundancy State              = sso

     Maintenance Mode = Disabled

 Communications = Up

 

   client count = 72

 client_notification_TMR = 30000 milliseconds

          keep_alive TMR = 9000 milliseconds

        keep_alive count = 1

    keep_alive threshold = 18

           RF debug mask = 0x0  

 

switch-1#

switch-1#

说明:本地交换机当前的SSO状态为ACTIVE,而对端为STANDBY HOT,表明工作正常。

 

(6)查看交换机65-2的状态:

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>

Standby console disabled

 

switch-1-sdby>en

Standby console disabled

 

switch-1-sdby>

Standby console disabled

说明:当双方交换机同时开机,VSS优先级高的交换机65-1将成为Active,而优先级低的交换机65-2则工作在Standby。

 

                                                                  

 

配置Multichassis EtherChannel (MEC)

说明:继续以上图为例,配置VSS核心交换机与接入交换机2960之间的Multichassis EtherChannel (MEC)。

                                                                  

 

  1.配置Multichassis EtherChannel (MEC)

(1)在VSS核心交换机上配置Multichassis EtherChannel (MEC):

switch-1(config)#interface gigabitEthernet 1/1/1 , g2/1/1

switch-1(config-if-range)#switchport

switch-1(config-if-range)#no shutdown

% Range command terminated because it failed on TenGigabitEthernet5/4

switch-1(config-if-range)#channel-group 100 mode desirable

switch-1(config-if-range)#exit

 

switch-1(config)#interface port-channel 100

switch-1(config-if)#switchport mode access

switch-1(config-if)#switchport access vlan 100

switch-1(config-if)#no shutdown

switch-1(config-if)#exit

说明:在VSS核心交换机上将连接接入交换机2960的两个光接口gigabitEthernet 1/1/1和gigabitEthernet 2/1/1配置为Multichassis EtherChannel (MEC),并且配置为2层access接口,然后划入VLAN 100中。

 

(2)在接入交换机2960上配置普通EtherChannel:

2960(config)#interface gigabitEthernet 0/21 - 22

2960(config-if-range)#no shutdown

2960(config-if-range)#channel-group 1 mode desirable

2960(config-if-range)#exit

 

2960(config)#interface port-channel 1

2960(config-if)#switchport mode access

2960(config-if)#switchport access vlan 100

2960(config-if)#exit

说明:在接入交换机2960上将连接VSS核心交换机两个光接口gigabitEthernet 0/21和gigabitEthernet 0/22配置为普通EtherChannel即可,并且划入VLAN 100中。

 

(3)查看VSS核心交换机上的EtherChannel状态:

switch-1#show etherchannel summary

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

Number of channel-groups in use: 3

Number of aggregators:           3

 

Group  Port-channel  Protocol    Ports

------+-------------+-----------+-----------------------------------------------

10     Po10(RU)         -        Te1/5/4(P)     Te1/5/5(D)    

20     Po20(RU)         -        Te2/5/4(P)     Te2/5/5(D)      

100    Po100(SD)       PAgP      Gi1/1/1(P)    Gi2/1/1(P)   

 

switch-1#

说明:VSS核心交换机上显示与接入交换机之间的EtherChannel工作正常。

 

(4)查看接入交换机2960上的EtherChannel状态:

2960#show etherchannel summary

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      f - failed to allocate aggregator

 

        M - not in use, minimum links not met

        u - unsuitable for bundling

        w - waiting to be aggregated

        d - default port

 

 

Number of channel-groups in use: 1

Number of aggregators:           1

 

Group  Port-channel  Protocol    Ports

------+-------------+-----------+-----------------------------------------------

1      Po1(SU)         PAgP      Gi0/21(P)   Gi0/22(P)

 

2960#

说明:接入交换机2960上与VSS核心交换机之间的EtherChannel工作正常。

                                                                  

 

 

2.测试交换机之间的EtherChannel连通性

(1)在VSS核心交换机上创建SVI接口,并配置IP地址:

switch-1(config)#int vlan 100

switch-1(config-if)#ip add 100.1.1.1 255.255.255.0

switch-1(config-if)#no shutdown

说明:在VSS核心交换机上创建与2960之间的SVI接口,以作测试。

 

(2)在接入交换机2960上创建SVI接口,并配置IP地址:

2960(config)#int vlan 100

2960(config-if)#ip add 100.1.1.2 255.255.255.0

2960(config-if)#no shutdown

说明:在接入交换机2960上创建与VSS核心交换机之间的SVI接口,以作测试。

 

(3)测试VSS核心交换机与2960之间的连通性:

switch-1#ping 100.1.1.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 100.1.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

switch-1#

说明:VSS核心交换机与2960之间的通信正常。

 

(4)测试2960与VSS核心交换机之间的连通性:

2960#ping 100.1.1.1

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 100.1.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

2960#

说明:2960与VSS核心交换机之间的通信正常。

 

注:当VSS中Active交换机出现故障之后,Standby交换机在接替Active工作时,接入交换机与核心交换机之间的通信可能出现毫秒级的中断,如果使用ICMP作ping测试,会出现1个丢包,也有时会不丢包,因为中断是毫秒级的。

 

                                                                  

阅读(7698) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~