CopyRequesting 'EditConfig'
Sending:
# 1121
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:1f89fce3-74f0-4ae6-a6ac-0246981d3f1e">
<nc:edit-config>
<nc:target>
<nc:running/>
</nc:target>
<nc:config>
<native xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-native">
<voice xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-voice">
<class>
<codec>
<codec-tag>10</codec-tag>
<codec>
<preference>
<preference-tag>1</preference-tag>
<codec-type>mp4a-latm</codec-type>
<profile>1</profile>
<fmtp-select-one>
<bitrate>16000</bitrate>
</fmtp-select-one>
</preference>
</codec>
<video>
<codec>
<codec-type>h263</codec-type>
<profile>2</profile>
</codec>
</video>
</codec>
</class>
</voice>
<dial-peer xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-voice">
<voice>
<dialpeertag>1</dialpeertag>
<type>voip</type>
<rtp>
<payload-type>
<opus>120</opus>
</payload-type>
</rtp>
</voice>
</dial-peer>
<codec xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-voice">
<profile>
<id>1</id>
<codec-type>aacld</codec-type>
<clock-rate>
<range>3</range>
</clock-rate>
<fmtp>
<fmtp-string>cisco123</fmtp-string>
</fmtp>
</profile>
</codec>
</native>
</nc:config>
</nc:edit-config>
</nc:rpc>
##
Received message from host
<?xml version="1.0" ?>
<rpc-reply message-id="urn:uuid:1f89fce3-74f0-4ae6-a6ac-0246981d3f1e" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>