设为首页收藏本站language 语言切换
查看: 1925|回复: 1
收起左侧

[分享] MDC典型配置举例(IRF模式)

[复制链接]
发表于 2021-3-4 12:56:36 | 显示全部楼层 |阅读模式
本帖最后由 李灵 于 2021-3-4 13:14 编辑

[url=]1. 组网需求
(1)      需求分析
·  公司A为知名网络公司的数据中心,需要管理规模庞大的服务器和存储设备;
·  公司B为金融企业的数据中心,对于网络的稳定性及安全性有极高的要求,需要独立的网络环境,不受其他公司的影响。
(2)      网络规划
为提高设备的转发性能和可靠性,同时节省成本,使用IRF+MDC技术,使两个公司共同使用一个IRF。
将Master和Standby两台成员设备组成IRF,IRF拥有四块接口板,接口板2和3分别位于Master设备的2号槽和3号槽,接口板2和3分别位于Standby成员设备的2,3号槽,每个接口板有16个万兆以太网口;
将IRF虚拟成两台独立的设备:MDC A,MDC B,每个MDC相当于一个独立的物理设备,MDC之间相互隔离,不能直接通信,具有很高的安全性,可满足公司B的需求;
各MDC可以独享设备的表项资源,满足公司A对表项资源的需求。
[/url]
MDC典型配置组网图
1.jpg

2、配置步骤
[url=](1)      在缺省MDC中组建IRF,关于缺省MDC中组建IRF的详细步骤介绍,请参见“虚拟化技术配置指导”中的“IRF”。
(2)      配置IRF的网管口的IP地址、使能Telnet服务等基础配置,供用户远程登录缺省MDC
<IRF> system-view
[IRF] interface M-GigabitEthernet 1/0/0/0
[IRF-M-GigabitEthernet1/0/0/0] ip address 192.168.0.250 16
[IRF-M-GigabitEthernet1/0/0/0] quit
[IRF] telnet server enable
(3)      取消缺省MDC上需要划分给非缺省MDC的接口板使用权限。
[IRF] mdc Admin
[IRF-mdc-1-Admin] undo location chassis 1 slot 2
The configuration associated with the specified slot of MDC will be lost. Contin
ue? [Y/N]:y
[IRF-mdc-1-Admin] undo location chassis 1 slot 3
The configuration associated with the specified slot of MDC will be lost. Contin
ue? [Y/N]:y
[IRF-mdc-1-Admin] undo location chassis 2 slot 2
The configuration associated with the specified slot of MDC will be lost. Contin
ue? [Y/N]:y
[IRF-mdc-1-Admin] quit
[IRF-mdc-1-Admin] undo location chassis 2 slot 3
The configuration associated with the specified slot of MDC will be lost. Contin
ue? [Y/N]:y
[IRF-mdc-1-Admin] quit
(4)      创建并配置MDC A,供公司A使用。
# 创建MDC A
<IRF> system-view
[IRF] mdc MDCA
It will take some time to create MDC...
MDC created successfully.
# MDC A分配Master设备接口Ten-GigabitEthernet1/2/0/1Ten-GigabitEthernet1/2/0/16Subordinate设备接口Ten-GigabitEthernet2/2/0/1Ten-GigabitEthernet2/2/0/16
[IRF-mdc-2-MDCA] allocate interface ten-gigabitethernet 1/2/0/1 to ten-gigabitethernet 1/2/0/16
Configurations of the interfaces will be lost. Continue? [Y/N]:y
[IRF-mdc-2-MDCA] allocate interface ten-gigabitethernet 2/2/0/1 to ten-gigabitethernet 2/2/0/16
Configurations of the interfaces will be lost. Continue? [Y/N]:y
# MDC A分配Master设备接口板2Subordinate设备接口板2
[IRF-mdc-2-MDCA] location chassis 1 slot 2
[IRF-mdc-2-MDCA] location chassis 2 slot 2
# 启动MDC A
[IRF-mdc-2-MDCA] mdc start
It will take some time to start MDC...
MDC started successfully.
[IRF-mdc-2-MDCA] quit
# 切换到MDC A
[IRF] switchto mdc MDCA
******************************************************************************  
* Copyright (c) 2004-2018 New H3C Technologies Co., Ltd. All rights reserved.*  
* Without the owner's prior written consent,                                 *  
* no decompiling or reverse-engineering shall be allowed.                    *  
******************************************************************************

