二层环路保护,SEP多实例的配置
作者:邓聪聪
智能以太保护SEP(Smart Ethernet Protection)是一种专用于以太网链路层的环网协议。SEP是一种以太环路保护机制,它通过有选择性地阻塞网络环路冗余链路,来达到消除网络二层环路的目的,避免报文在环路网络中增生和无限循环,有效防止形成网络风暴。本人刚接手了一套网络,布局也不是太复杂,基本全是2层网络,所以就利用了sep这个小技术。
实例1:
sysname sw1
#
vlan batch to
#
stp disable
#
sep segment
control-vlan
block port optimal
preempt delay
protected-instance to
sep segment
control-vlan
block port optimal
preempt delay
tc-notify segment
protected-instance to
#
interface Vlanif12
ip address 10.1.1.1 255.255.255.224
#
interface GigabitEthernet0//
port link-type trunk
port trunk allow-pass vlan
stp disable
sep segment
#
interface GigabitEthernet0//
port link-type access
port default vlan
#
interface GigabitEthernet0//
shutdown
port link-type trunk
undo port trunk allow-pass vlan
port trunk allow-pass vlan to
stp disable
sep segment edge primary
#
interface GigabitEthernet0//
shutdown
port link-type trunk
port trunk allow-pass vlan
stp disable
sep segment 10 edge primary
#
sysname sw2
#
stp disable
#
sep segment
control-vlan
protected-instance to
#
sep segment 11
control-vlan 100
block port optimal
preempt delay 30
tc-notify segment 5
protected-instance 0 to 48
interface GigabitEthernet0//
port link-type trunk
undo port trunk allow-pass vlan
port trunk allow-pass vlan
stp disable
sep segment
#
interface GigabitEthernet0//
port link-type trunk
undo port trunk allow-pass vlan
port trunk allow-pass vlan
stp disable
sep segment 5
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 11 100
stp disable
sep segment 11 edge primary
sysname sw3
#
stp disable
#
sep segment
control-vlan
protected-instance to
sep segment
control-vlan
tc-notify segment
protected-instance to
#
interface Vlanif11
ip address 1.1.1.30 255.255.255.224
#
interface Vlanif12
ip address 10.1.1.2 255.255.255.224
#
interface MEth0//
#
interface GigabitEthernet0//
port link-type access
port default vlan
#
interface GigabitEthernet0//
port link-type trunk
undo port trunk allow-pass vlan
port trunk allow-pass vlan
stp disable
sep segment
#
interface GigabitEthernet0//
port link-type trunk
undo port trunk allow-pass vlan
port trunk allow-pass vlan to
stp disable
sep segment
sep segment priority
#
interface GigabitEthernet0//
port link-type trunk
undo port trunk allow-pass vlan
port trunk allow-pass vlan
stp disable
sep segment
sep segment priority
#
sysname sw4
#
vlan batch
#
stp disable
#
sep segment
control-vlan
protected-instance to
#
sep segment 11
control-vlan 100
tc-notify segment 10
protected-instance 0 to 48
interface Vlanif11
ip address 1.1.1.4 255.255.255.224
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 11 100
stp disable
sep segment 11
sep segment 11 priority 128
interface GigabitEthernet0//
port link-type trunk
undo port trunk allow-pass vlan
port trunk allow-pass vlan
stp disable
sep segment
#
interface GigabitEthernet0//
port link-type trunk
port trunk allow-pass vlan
stp disable
sep segment
sysname sw5
#
sep segment
control-vlan
protected-instance to
#
interface GigabitEthernet0//
port link-type trunk
port trunk allow-pass vlan
stp disable
sep segment
#
interface GigabitEthernet0//
port link-type trunk
port trunk allow-pass vlan
stp disable
sep segment
#
实例2:
9306配置:
sep segment 1
control-vlan 4094
block port optimal
preempt delay 30
tc-notify segment 2
protected-instance 0 to 48
sep segment 2
control-vlan 4094
block port optimal
preempt delay 15
tc-notify segment 1
protected-instance 0 to 48
sep segment 3
control-vlan 4090
block port optimal
preempt delay 15
protected-instance 0 to 48
#
interface Vlanif1
ip address 1.1.1.1 255.255.255.0
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
shutdown
port hybrid tagged vlan 4094
stp disable
sep segment 1 edge secondary
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 4094
stp disable
sep segment 2 edge primary
#
interface GigabitEthernet0/0/3
port hybrid tagged vlan 4094
stp disable
sep segment 1 edge primary
#
interface GigabitEthernet0/0/4
port hybrid tagged vlan 4090
stp disable
sep segment 3 edge primary
#
interface GigabitEthernet0/0/5
port hybrid tagged vlan 4090
stp disable
sep segment 3 edge secondary
#
分支1-5700配置:
sep segment
control-vlan
block port optimal
protected-instance to #
interface Vlanif1
ip address 1.1.1.254 255.255.255.0
#
interface MEth0//
#
interface GigabitEthernet0//
port hybrid tagged vlan
stp disable
sep segment
#
interface GigabitEthernet0//
port hybrid tagged vlan
stp disable
sep segment
#
分支3-5700配置:
sep segment 1
control-vlan 4094
tc-notify segment 2
protected-instance 0 to 48
sep segment 2
control-vlan 4094
tc-notify segment 1
protected-instance 0 to 48
#
interface Vlanif1
ip address 1.1.1.2 255.255.255.0
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4094
stp disable
sep segment 2 edge secondary
#
interface GigabitEthernet0/0/2
port hybrid tagged vlan 4094
stp disable
sep segment 1
sep segment 1 priority 128
#
interface GigabitEthernet0/0/3
port hybrid tagged vlan 4094
stp disable
sep segment 1
#
分支2-5700配置:
sep segment 2
control-vlan 4094
protected-instance 0 to 48
#
interface Vlanif1
ip address 1.1.1.3 255.255.255.0
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port hybrid tagged vlan 4094
stp disable
sep segment 2
sep segment 2 priority 128
#
interface GigabitEthernet0/0/2
shutdown
port hybrid tagged vlan 4094
stp disable
sep segment 2
分支1配置:
sep segment
control-vlan
protected-instance to
#
interface Vlanif1
#
interface MEth0//
#
interface GigabitEthernet0//
port hybrid tagged vlan
stp disable
sep segment
#
interface GigabitEthernet0//
port hybrid tagged vlan
stp disable
sep segment
#
分支2配置:
sep segment
control-vlan
protected-instance to
#
interface Vlanif1
ip address 1.1.1.6 255.255.255.0
#
interface MEth0//
#
interface GigabitEthernet0//
port hybrid tagged vlan
stp disable
sep segment
sep segment priority
#
interface GigabitEthernet0//
port hybrid tagged vlan
stp disable
sep segment
二层环路保护,SEP多实例的配置的更多相关文章
- 二层环路保护,RRPP多环的配置
作者:邓聪聪 组网需求: 局域网中,由A/B/C/D构成RRPP域1换网络结构,要求环网机构中的任意两条线路中断都不能影响业务. 配置思路: 环路由两部分组成,ring1.ring2,B为环1的主节点 ...
- MSTP多实例的配置
MSTP多实例的配置 这次实验主要是为了加强对stp生成树协议中,RP(根端口),DP(指定端口),AP(阻塞端口)的判断方法:虽然很多时候不需要我们人工判断,因为当我们吧所有的配置好之后,然后开启生 ...
- 《连载 | 物联网框架ServerSuperIO教程》2.服务实例的配置参数说明
1.C#跨平台物联网通讯框架ServerSuperIO(SSIO)介绍 <连载 | 物联网框架ServerSuperIO教程>1.4种通讯模式机制 一.综述 SuperIO(SIO)定位 ...
- mysql多实例的配置和管理
原文地址:mysql多实例的配置和管理 作者:飞鸿无痕 多实例mysql的安装和管理 mysql的多实例有两种方式可以实现,两种方式各有利弊.第一种是使用多个配置文件启动不同的进程来实现多实例,这种方 ...
- 第十七章——配置SQLServer(4)——优化SQLServer实例的配置
原文:第十七章--配置SQLServer(4)--优化SQLServer实例的配置 前言: Sp_configure 可以用于管理和优化SQLServer资源,而且绝大部分配置都可以使用SQLServ ...
- SuperSocket入门(三)-Telnet多服务实例和服务实例交互配置详解
在SuperSocket入门(二)中我们已经简单了解了通过配置App.config文件使用BootStrap启动SuperSocket服务.我们先来看一下上个案例中的基本配置文件示例: < ...
- oracle 单实例DG(配置篇二)
一,DG搭建实例--主库配置 one : 归档配置 01,查看归档 1 select log_mode,force_logging from v$database; 02,开启归档 关闭数据库重新启 ...
- Amazon EC2安装mysql多实例并配置主从复制
1.MySQL安装: EC2直接使用yum安装mysql很方便: yum install mysql mysql-server mysql-libs 此处安装了三个包 完事之后可以直接使用 servi ...
- 基于mysqld_multi实现MySQL 5.7.24多实例多进程配置
学习环境: 操作系统 IP地址 主机名 软件包 备注 CentOS7.5 192.168.200.111 localhost 实验初始配置:所有主机关闭防火墙与selinux [root@ ...
随机推荐
- 运维监控-基于yum的方式部署 Zabbix Agent 4.0 版本
运维监控-基于yum的方式部署 Zabbix Agent 4.0 版本 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 上一篇博客我们分享了如何基于yum的方式部署zabbix 4. ...
- ASP.NET新建解决方案和网站
新建解决方案和网站 1.打开visual studio,选择新建项目,然后选择解决方案. 2.解决方案建好之后,右键点击解决方案选择新建网站.注意,路径.我在solution1文件夹下面又建了一个si ...
- springBootJpa的复杂查询
分页 /** * 条件查询+分页 * @param whereMap * @param page * @param size * @return */ public Page<CaseManag ...
- layui(四)——table组件常见用法总结
table是 layui 最核心的组成之一.它用于对表格进行一些列功能和动态化数据操作,涵盖了日常业务所涉及的几乎全部需求.支持固定表头.固定行.固定列左/列右,支持拖拽改变列宽度,支持排序,支持多级 ...
- Shuttle 学习
见 http://blog.csdn.net/liu765023051/article/details/38521039
- Ubuntu 启动服务 失败 的 可能解决办法
➜ ~ service nfs-kernel-server start Job for nfs-server.service canceled. 如果遇到服务启动失败,请检查有关的文件夹是否创建( ...
- 流媒体技术学习笔记之(十八)Ubuntu 16.04.3 如何编译 FFmpeg 记录
官方文档:https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu 一.最简单安装: apt-get install ffmpeg 二.安装最新版本 大 ...
- WEBGIS网页崩溃问题分析
加载某一地区的系统页面时,过了几十秒,页面空白.曾经捕获到是WMTS服务异常的问题.本人推测可能是底图服务停止,使得WMTS服务无法进行而抛出的异常. 为了证实自己的猜想,鄙人对一个正常的系统,修改为 ...
- [Java] [查找文件] [递归]]
// 工具方法 private static FilenameFilter getFilter(final String mode) { return new FilenameFilter() { P ...
- 随机生成10元素数组并找出最大元素(Java)
package day01; import java.util.Arrays; import java.util.Random; public class MaxOfArray { public st ...