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 cnm poll-interval 8 set service cnm role router set service cnm url your-cnm-server.com set service dns resolver name-server 192.168.212.3 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Modify the following configuration lines in DUT0
:
set service cnm url qa.networkcloudmanager.com
Warning
Use your CNM server URL instead of <your-cnm-server.com>
Step 3: 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