Configuring Device Management
Configuring the Core Switch to Be Managed by the Controller
Context
To manage a core switch on iMaster NCE-Campus, you need to configure the interconnection between them using commands. Figure 5-3 shows the data for configuring the interconnection.
- Ensure that the IP address of the interface connecting the core switch to iMaster NCE-Campus is in a different network segment from the southbound network plane of iMaster NCE-Campus.
- Ensure that the route for mutual communication between the core switch and iMaster NCE-Campus has been configured. The following configuration example does not provide the route configuration.
- To manage the core switch on iMaster NCE-Campus using commands, you must connect the core switch to iMaster NCE-Campus first and then enable the NETCONF function.
Procedure
- Configure the VLAN and interface address for connecting the core switch to iMaster NCE-Campus.
<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
- Configure the core switch to be managed by iMaster NCE-Campus through NETCONF in either of the following ways:
- Call Home mode
[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 communicates with the core switch using NETCONF through the fixed port number 10020. [Core-netconf-callhome-imaster-campus] quit [Core-netconf] quit
- Management VLAN
[Core] netconf [Core-netconf] management-vlan 4080 [Core-netconf] controller ip-address 192.168.10.10 port 10020 [Core-netconf] quit
- Call Home mode
Configuring the WAC to Be Managed by the Controller
Context
To manage a native WAC on iMaster NCE-Campus, simply ensure that the switch integrating the native WAC function is managed by iMaster NCE-Campus.
To manage a standalone WAC on iMaster NCE-Campus, you need to configure the interconnection between them using commands. Figure 5-4 illustrates the interconnection between standalone WACs and iMaster NCE-Campus.
- Ensure that the IP address of the interface that connects the standalone WAC to iMaster NCE-Campus is in a different network segment from the southbound network plane of iMaster NCE-Campus.
- Ensure that the route for mutual communication between the standalone WAC and iMaster NCE-Campus has been configured. The following configuration example does not provide the route configuration.
- If two standalone WACs work in hot standby (HSB) mode to ensure wireless service reliability, the standby standalone WAC also needs to be configured to connect to the southbound network plane of iMaster NCE-Campus. This approach is to ensure that the new active standalone WAC can be managed by iMaster NCE-Campus after an active/standby switchover.
Procedure
- Configure the active device WAC1 to be managed by iMaster NCE-Campus by configuring WAC1 to work in cloud mode.
[WAC1] ac-mode cloud [WAC1] cloud-mng controller ip-address 192.168.10.10 port 10020 [WAC1] quit
- Configure the standby device WAC2 to be managed by iMaster NCE-Campus by configuring WAC2 to work in cloud mode.
[WAC2] ac-mode cloud [WAC2] cloud-mng controller ip-address 192.168.10.10 port 10020 [WAC2] quit
Configuring Aggregation and Access Switches to Be Managed by the Controller
Context
In this solution, after the core switch is managed by iMaster NCE-Campus as the root device, you can configure the management VLAN auto-negotiation function, so that the core switch can automatically communicate with aggregation/access switches over the given management VLAN. After management VLAN auto-negotiation is configured, configure the VLANIF interface of the management VLAN on the core switch through iMaster NCE-Campus, enable the DHCP server function on the interface, and configure Option 148 to carry the iMaster NCE-Campus IP address. In this way, the switches are interconnected with iMaster NCE-Campus.
Configuration Roadmap
- Configure the auto-negotiated management VLAN of the site.
- Configure the management subnet.
Plan Example
Device |
Auto-negotiated Management VLAN |
---|---|
Core |
4091 |
Device |
Subnet |
VLAN ID |
Method of Obtaining IP Addresses |
IP |
Mask |
DHCP |
Controller Address Auto-Negotiation |
Lease Period |
---|---|---|---|---|---|---|---|---|
Core |
switch_Mnet |
4091 |
Manual |
192.168.11.1 |
24 |
DHCP server mode |
Enabled |
1 day |
Configuration Tasks
Task Description |
Deployment Procedure |
---|---|
Configuring the auto-negotiated management VLAN |
|
Configuring a management network |