---
title: "Obtain the YANG Model"
slug: "acquiring-the-yang-model-lx"
tags: ["YANG model", "SSH", "Assurance Sensors", "Assurance Sensor LX-S"]
updated: 2026-07-06T20:40:50Z
published: 2025-07-24T10:22:51Z
canonical: "docs.crossworkassurance.cisco.com/acquiring-the-yang-model-lx"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Obtain the YANG Model
The Yet Another Next Generation (YANG) models are stored on the device as part of the firmware package. In order to retrieve them the user must use a NETCONF tool, for instance:
- SSH console
- Tools from Cisco orchestrator (e.g.: Yang Explorer):
https://github.com/CiscoDevNet/yang-explorer
or Cisco YANG suite:
https://github.com/CiscoDevNet/yangsuite
- Tools from MG-Soft (e.g.: MG Soft NETCONF Browser)
#### Basic SSH Console NETCONF Tool
For the most basic NETCONF tool, SSH console, YANG models can be acquired by sending specific requests.
**Note:** Both NETCONF request and response are in XML format.
**To send the proper requests:**
1. Connect Accedian NETCONF device by entering: ssh admin@10.230.111.130 -p 830 -s netconf
2. Send HELLO message to device by entering: < ?xml version="1.0" encoding="UTF-8"? >
< hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" >
< capabilities >
< capability >urn:ietf:params:netconf:base:1.0< /capability>
< /capabilities >
< /hello >
]]>]]>
3. Send the request to acquire information regarding all available YANG schema by entering: < rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" >
< get >
< filter >
< netconf-state xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"
< schemas/ >
< /netconf-state >
< /filter >
< /get >
< ]>]]>
4. Send the request to acquire a specific YANG schema, for example “accedian-alarm” model, by entering: < rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" >
< get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring" >
< identifier >accedian-alarm< /identifier >
< version >2017-12-15< /version >
< format >yang< /format >
< /get-schema >
< /rpc >
]]>]]>
5. Close the session by entering: < rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" >< close-session/ >
< /rpc >]]>]]>
#### Additional UI NETCONF Tools
For additional UI NETCONF tools (YANG Explorer, or MG Soft NETCONF browser), the Accedian device must be connected prior to running the corresponding built-in UI functions.
**To acquire YANG models by using YANG Explorer:**
1. The overview information regarding all YANG schemas on the device can be listed as shown below: 
2. The request can be sent in order to get a specific YANG file. Note that the RPC created automatically by YANG Explorer will not work. The request must be customized by removing the lines that read < get > and < filter >. 

3. YANG Explorer 0.8.0 (Beta) supports the functionality to download YANG files directly, but can be unstable. 
**To acquire YANG models by using YANG Suite:**
1. Install Cisco YANG Suite: https://github.com/CiscoDevNet/yangsuite (Cisco YANG Suite document: https://developer.cisco.com/docs/yangsuite/ )
2. Access Docker via WEB browser: a. Login: http://localhost:8480/ 
b. Create a new device profile and SSH session: 

c. Check the connection to profile created: 
d. Create default Repository and YANG set from profile created: 
e. Copy yand-files from: "/usr/share/yang" 
**Note:** Yang-files are stored in < yang-suite-data-dir >/ysdata/ users/< name > /repositories/< repo name >. Example: /ysdata/users/admin/repositories/test-10-230-116-41-default-repo).

f. Select YANG set from YANG repository:

g. Load modules and explore YANG models 

**© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)