Cnm Client
This example shows how to configure CNM on a device.
CNM Connection to external server
Description
In this scenario, the DUT is connected to a CNM server.
Scenario
Step 1: Set the following configuration in DUT0
:
set interfaces ethernet eth4 address 10.215.168.88/24 set protocols static route 0.0.0.0/0 next-hop 10.215.168.1 set service dns resolver name-server 192.168.212.3 set service cnm role router set service cnm poll-interval 8 set service cnm url your-cnm-server.com
Warning
Use your CNM server URL instead of <your-cnm-server.com>
Step 2: Run command service cnm show | grep "CNM State Machine State"
at DUT0
and check if output matches the following regular expressions:
CNM State Machine State:\s+CONNECTEDShow output
CNM State Machine State: CONNECTED