SE 2014年4月30日
如图配置:

SW1 SW2 SW3 SW4组成一环型网络 Sw2 和Sw4个存在两业务vlan(vlan 10 和vlan 20)
1.Smart Link 组1 的引用实例1(绑定VLAN 10 )的流量从经过SW1 所在的链路相互通讯; 而Smart Link 组2 的引用实例2( 绑定VLAN20) 的流量从经过SW3 所在的链路相互通讯.
2.Smart Link 组1 和组2分别在VLAN 100和VLAN 200内发送和接收Flush报文。
3.当Sw1 和SW2之间的链路down时,SW4上的Smart-link组主动切换
Sw3 和Sw2 之间的链路down时,SW4上的Smart-link组主动切换
实验步骤:
1.交换网络中创建业务vlan 以及控制vlan
[SW1]vlan 10
[SW1]vlan 100
[SW1]vlan 20
[SW1]vlan 200
[SW2]vlan 10
[SW2]vlan 100
[SW2]vlan 20
[SW2]vlan 200
[SW3]vlan 10
[SW3]vlan 100
[SW3]vlan 20
[SW3]vlan 200
[SW4]vlan 10
[SW4]vlan 100
[SW4]vlan 20
[SW4]vlan 200
2.交换网络中接口放行所有vlan(业务vlan 以及控制vlan,不是all)
[SW1]vlan 10
[SW1-vlan10]port e0/4/2
[SW1]vlan 20
[SW1-vlan20]port e0/4/3
[SW1-Ethernet0/4/0]port link-type trunk
[SW1-Ethernet0/4/0]port trunk permit vlan 10 20 100 200
[SW1-Ethernet0/4/1]port link-type trunk
[SW1-Ethernet0/4/1]port trunk permit vlan 10 20 100 200
[SW2-Ethernet0/4/0]port trunk permit vlan
10 20 100 200
[SW2-Ethernet0/4/2]port trunk permit vlan 10 20 100 200
[SW3-Ethernet0/4/1]port trunk permit vlan 10 20 100 200
[SW3-Ethernet0/4/3]port trunk permit vlan 10 20 100 200
[SW4-vlan10]port e0/4/0
[SW4-vlan20]port e0/4/1
[SW4-Ethernet0/4/2]port trunk permit vlan 10 20 100 200
[SW4-Ethernet0/4/3]port trunk permit vlan 10 20 100 200
3.所有trunk接口关闭STP特性
[SW1-Ethernet0/4/1]undo stp
[SW1-Ethernet0/4/0]undo stp
[SW2-Ethernet0/4/0]undo stp
[SW2-Ethernet0/4/2]undo stp
[SW3-Ethernet0/4/1]undo stp
[SW3-Ethernet0/4/3]undo stp
[SW4-Ethernet0/4/2]undo stp
[SW4-Ethernet0/4/3]undo stp
4.在接入层交换机上创建MST域(创建vlan与实例的映射关系)
[SW1-mst-region]region-name cisco
[SW1-mst-region]instance 1 vlan 10
[SW1-mst-region]instance 2 vlan 20
[SW1-mst-region]active region-configuration
[SW4-mst-region]region-name cisco
[SW4-mst-region]instance 1 vlan 10
[SW4-mst-region]instance 2 vlan 20
[SW4-mst-region]active region-configuration
5.网络中所有tunk接口开启smart-link
flush 接口特征,并说明接收和发送flush报文时所使用的 控制vlan
[SW1-Ethernet0/4/0]smart-link flush enable control-vlan 100 200
[SW1-Ethernet0/4/1]smart-link flush enable control-vlan 100 200
[SW2-Ethernet0/4/0]smart-link flush enable control-vlan 100 200
[SW2-Ethernet0/4/2]smart-link flush enable control-vlan 100 200
[SW3-Ethernet0/4/2]smart-link flush enable control-vlan 100 200
[SW3-Ethernet0/4/1]smart-link flush enable control-vlan 100 200
[SW3-Ethernet0/4/3]smart-link flush enable control-vlan 100 200
[SW4-Ethernet0/4/3]smart-link flush enable control-vlan 100 200
[SW4-Ethernet0/4/2]smart-link flush enable control-vlan 100 200
6.在接入层交换机上创建smart-link
[SW1-smlk-group1]protected-vlan reference-instance 1
[SW1-smlk-group1]port e0/4/0 master
[SW1-smlk-group1]port e0/4/1 slave
[SW1-smlk-group2]protected-vlan reference-instance 2
[SW1-smlk-group2]port e0/4/1 master
[SW1-smlk-group2]port e0/4/0 slave
[SW1-smlk-group2]preemption mode role
[SW1-smlk-group1]preemption mode role
[SW4-smlk-group1]protected-vlan reference-instance 1
[SW4-smlk-group1]port e0/4/2 master
[SW4-smlk-group1]port e0/4/3 slave
[SW4-smlk-group1]preemption mode role
[SW4-smlk-group2]protected-vlan reference-instance 2
[SW4-smlk-group2]port e0/4/2 s
[SW4-smlk-group2]port e0/4/2 slave
[SW4-smlk-group2]port e0/4/3 m
[SW4-smlk-group2]port e0/4/3 master
[SW2-mtlk-group1]port E0/4/0 uplink
[SW2-mtlk-group1]port e0/4/2 downlink
[SW3-mtlk-group1]port e0/4/1 uplink
[SW3-mtlk-group1]port e0/4/3 downlink
7、测试
Shutdown SW1的E0/4/0,查看smart-link端口状态

