网络@小华 发表于 2021-3-4 12:56:36

MDC典型配置举例(IRF模式)

本帖最后由 李灵 于 2021-3-4 13:14 编辑

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对表项资源的需求。
MDC典型配置组网图


2、配置步骤
(1)      在缺省MDC中组建IRF,关于缺省MDC中组建IRF的详细步骤介绍,请参见“虚拟化技术配置指导”中的“IRF”。(2)      配置IRF的网管口的IP地址、使能Telnet服务等基础配置,供用户远程登录缺省MDC。<IRF> system-view interface M-GigabitEthernet 1/0/0/0 ip address 192.168.0.250 16 quit telnet server enable(3)      取消缺省MDC上需要划分给非缺省MDC的接口板使用权限。 mdc Admin undo location chassis 1 slot 2The configuration associated with the specified slot of MDC will be lost. Continue? :y undo location chassis 1 slot 3The configuration associated with the specified slot of MDC will be lost. Continue? :y undo location chassis 2 slot 2The configuration associated with the specified slot of MDC will be lost. Continue? :y quit undo location chassis 2 slot 3The configuration associated with the specified slot of MDC will be lost. Continue? :y quit(4)      创建并配置MDC A,供公司A使用。# 创建MDC A。<IRF> system-view mdc MDCAIt will take some time to create MDC...MDC created successfully.# 为MDC A分配Master设备接口Ten-GigabitEthernet1/2/0/1~Ten-GigabitEthernet1/2/0/16和Subordinate设备接口Ten-GigabitEthernet2/2/0/1~Ten-GigabitEthernet2/2/0/16。 allocate interface ten-gigabitethernet 1/2/0/1 to ten-gigabitethernet 1/2/0/16Configurations of the interfaces will be lost. Continue? :y allocate interface ten-gigabitethernet 2/2/0/1 to ten-gigabitethernet 2/2/0/16Configurations of the interfaces will be lost. Continue? :y# 为MDC A分配Master设备接口板2,Subordinate设备接口板2。 location chassis 1 slot 2 location chassis 2 slot 2# 启动MDC A。 mdc startIt will take some time to start MDC...MDC started successfully. quit# 切换到MDC A。 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 MDCA# 配置MDC A 的网管口的IP地址、使能Telnet服务等基础配置,供用户远程登录MDC A。 interface M-GigabitEthernet 1/0/0/0 ip address 192.168.1.251 24 quit telnet server enable user-interface vty 0 15 authentication-mode none user-role mdc-admin# 返回缺省MDC。 return<MDCA> switchback(5)      创建并配置MDC B,供公司B使用。# 创建MDC B。 mdc MDCBIt will take some time to create MDC...MDC created successfully.# 为MDC B分配Master设备接口Ten-GigabitEthernet1/3/0/1~Ten-GigabitEthernet1/3/0/16和Subordinate设备接口Ten-GigabitEthernet2/3/0/1~Ten-GigabitEthernet2/3/0/16。 allocate interface ten-gigabitethernet 1/3/0/1 to ten-gigabitethernet 1/3/0/16Configurations of the interfaces will be lost. Continue? :y allocate interface ten-gigabitethernet 2/3/0/1 to ten-gigabitethernet 2/3/0/16Configurations of the interfaces will be lost. Continue? :y# 为MDC B分配接口板3,Subordinate设备接口板3。 location chassis 1 slot 3 location chassis 2 slot 3# 启动MDC B。 mdc startIt will take some time to start MDC...MDC started successfully. quit# 切换到MDC B。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 MDCB# 配置MDC B 的网管口的IP地址、使能Telnet服务等基础配置,供用户远程登录MDC B。 interface M-GigabitEthernet 1/0/0/0 ip address 192.168.2.251 24 quit telnet server enable user-interface vty 0 15 authentication-mode none user-role mdc-admin# 返回缺省MDC。 return<MDCB> switchback3、验证结果查看MDC是否存在并且运转正常。(此时,IRF上应该有三台处于active状态的MDC)。<Device> display mdcID         Name            Status1          Admin         active2          MDCA            active
3          MDCB            active

xuchao2019 发表于 2021-3-4 13:09:54

页: [1]
查看完整版本: MDC典型配置举例(IRF模式)