Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


https://docs.ipinfusion.com/service-provider-6.5/index.html#page/OcNOS_SP/NetConf-UG_-_Yangcli_Oper.html##ww507006

...

yangcli

enable

start-shell

su -   (default password root )

connectyangcli server=127.0.0.1 user=ocnos password=ocnos

yangcli ocnos@127.0.0.1> sget /twamp

Newyangcli ocnos@127.0.0.1> sget /igp-te
list command

list files

Code Block
titlelist command
yangcli ocnos@172.16.10.206> help list

list
  List some NETCONF info.
  input
    choice listtype <Mandatory>
      leaf commands [empty]
        List all local and remote commands

      leaf files [empty]
        List all available data files.

      leaf objects [empty]
        List all available top-level object names.

      leaf oids [empty]
        List all available object identifiers.

      leaf modules [empty]
        List all available local YANG files.

      leaf scripts [empty]
        List all available script files.

    leaf module [NcxIdentifier]
      List only from this module, if specified.

    choice help-mode
      leaf brief [empty]
        Show brief help text

      leaf normal [empty]
        Show normal help text

      leaf full [empty]
        Show full help text


yangcli ocnos@172.16.10.206> list files

  CSR04.cfg
  dashboard.zip
  IPI-04F8F8531D92.bin
  CSR03.cfg
  wget-log
  AGGR02.cfg
  wget-log.1
  test.pcap
  CORE.cfg
  examples.desktop
  IPI-04F8F8531D92.conf
  AGGR01.cfg
  CSR01.cfg
  CSR02.cfg
  script2.sh
  wget-log.2
  inter.sh
  script.sh

yangcli ocnos@172.16.10.206>





get 

>>> get everything