精选文章 E152堆叠

E152堆叠

作者:weixin_34138255 时间: 2021-07-06 09:11:02
weixin_34138255 2021-07-06 09:11:02
【摘要】
                     
 
  
   上星期去更换一台E152,原本是由4台E152进行堆叠了的,所以更换后也要把新换的交换机加进堆叠去,原来以为可以很快就完成的,没想到中间还是遇到了不少的问题。
   
  
    
   
  
   第一,堆叠前必需保证交换机的配置一样,否则不能堆叠成功。因为拿过去的交换机是新的,而原来的三台交换机已经配置好了的,所以一直堆叠...
上星期去更换一台E152,原本是由4台E152进行堆叠了的,所以更换后也要把新换的交换机加进堆叠去,原来以为可以很快就完成的,没想到中间还是遇到了不少的问题。
第一,堆叠前必需保证交换机的配置一样,否则不能堆叠成功。因为拿过去的交换机是新的,而原来的三台交换机已经配置好了的,所以一直堆叠不成功。最后把四台交换机的配置全删了,重新配置。
第二,堆叠成功后无法更改管理VLAN。为了保证堆叠成功,我第一步就直接起了堆叠,成功看到堆叠后,才一步步地进行配置,发现无法更改管理VLAN,又不得不把堆叠去了,四台交换机都改好管理VLAN后再进行堆叠。
下面是配置步骤:
把相应的接口改成trunk
interface GigabitEthernet1/1/1
 port link-type trunk
 port trunk permit vlan all
更改管理VLAN,不需要手动设置IP,堆叠成功后会自动从堆叠地址池中配置IP
vlan 100
management-vlan 100
配置堆叠地址池,有多少台交换机就需要多少个连续的地址
stacking ip-pool 192.168.100.110 4 255.255.255.0
stacking enable
local-user admin
 password simple admin
 service-type telnet
 level 3
user-interface vty 0 4
 authentication-mode scheme
snmp-agent
snmp-agent community read public
snmp-agent community write private
snmp-agent sys-info version all
ip route-static 0.0.0.0 0.0.0.0 192.168.100.1
vlan 102
 port Ethernet 1/0/1 to Ethernet 1/0/48
查看堆叠的命令:
display stacking
display stacking members
在第一台交换上使下面命令可以切换到相应的交换上
stacking  数字
例子:
第一台
#
 sysname H3C
#
radius scheme system
#
domain system
#
local-user admin
 password simple admin
 service-type telnet
 level 3
#
vlan 1
#
vlan 100
#
vlan 102
#
interface Vlan-interface100
 ip address 192.168.100.110 255.255.255.0
#
interface Aux1/0/0
#
interface Ethernet1/0/1
 port access vlan 102
#
interface Ethernet1/0/2
 port access vlan 102
#
interface Ethernet1/0/3
 port access vlan 102
#
interface Ethernet1/0/4
 port access vlan 102
#
interface Ethernet1/0/5
 port access vlan 102
#
interface Ethernet1/0/6
 port access vlan 102
#
interface Ethernet1/0/7
 port access vlan 102
#
interface Ethernet1/0/8
 port access vlan 102
#
interface Ethernet1/0/9
 port access vlan 102
#
interface Ethernet1/0/10
 port access vlan 102
#
interface Ethernet1/0/11
 port access vlan 102
#
interface Ethernet1/0/12
 port access vlan 102
#
interface Ethernet1/0/13
 port access vlan 102
#
interface Ethernet1/0/14
 port access vlan 102
#
interface Ethernet1/0/15
 port access vlan 102
#
interface Ethernet1/0/16
 port access vlan 102
#
interface Ethernet1/0/17
 port access vlan 102
#
interface Ethernet1/0/18
 port access vlan 102
#
interface Ethernet1/0/19
 port access vlan 102
#
interface Ethernet1/0/20
 port access vlan 102
#
interface Ethernet1/0/21
 port access vlan 102
#
interface Ethernet1/0/22
 port access vlan 102
#
interface Ethernet1/0/23
 port access vlan 102
#
interface Ethernet1/0/24
 port access vlan 102
#
interface Ethernet1/0/25
 port access vlan 102
#
interface Ethernet1/0/26
 port access vlan 102
#
interface Ethernet1/0/27
 port access vlan 102
