取消
显示结果 
搜索替代 
您的意思是: 
cancel
48824
查看次数
57
有帮助
34
评论
xupeng
Cisco Employee
Cisco Employee

本文将介绍Cisco StackWiseVirtual技术, 简称SV

StackWise Virtual技术简介:

StackWise Virtual技术使用10G或者40G接口连接, 将2台交换机虚拟成1台交换机.

带来的好处:

-单一的控制管理平面
-分布式数据转发平面,, 增加流量带宽
-高网络可用性
-简化网络架构

配置Stackwise Virtual的条件:

-设备使用相同硬件型号
-设备使用相同的License
-设备使用相同的软件版本

目前16.x系列中, 最新的IOS-XE版本为16.9.1,发布于18-JUL-2018
Catalyst9500支持StackWise Virtual技术的硬件型号为:

  • C9500-24Q
  • C9500-12Q
  • C9500-40X
  • C9500-16X


注意:
-9500-40X 和 C9500-16X的上联口网络模块, 不支持配置SVL链路 (StackWiseVirtual links).
-4x10G breakout cable也不支持配置SVL链路.
-SVL链路不支持10G和40G链路混合使用.
-SVL链路无法作为SPAN的源和目的接口

StackWise Virtual拓扑图

142223nef8x7qhn7x3vces.png

StackWise Virtual冗余性

StackWise Virtual的控制平面中, 一台交换机为Active角色, 另一台为Standby. 他们会形成SSO状态,
Active交换机负责StackWise Virtual中2台设备的管理控制,桥接和路由协议以及需要CPU进行软件转发的数据.
如果Standby交换机处于热备状态,当Active交换机发生故障是, Standby交换机则立即接管成为Active角色. 可以最小化故障时的流量中断.
Active 和Standby交换机可以同时转发数据流量.

Stackwise Virtual由3个部分组成


  • Stackwise Virtual Link
  • Dual Active DetectionLink
  • Multi-ChassisEther-channel


StackWiseVirtual links(SVL)

2台交换机之间,可以使用10G或者40G接口直连, 配置为SVL链路.
SVL上所有的数据包会被添加64-Byte SV包头(StackWise Virtual Header).只有开启了SV的交换机才能识别SVH.
以下场景,流量会通过SVL转发.
-在一个VLAN中泛洪的L2流量(即便做了双dual-home连接)
-数据包进入standby交换机后, 需要送到Active交换机的CPU进行处理.
-数据包的目的地在SVL另一端的设备上.


Dual-Active Detection双活检测

如果Standby交换机检测到SVL 链路完全中断,则认为Active交换机发生故障,并将接管成为Active交换机.
然而, 如果原始Active交换机仍在正常运行中,则这两台交换机现在都将是Active交换机。这种情况称为双活(Dual-Active). 此时网络中会有2台交换机具有相同的IP地址. SSH key. 和 STP bridge ID,造成网络的不稳定. SV检测到双活发生,会采取对应的恢复措施.Dual-active-detection 链路(DAD) 是用于缓解此问题的专用链路.
当SVL 故障了, standby交换机会接管成为active交换机,而原先的active交换机会进入recovery模式, 它会shutdown 所有非SVL接口.


143131da74pwqhdd43pdwl.png

支持两种双活检测方式:
Fast Hello

  • DAD链路必须直连2台Stackwise Virtual交换机,最多支持4条DAD链路.
Enhanced PAgP (ePAgP)

  • 要求MEC(Multichassis EtherChannels)使用PAgP协议(思科私有),每台SV至少有1个接口参与到MEC中. 依靠ePAgP 中的新TLV值完成双活检测.

双活的恢复措施
Active交换机检测到双活时, 会进入recovery模式, shutdown所有非SVL接口.将自己从网络中移除,以减小对网络的影响.
管理员需要手动修复SVL链路并重启recovery模式的这台交换机. 重启后,这台交换机将会成为standby角色.


Multichassis EtherChannels(MEC)

MEC即跨机箱的port-channel. 支持PAgP(思科私有), LACP 和ON模式. 当对端设备支持的情况下, 推荐使用PAgP和LACP模式. 当对端设备是思科的WLC无线控制器(不支持PAgP和LACP),需要使用ON 模式.
MEC可以支持多达8个物理链路,这些链路可以在SV的2台交换机之间以任意比例分配。建议均匀地在两台交换机上分配MEC端口。
Stackwise Virtual会尝试优先使用本地的接口转发流量, 避免流量通过SVL转发.
Stackwise Virtual上可以支持最大128个L2或者L3的MEC/port-channel.其中编号为128的MEC将保留供SVL使用.


Stackwise Virtual配置手册

142342b2khe9h21zzz1aee.png


常用show命令
show switch
show stackwise-virtual
show stackwise-virtual switch
show stackwise-virtual link
show stackwise-virtual bandwidth
show stackwise-virtual neighbors
show stackwise-virtual dual-active-detection
show stackwise-virtual dual-active-detection pagp


========================
请手动点个赞,支持一下楼主,谢谢大家
========================

评论
Xin Lei
Spotlight
Spotlight
dual-active recovery-reload-disable 弄不明白这个是啥意思
elitepublic.net
Level 1
Level 1

楼主 v5555555555555

hobbypython
Level 1
Level 1

我使用的是C9500-40X 系统版本是16.9.4,但是在config模式下没有stackwise-virtual 命令

C9500-1#show version
Cisco IOS XE Software, Version 16.09.04
Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.9.4, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Thu 22-Aug-19 18:14 by mcpre


Cisco IOS-XE software, Copyright (c) 2005-2019 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.


ROM: IOS-XE ROMMON
BOOTLDR: System Bootstrap, Version 16.12.2r, RELEASE SOFTWARE (P)

F15-6-C9500-1 uptime is 2 years, 38 weeks, 3 days, 3 hours, 49 minutes
Uptime for this control processor is 2 years, 38 weeks, 3 days, 3 hours, 50 minutes
System returned to ROM by PowerOn
System restarted at 01:05:02 UTC Wed Dec 2 2020
System image file is "flash:packages.conf"
Last reload reason: PowerOn

 

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.


Technology Package License Information:

------------------------------------------------------------------------------
Technology-package Technology-package
Current Type Next reboot
------------------------------------------------------------------------------
network-essentials Smart License network-essentials
dna-essentials Subscription Smart License dna-essentials


Smart Licensing Status: UNREGISTERED/EVAL EXPIRED

cisco C9500-40X (X86) processor with 1419044K/6147K bytes of memory.
Processor board ID FCW2403A1RE
85 Virtual Ethernet interfaces
48 Ten Gigabit Ethernet interfaces
2 Forty Gigabit Ethernet interfaces
2048K bytes of non-volatile configuration memory.
16777216K bytes of physical memory.
1638400K bytes of Crash Files at crashinfo:.
11264000K bytes of Flash at flash:.
0K bytes of WebUI ODM Files at webui:.

Base Ethernet MAC Address : a4:b4:39:cd:28:00
Motherboard Assembly Number : 73-18140-03
Motherboard Serial Number : FOC2401393S
Model Revision Number : G0
Motherboard Revision Number : C0
Model Number : C9500-40X
System Serial Number : FCW2403A1RE


Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 50 C9500-40X 16.9.4 CAT9K_IOSXE INSTALL



C9500-1#conf t
C9500-1(config)#stack?
stack-mac stackmaker stacks

 

Kevin-sun
Level 1
Level 1

network-essentials license doesn't support Stackwise

入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接