将有配置设备加入Commander管理示例
组网需求
如图3-24所示,在运行EasyDeploy功能的某企业网络中,SwitchA为Commander及DHCP中继,DHCP服务器和文件服务器与SwitchA之间路由可达。
现在希望将网络中一台有配置设备Client6加入Commander的管理,以便对其进行监控和管理。
Commander的IP地址是192.168.1.6/24,新Client的MAC地址是0200-0000-0000。
配置思路
- 配置待加入设备与Commander之间路由可达。
- 在Client上配置Commander的IP地址。
- 在Commander上配置Client的匹配规则,以便Commander能识别新加入的设备。
有配置设备加入Commander管理功能的实现基于已部署EasyDeploy功能的网络,加入有配置设备前已完成文件服务器、DHCP以及Commander的配置部署。
操作步骤
- 在Client6上配置Commander的IP地址
<HUAWEI> system-view [HUAWEI] sysname Client6 [Client6] easy-operation commander ip-address 192.168.1.6
- 在SwitchA上配置新加入的Client的信息
<HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] easy-operation [SwitchA-easyoperation] client 6 mac-address 0200-0000-0000 [SwitchA-easyoperation] quit
如果要加入Commander管理的设备数量过多,建议在Commander上使能Client自动加入功能。
- 检查配置结果
# 查看Client信息库的信息。
[SwitchA] display easy-operation client The total number of client is : 6 ------------------------------------------------------------------------------- ID Mac address ESN IP address State ------------------------------------------------------------------------------- 1 0025-9EF4-ABCD 2102113089P0xxxxxxxx 192.168.1.208 RUNNING 2 0000-C102-0701 - - INITIAL 3 - 210235182810xxxxxxxx 192.168.1.210 INITIAL 4 0011-0010-0200 210235126318xxxxxxxx 192.168.1.167 RUNNING 5 0102-0301-ABCD 210235345120xxxxxxxx 192.168.1.105 RUNNING 6 0200-0000-0000 210235276310xxxxxxxx 192.168.1.254 RUNNING -------------------------------------------------------------------------------
# 查看新加入的MAC地址为0200-0000-0000的Client的详细信息。
[SwitchA] display easy-operation client mac-address 0200-0000-0000 --------------------------------------------------------------------------- Client ID : 6 Host name : HUAWEI Mac address : 0200-0000-0000 ESN : 210235276310xxxxxxxx IP address : 192.168.1.254 Model : S628 Device Type : S600-E System-software file : flash:/s600-e-V200R019C10.cc System-software version : V200R019C10 Configuration file : flash:/254.cfg Patch file : - WEB file : - License file : - System CPU usage : 6% System Memory usage : 55% Backup configuration file : - Backup result : - Last operation result : - Last operation time : 0000-00-00 00:00:00 State : RUNNING Aging time left (hours) : - ----------------------------------------------------------------------------