激活链路,查看smart-link端口状态

SE 2014年4月30日的更多相关文章
- SE 2014年5月9日
两企业接入到 Internet(A公司和B公司),企业内部的用户及服务器均能够访问到 Internet. 2. A公司规模较大,采用了接入层/汇聚层/核心层的划分模式,接入层划分了多vLan(如图), ...
- SE 2014年5月8日
两企业接入到 Internet(A公司和B公司),企业内部的用户及服务器均能够访问到 Internet. 2. A公司规模较大,采用了接入层/汇聚层/核心层的划分模式,接入层划分了多vLan(如图), ...
- SE 2014年5月5日
如图配置 某企业网络规划图(三台交换设备/三台路由设备) 接入层 SW1 连接终端用户 汇聚层 SW2 SW3 核心层 R1 R2 R5 1. 如图 SW1 SW2 SW3 物理链路两两相连接,网络中 ...
- SE 2014年4月24日
如图配置交换网络 由于网络规模较小,企业将网络划分为了接入层和核心层两层 核心层设备(Sw1 Sw2 Sw3)作为用户的网关设备,提供三层转发功能 接入层设备(SW4 SW5)连接用户,分别划分三vl ...
- SE 2014年4月22日(二)
如图配置: 网络中存在三个公有AS 其中AS200使用了 BGP联盟技术(如图配置) 在AS 100 中R1上起源了四条BGP路由,(1)要求全网BGP设备均能够正常学习 (2)要求:(使用BGP团体 ...
- SE 2014 年4月21日(二)
实验练习: 如图配置: 两BGP自治系统,要求建立相关BGP邻居关系 1. 建立BGP邻居关系 要求使用BGP对等体组完成(IBGP要求使用loopback接口作为TCP建立的源接口) 2. R3 R ...
- SE 2014年4月18日
实验需求: R1 R2 R3用环回口建立IBGP对等体(使用对等体组),AS号为100 R4 R5 R6用环回口建立IBGP对等体(使用对等体组),AS号为 ...
- SE 2014年4月5日
背景需求: 缺省情况下,Level-1路由器只将去往其它区域的报文发送到最近的Level-1-2路由器. 路由渗透使Level-1-2路由器将Level-2区域的路由信息发布到Level-1区域. 4 ...
- SE 2014年4月4日
如图OSPF自治系统中有4个区域,要求如图配置使得中所有网络均能够相互访问为了网络安全及优化网络性能: 使用ospf实现全网互通: [RT1]ospf 1 router-id 1.1.1.1 [RT1 ...
随机推荐
- Asp.NET调用百度翻译
Asp.NET调用百度翻译,图示: HTML: <%@ Page Language="C#" AutoEventWireup="true" CodeFil ...
- JSP自定义标签——简单标签(2)
在前一篇博客中,我们已经学习了自定义的简单标签的基本使用方法,这一篇我们来学习如何在简单标签中添加标签属性.对自定义标签添加一些属性,可以使我们的标签功能更加灵活和复用.例如前一篇博客使用简单标签来对 ...
- K. Perpetuum Mobile
The world famous scientist Innokentiy almost finished the creation of perpetuum mobile. Its main par ...
- SGU114-Telecasting station
114. Telecasting station time limit per test: 0.5 sec. memory limit per test: 4096 KB Every city in ...
- Spring MVC Controller与jquery ajax请求处理json
在用 spring mvc 写应用的时候发现jquery传递的[json数组对象]参数后台接收不到,多订单的处理,ajax请求: "}]}]} $.ajax({ url : url, typ ...
- HDU 3584 三维树状数组
三维树状数组模版.优化不动了. #include <set> #include <map> #include <stack> #include <cmath& ...
- 禁用viewstate
<asp:Dropdownlist/>禁用viewstate以后 public partial class _Default : System.Web.UI.Page { ...
- Linux 高性能server编程——高级I/O函数
重定向dup和dup2函数 #include <unistd.h> int dup(int file_descriptor); int dup2(int file_descriptor_o ...
- JMS学习的个人理解笔记
Jms即java消息服务javamessage service,所谓的面向消息编程,主要应用在企业内部各个系统之间做接口,以异步方式传递消息数据. Jms有2种传送模式,先来看第一种,即点对点传送模式 ...
- IOS 后台执行 播放音乐
iOS 4開始引入的multitask.我们能够实现像ipod程序那样在后台播放音频了. 假设音频操作是用苹果官方的AVFoundation.framework实现.像用AvAudioPlayer.A ...