Hi,
I am using the netopeer-cli,and encountered some problems.
1.using “get”command, The following informations occur:
but I want this informations (interface, passwords, etc.) to achieve separate command, how to operate?
I operate the desired result (IP address, hostname, running status information, routing table information, network connections, system information). I need to display and modify this information alone, with get | get-config | edit-config | test these command operations, those operations I need to do?
netconf> get
Result:
<turing-machine xmlns="
http://example.net/turing-machine">
<transition-function>
<delta>
<label>1</label>
<input>
<state>0</state>
<symbol>1</symbol>
</input>
<output>
<state>0</state>
<symbol>0</symbol>
<head-move>right</head-move>
</output>
</delta>
…………
<system xmlns="urn:ietf:params:xml:ns:yang:ietf-system">
<hostname>linux-93dk.site</hostname>
<clock>
<timezone-name>Asia/Shanghai</timezone-name>
</clock>
<dns-resolver>
<search>site</search>
<server>
<name>nameserver-1</name>
<udp-and-tcp>
<address>61.139.2.69</address>
</udp-and-tcp>
</server>
<server>
<name>nameserver-2</name>
<udp-and-tcp>
<address>192.168.1.1</address>
</udp-and-tcp>
</server>
</dns-resolver>
<authentication>
<user>
<name>at</name>
</user>
………
<tls>
<server-cert>MIID+TCCAuGgAwIBAgIBAjANBgkqhkiG9w0BAQUFADCBjDELMAkGA1UEBhMCQ1ox
FjAUBgNVBAgMDVNvdXRoIE1vcmF2aWExDTALBgNVBAcMBEJybm8xDzANBgNVBAoM
BkNFU05FVDEMMAoGA1UECwwDVE1DMRMwEQYDVQQDDApleGFtcGxlIENBMSIwIAYJ
KoZIhvcNAQkBFhNleGFtcGxlY2FAbG9jYWxob3N0MB4XDTE0MDcyNDE0MzI0NVoX
DTE1MDcyNDE0MzI0NVowdjELMAkGA1UEBhMCQ1oxFjAUBgNVBAgMDVNvdXRoIE1v
cmF2aWExDzANBgNVBAoMBkNFU05FVDEMMAoGA1UECwwDVE1DMQ8wDQYDVQQDDAZz
ZXJ2ZXIxHzAdBgkqhkiG9w0BCQEWEHNlcnZlckBsb2NhbGhvc3QwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCx0jVMGPNfU+BBcW48LDn+RDBTuqSuGKsx
wUBeEjwShd6k9r18oBW4yMdbfY/qc3MOmeEV7RgZ02WggQ3eEknztxU6qPijvNkx
urfNUbYvwCzsxMDy1hebZ9IL/SsjHFFF6ZwZRczSr7gsQAKNmPak4qidqK8XlVuG
A2M8I7UmP9NqZRzRpWITnvsL0v0SI5sYz5sZtptaT8pYouy/FRz6wpldonumxNWC
mCAkCRSzOWbA5CAWIxJHncT38ICRBiHMZUKYfjhWzofOzdFmM5Ntx7jCviieCIDk
ts95I1IIWPL2WgqloTWu06OQ0FV2I08JBOYu44NdRMqCR4v72/87AgMBAAGjezB5
MAkGA1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENl
cnRpZmljYXRlMB0GA1UdDgQWBBTzeoS1AMXMO8uhogi+qJTqTuPW6zAfBgNVHSME
GDAWgBRzVhAiqNmwdXCV5rQAHg36KU0jaDANBgkqhkiG9w0BAQUFAAOCAQEAnyBQ
x/5caVqR2S0kBD8VG4BER5mIk3biDY2urzKHVG2GubvsFgrct1+vDUToFHyYwZtP
eRBORApiugqIP2WhKTIs1SDJ41X4IDnT/ChNpZ89b31zja1TnuJTzTdXEebBGkb9
ns98BH8Tg2+QIFcNB0eXqIiG5HG++MVoc4WzKB12fvfVJHKm9iHPpAC+EyTVScVv
L5otbwVhwp0MiaMDjEqoUJEbrT4JhtZh1BgCXzhw7LcNOD8Ukr6Q1uRue/jjpJbC
N6ofbnrSras5tJH9QWaW6tT5iDdIlKPExfrwHUqC4YHO0+3Q15yttwfh7wCwNU2H
dP4VfSRdn/LaTmR68Q==</server-cert>
……..
xmlns="urn:ietf:params:xml:ns:netmod:notification">
<streams>
<stream>
<name>NETCONF</name>
<description>NETCONF Base Notifications</description>
<replaySupport>true</replaySupport>
<replayLogCreationTime>2015-05-20T08:21:07Z</replayLogCreationTime>
</stream>
</streams>
</netconf><nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
<denied-operations>0</denied-operations>
<denied-data-writes>0</denied-data-writes>
<denied-notifications>0</denied-notifications>
</nacm>
2.GNS3 router in connection with the virtual machine cli, can connect , but using "get" command to encounter problem ” get: unexpected operation result.” How I solved in order to receive information on GNS3 router with netopeer-cli?