<Sysname> system-view
# MDC A的设备名称修改为MDCA,以便和其它MDC区别。
[Sysname] sysname MDCA
# 配置MDC A 的网管口的IP地址、使能Telnet服务等基础配置,供用户远程登录MDC A
[MDCA] interface M-GigabitEthernet 1/0/0/0
[MDCA-M-GigabitEthernet1/0/0/0] ip address 192.168.1.251 24
[MDCA-M-GigabitEthernet1/0/0/0] quit
[MDCA] telnet server enable
[MDCA] user-interface vty 0 15
[MDCA-ui-vty0-15] authentication-mode none
[MDCA-ui-vty0-15] user-role mdc-admin
# 返回缺省MDC
[MDCA-ui-vty0-15] return
<MDCA> switchback
[IRF]
(5)      创建并配置MDC B,供公司B使用。
# 创建MDC B
[IRF] mdc MDCB
It will take some time to create MDC...
MDC created successfully.
# MDC B分配Master设备接口Ten-GigabitEthernet1/3/0/1Ten-GigabitEthernet1/3/0/16Subordinate设备接口Ten-GigabitEthernet2/3/0/1Ten-GigabitEthernet2/3/0/16
[IRF-mdc-3-MDCB] allocate interface ten-gigabitethernet 1/3/0/1 to ten-gigabitethernet 1/3/0/16
Configurations of the interfaces will be lost. Continue? [Y/N]:y
[IRF-mdc-3-MDCB] allocate interface ten-gigabitethernet 2/3/0/1 to ten-gigabitethernet 2/3/0/16
Configurations of the interfaces will be lost. Continue? [Y/N]:y
# MDC B分配接口板3Subordinate设备接口板3
[IRF-mdc-3-MDCB] location chassis 1 slot 3
[IRF-mdc-3-MDCB] location chassis 2 slot 3
# 启动MDC B
[IRF-mdc-3-MDCB] mdc start
It will take some time to start MDC...
MDC started successfully.
[IRF-mdc-3-MDCB] quit
# 切换到MDC B
[IRF]switchto mdc MDCB
******************************************************************************  
* Copyright (c) 2004-2018 New H3C Technologies Co., Ltd. All rights reserved.*  
* Without the owner's prior written consent,                                 *  
* no decompiling or reverse-engineering shall be allowed.                    *  
******************************************************************************

<Sysname> system-view
# MDC B的设备名称修改为MDCB,以便和其它MDC区别。
[Sysname] sysname MDCB
# 配置MDC B 的网管口的IP地址、使能Telnet服务等基础配置,供用户远程登录MDC B
[MDCB] interface M-GigabitEthernet 1/0/0/0
[MDCB-M-GigabitEthernet1/0/0/0] ip address 192.168.2.251 24
[MDCB-M-GigabitEthernet1/0/0/0] quit
[MDCB] telnet server enable
[MDCB] user-interface vty 0 15
[MDCB-ui-vty0-15] authentication-mode none
[MDCB-ui-vty0-15] user-role mdc-admin
# 返回缺省MDC
[MDCB-ui-vty0-15] return
<MDCB> switchback
[IRF]
3、验证结果
查看MDC是否存在并且运转正常。(此时,IRF上应该有三台处于active状态的MDC)。
<Device> display mdc
ID         Name            Status
1          Admin           active
2          MDCA            active

3          MDCB            active
[/url]
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-3-10 17:01 , Processed in 0.066528 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表