码迷,mamicode.com
首页 > 其他好文 > 详细

华为交换机S5720堆叠配置

时间:2020-09-17 21:36:57      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:spl   eth-trunk   desc   防火墙配置   ati   重启   star   eth   tac   

两台交换机S5720通过堆叠线进行堆叠,并设置虚拟管理IP地址为172.30.5.1;
与防火墙USG6305E进行互联,,防火墙IP地址:172.30.5.40,如下图所示:
技术图片
防火墙的GE0/0/0 与 GE0/0/1 聚合为access口,与两台交换机的G0/0/24口互联。

  1. 防火墙配置如下:

设置 vlanif 5 的接口类型及IP地址:
技术图片

端口GE0/0/0 以及 GE0/0/1 加入到vlanif5 的接口,并设置为交换模式:
技术图片

  1. 交换机堆叠配置:
    [sw-core1]interface stack-port 0/1
    [sw-core1-stack-port0/1]port interface xgigabitethernet 0/0/3 enable
    [sw-core1-stack-port0/1]quit

[sw-core1]interface stack-port 0/2
[sw-core1-stack-port0/2]port interface xgigabitethernet 0/0/4 enable
[sw-core1-stack-port0/2]quit

[sw-core1]stack slot 0 priority 200

[sw-core2]interface stack-port 0/1
[sw-core2-stack-port0/1]port interface xgigabitethernet 0/0/3 enable
[sw-core2-stack-port0/1]quit

[sw-core2]interface stack-port 0/2
[sw-core2-stack-port0/2]port interface xgigabitethernet 0/0/4 enable
[sw-core2-stack-port0/2]quit

[sw-core2]stack slot 0 renumber 1

保存后重启交换(先重启sw-core1,再重启sw-core2)

查看堆叠状态:
[sw-core1]display stack
技术图片

  1. 交换机与防火墙互联

    [sw-core1]int eth-trunk 1
    [sw-core1-Eth-trunk1]port link-type access
    [sw-core1-Eth-trunk1]port default vlan 5
    [sw-core1-Eth-trunk1]description conn_fw-5.40-GE0/0/1-0/0/2

    [sw-core1]interface g0/0/24
    [sw-core1-gigabitEthernet0/0/24]eth-trunk 1
    [sw-core1-gigabitEthernet0/0/24]description conn_fw-5.40-GE0/0/0
    [sw-core1-gigabitEthernet0/0/24]quit

    [sw-core1]interface g1/0/24
    [sw-core1-gigabitEthernet1/0/24]eth-trunk 1
    [sw-core1-gigabitEthernet1/0/24]description conn_fw-5.40-GE0/0/1
    [sw-core1-gigabitEthernet1/0/24]quit

  2. 配置路由
    [sw-core1]ip route-static 0.0.0.0 0.0.0.0 17.30.5.40

华为交换机S5720堆叠配置

标签:spl   eth-trunk   desc   防火墙配置   ati   重启   star   eth   tac   

原文地址:https://blog.51cto.com/2221384/2531690

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!