#
interface Ethernet1/0/28
 port access vlan 102
#
interface Ethernet1/0/29
 port access vlan 102
#
interface Ethernet1/0/30
 port access vlan 102
#
interface Ethernet1/0/31
 port access vlan 102
#
interface Ethernet1/0/32
 port access vlan 102
#
interface Ethernet1/0/33
 port access vlan 102
#
interface Ethernet1/0/34
 port access vlan 102
#
interface Ethernet1/0/35
 port access vlan 102
#
interface Ethernet1/0/36
 port access vlan 102
#
interface Ethernet1/0/37
 port access vlan 102
#
interface Ethernet1/0/38
 port access vlan 102
#
interface Ethernet1/0/39
 port access vlan 102
#
interface Ethernet1/0/40
 port access vlan 102
#
interface Ethernet1/0/41
 port access vlan 102
#
interface Ethernet1/0/42
 port access vlan 102
#
interface Ethernet1/0/43
 port access vlan 102
#
interface Ethernet1/0/44
 port access vlan 102
#
interface Ethernet1/0/45
 port access vlan 102
#
interface Ethernet1/0/46
 port access vlan 102
#
interface Ethernet1/0/47
 port access vlan 102
#
interface Ethernet1/0/48
 port access vlan 102
#
interface GigabitEthernet1/1/1
 port link-type trunk
 port trunk permit vlan all
#
interface GigabitEthernet1/1/2
 port link-type trunk
 port trunk permit vlan all
#
interface GigabitEthernet1/1/3
 port link-type trunk
 port trunk permit vlan all
#
interface GigabitEthernet1/1/4
 port link-type trunk
 port trunk permit vlan all
#
interface NULL0
#
 management-vlan 100
#
 voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000
#
 ip route-static 0.0.0.0 0.0.0.0 192.168.100.1 preference 60
#
 snmp-agent
 snmp-agent local-engineid 800063A2000FE2F2239C6877
 snmp-agent community read public
 snmp-agent community write private
 snmp-agent sys-info version all
#
 stacking ip-pool 192.168.100.110 4 255.255.255.0
 stacking enable
#
user-interface aux 0 7
user-interface vty 0 4
 authentication-mode scheme
#
return
第四台:
#
 sysname H3C
#
radius scheme system
#
domain system
#
local-user admin
 password simple admin
 service-type telnet
 level 3
#
vlan 1
#
vlan 100
#
vlan 102
#
interface Vlan-interface100
 ip address 192.168.100.113 255.255.255.0
#
interface Aux1/0/0
#
interface Ethernet1/0/1
 port access vlan 102
#
interface Ethernet1/0/2
 port access vlan 102
#
interface Ethernet1/0/3
 port access vlan 102
#
interface Ethernet1/0/4
 port access vlan 102
#
interface Ethernet1/0/5
 port access vlan 102
#
interface Ethernet1/0/6
 port access vlan 102
#
interface Ethernet1/0/7
 port access vlan 102
#
interface Ethernet1/0/8
 port access vlan 102
#
interface Ethernet1/0/9
 port access vlan 102
#
interface Ethernet1/0/10
 port access vlan 102
#
interface Ethernet1/0/11
 port access vlan 102
#
interface Ethernet1/0/12
 port access vlan 102
#
interface Ethernet1/0/13
 port access vlan 102
#
interface Ethernet1/0/14
 port access vlan 102
#
interface Ethernet1/0/15
 port access vlan 102
#
interface Ethernet1/0/16
 port access vlan 102
#
interface Ethernet1/0/17
 port access vlan 102
#
interface Ethernet1/0/18
 port access vlan 102
#
interface Ethernet1/0/19
 port access vlan 102
#
interface Ethernet1/0/20
 port access vlan 102
#
interface Ethernet1/0/21
 port access vlan 102
#
interface Ethernet1/0/22
 port access vlan 102
#
interface Ethernet1/0/23
 port access vlan 102
#
interface Ethernet1/0/24
 port access vlan 102
#
interface Ethernet1/0/25
 port access vlan 102
#
interface Ethernet1/0/26
 port access vlan 102
#
interface Ethernet1/0/27
 port access vlan 102
#
interface Ethernet1/0/28
 port access vlan 102
#
interface Ethernet1/0/29
 port access vlan 102
#
interface Ethernet1/0/30
 port access vlan 102
