配置设备纳管
配置核心交换机纳管
背景信息
对于核心交换机,需要通过命令行方式配置与iMaster NCE-Campus对接,完成纳管。按图5-3中示意的数据,具体配置过程如下。
- 确保核心交换机和iMaster NCE-Campus南向互通的接口IP地址与iMaster NCE-Campus南向网络平面在不同的网段。
- 确保核心交换机和iMaster NCE-Campus南向互通的路由已经配置,下面的示例不再给出互通路由相关的内容。
- 核心交换机通过命令行配置被iMaster NCE-Campus纳管时,必须要先完成和iMaster NCE-Campus对接互通,然后再使能NETCONF功能。
操作步骤
- 配置核心交换机同iMaster NCE-Campus的互联VLAN和接口地址。
<Core> system [Core] vlan batch 4080 [Core] interface gigabitethernet 1/2/0/1 [Core-GigabitEthernet1/2/0/1] port link-type trunk [Core-GigabitEthernet1/2/0/1] port trunk allow-pass vlan 4080 [Core-GigabitEthernet1/2/0/1] quit [Core] interface vlanif 4080 [Core-Vlanif4080] ip address 192.168.0.1 24 [Core-Vlanif4080] quit
- 配置核心设备通过NETCONF被iMaster NCE-Campus纳管,有两种配置方式。
- 采用Callhome方式
[Core] netconf [Core-netconf] source ip 192.168.0.1 [Core-netconf] callhome imaster-campus [Core-netconf-callhome-imaster-campus] ip address 192.168.10.10 port 10020 // iMaster NCE-Campus通过NETCONF协议与交换机通信的端口号固定为10020 [Core-netconf-callhome-imaster-campus] quit [Core-netconf] quit
- 采用管理VLAN方式
[Core] netconf [Core-netconf] management-vlan 4080 [Core-netconf] controller ip-address 192.168.10.10 port 10020 [Core-netconf] quit
- 采用Callhome方式
配置WAC纳管
背景信息
对于随板WAC,只需要融合了随板WAC功能的交换机设备被纳管即可。
对于独立WAC,需要通过命令行方式配置与iMaster NCE-Campus对接,完成纳管。按图5-4中示意的数据,独立WAC被iMaster NCE-Campus纳管的具体配置过程如下。
- 确保独立WAC和iMaster NCE-Campus南向互通的接口IP地址,与iMaster NCE-Campus南向网络平面在不同的网段。
- 确保独立WAC和iMaster NCE-Campus南向互通的路由已经配置,下面的示例不再给出互通路由相关的内容。
- 如果独立WAC采用了双机热备来保证无线业务的可靠性,备用独立WAC设备也需要配置和iMaster NCE-Campus南向对接,以确保发生主备倒换后,新的主用独立WAC仍能够被iMaster NCE-Campus纳管。
操作步骤
- 配置主用设备WAC1通过切换云模式被iMaster NCE-Campus纳管。
[WAC1] ac-mode cloud [WAC1] cloud-mng controller ip-address 192.168.10.10 port 10020 [WAC1] quit
- 配置备用设备WAC2通过切换云模式被iMaster NCE-Campus纳管。
[WAC2] ac-mode cloud [WAC2] cloud-mng controller ip-address 192.168.10.10 port 10020 [WAC2] quit
配置汇聚/接入交换机纳管
背景信息
在本方案中,核心交换机作为根设备被控制器纳管后,可通过部署自协商管理VLAN功能,可以实现核心到汇聚/接入交换机链路间管理VLAN的自动化打通。管理VLAN打通后,通过iMaster NCE-Campus在核心交换机上配置相应管理子网接口,开启接口DHCP服务器功能,并且配置Option148携带iMaster NCE-Campus地址,实现交换机同iMaster NCE-Campus对接。
配置思路
- 配置站点的自协商管理VLAN。
- 配置管理网络子网。
规划样例
设备 |
自协商管理VLAN |
---|---|
Core |
4091 |
设备 |
子网 |
VLAN ID |
IP获取方式 |
IP |
掩码 |
DHCP |
自动协商控制器地址 |
租期 |
---|---|---|---|---|---|---|---|---|
Core |
switch_Mnet |
4091 |
手动 |
192.168.11.1 |
24 |
DHCP服务器模式 |
开启 |
1天 |