#
interface Ethernet1/0/31
 port access vlan 102
#
interface Ethernet1/0/32
 port access vlan 102
#
interface Ethernet1/0/33
 port access vlan 102
#
interface Ethernet1/0/34
 port access vlan 102
#
interface Ethernet1/0/35
 port access vlan 102
#
interface Ethernet1/0/36
 port access vlan 102
#
interface Ethernet1/0/37
 port access vlan 102
#
interface Ethernet1/0/38
 port access vlan 102
#
interface Ethernet1/0/39
 port access vlan 102
#
interface Ethernet1/0/40
 port access vlan 102
#
interface Ethernet1/0/41
 port access vlan 102
#
interface Ethernet1/0/42
 port access vlan 102
#
interface Ethernet1/0/43
 port access vlan 102
#
interface Ethernet1/0/44
 port access vlan 102
#
interface Ethernet1/0/45
 port access vlan 102
#
interface Ethernet1/0/46
 port access vlan 102
#
interface Ethernet1/0/47
 port access vlan 102
#
interface Ethernet1/0/48
 port access vlan 102
#
interface GigabitEthernet1/1/1
#
interface GigabitEthernet1/1/2
#
interface GigabitEthernet1/1/3
 port link-type trunk
 port trunk permit vlan all
#
interface GigabitEthernet1/1/4
 port link-type trunk
 port trunk permit vlan all
#
interface NULL0
#
 management-vlan 100
#
 voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000
#
 ip route-static 0.0.0.0 0.0.0.0 192.168.100.1 preference 60
#
 snmp-agent
 snmp-agent local-engineid 800063A2000FE2F2232D6877
 snmp-agent community read public
 snmp-agent community write private
 snmp-agent sys-info version all
#
user-interface aux 0 7
user-interface vty 0 4
 authentication-mode scheme
#
return

转载于:https://blog.51cto.com/centrevy/343657

勿删,copyright占位
您找到想要的结果了吗?
E152堆叠
提交成功!非常感谢您的反馈,我们会继续努力做到更好
分享文章到微博
分享文章到朋友圈

上一篇:我的java和c++

下一篇:Rails3 on Ubuntu 以及虚拟机Virtualbox 安装 笔记--可以节省你两天的折腾

您可能感兴趣

  • 深度之眼【Pytorch】--张量基本操作 拼接、堆叠、索引、squeeze()

    本文为深度之眼pytorch训练营二期学习笔记,详细课程内容移步:深度之眼 https://ai.deepshare.net/index 目录 张量操作 1. torch.cat() 和 torch.stack() 2.切分 -- torch.chunk() 和 torch.split() 张量索引 torch.index_select()  和 torch.masked_sel...

  • ggplot2绘图实例第一回——生物信息学物种丰度的堆叠图

    原图片链接:https://media.springernature.com/full/springer-static/image/art%3A10.1038%2Fs41467-019-11682-z/MediaObjects/41467_2019_11682_Fig1_HTML.png?as=webp R语言绘制结果                                   ...

  • echarts折线图不堆叠设置

    折线图堆叠的重要参数stack。只要将stack的值设置不相同,就不会堆叠了。实例如下,红色部分为需要修改的: option = {     title: {         text: '折线图堆叠'     },     tooltip: {         trigger: 'axis'     },     legend: {         data:['邮件营销','联盟广告...

  • H3C V7平台下的IRF堆叠

    一、什么是IRF?    近年来互联网的发展可以说是一个质的飞跃,随着互联网的发展近年来出现了一个新的名词,即网络虚拟化。IRF 是Intelligent Resilient Framework的简称,即智能弹性架构。在使用上,IRF和传统的三层堆叠技术有一点类似。简单来说,就是将多台交换机设备连接在一起看做是一台设备从而方便管理,提高网络的可靠性。二、IRF的优点。1、简化管理2、简化业务...

CSDN

CSDN

中国开发者社区CSDN (Chinese Software Developer Network) 创立于1999年,致力为中国开发者提供知识传播、在线学习、职业发展等全生命周期服务。
E152堆叠介绍:华为云为您免费提供E152堆叠在博客、论坛、帮助中心等栏目的相关文章,同时还可以通过 站内搜索 查询更多E152堆叠的相关内容。| 移动地址: E152堆叠 | 写博客