HTTP Configurations

The following operations are allowed in the HTTP configuration mode:

Operations X-path
get, get-config, edit-config /native/ios-voice:http

Select HTTP Configuration Mode

To enter into the http configuration mode, follow the x-path provided in the below table.

Object X-path
voice http /native/ios-voice:http

Newly Added YANG Models in Release Cisco IOS XE 17.14.1a

The following YANG model is supported from Cisco IOS XE 17.14.1a:

  • http client secure-ciphersuite

Newly Added YANG Models in Release Cisco IOS XE 17.7.1

The following YANG models are supported from Cisco IOS XE 17.7.1:

  • http client connection idle timeout
  • http client connection persistent
  • http client connection timeout

HTTP Configurations and X-path Details

Object Description X-path Value Prerequisites Remarks
client connection idle timeout To set the number of seconds that the client waits in the idle state until it closes the connection. /native/ios-voice:http/ios-voice:client/ios-voice:connection/ios-voice:idle/ios-voice:timeout Min 1, Max 600 N/A Default is 5.
client connection persistent To enable the HTTP persistent connections. /native/ios-voice:http/ios-voice:client/ios-voice:connection/ios-voice:persistent N/A N/A N/A
client connection timeout To set the number of seconds that the client waits in the idle state until it closes the connection. /native/ios-voice:http/ios-voice:client/ios-voice:connection/ios-voice:timeout Min 1, Max 60 N/A N/A

Secure Ciphersuite Configurations

Object Description X-path Value Prerequisites Remarks
secure-ciphersuite To set the secure encryption ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite N/A N/A N/A
null-md5 To set the encryption type tls_rsa_with_null_md5 (TLS 1.0) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:null-md5 N/A N/A N/A
rc4-128-md5 To set the encryption type tls_rsa_with_rc4_128_sha (TLS 1.0) ciphersuite. //native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:rc4-128-md5 N/A N/A N/A
rc4-128-sha To set the encryption type tls_rsa_with_aes_cbc_128_sha (TLS 1.0) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:rc4-128-sha N/A N/A N/A
des-cbc-sha To set the encryption type tls_rsa_with_des_cbc_sha (TLS 1.0) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:des-cbc-sha N/A N/A N/A
aes-128-cbc-sha To set the encryption type tls_rsa_with_aes_128_cbc_sha (TLS 1.2 and below) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:aes-128-cbc-sha N/A N/A N/A
dhe-rsa-aes-cbc-sha2 To set the encryption type tls_rsa_with_cbc_sha2 (TLS 1.2) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:dhe-rsa-aes-cbc-sha2 N/A N/A N/A
ecdhe-ecdsa-aes-gcm-sha2 To set the encryption type tls_ecdhe_ecdsa_with_aes_gcm_sha2 (TLS 1.2) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:ecdhe-ecdsa-aes-gcm-sha2 N/A N/A N/A
ecdhe-rsa-aes-cbc-sha2 To set the encryption type tls_ecdhe_rsa_with_aes_cbc_sha2 (TLS 1.2) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:ecdhe-rsa-aes-cbc-sha2 N/A N/A N/A
ecdhe-rsa-aes-gcm-sha2 To set the encryption type tls_ecdhe_rsa_with_aes_gcm_sha2 (TLS 1.2) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:ecdhe-rsa-aes-gcm-sha2 N/A N/A N/A
rsa-aes-cbc-sha2 To set the encryption type tls_rsa_with_aes_cbc_sha2 (TLS 1.2) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:rsa-aes-cbc-sha2 N/A N/A N/A
tls13-aes128-gcm-sha256 To set the encryption type tls13_aes128_gcm_sha256 (TLS 1.3) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:tls13-aes128-gcm-sha256 N/A N/A N/A
tls13-aes256-gcm-sha384 To set the encryption type tls13_aes256_gcm_sha384 (TLS 1.3) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:tls13-aes256-gcm-sha384 N/A N/A N/A
tls13-chacha20-poly1305-sha256 To set the encryption type tls13_chacha20_poly1305_sha256 (TLS 1.3) ciphersuite. /native/ios-voice:http/ios-voice:client/ios-voice:secure-ciphersuite/ios-voice:tls13-chacha20-poly1305-sha256 N/A N/A N/A

Example: HTTP Configurations

Requesting 'EditConfig'

Sending:

# 568
396:  <nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:b52a4e8b-d14b-48b9-8cdf-39a153a0ca46">
397:    <nc:edit-config>
398:      <nc:target>
399:        <nc:running/>
400:      </nc:target>
401:      <nc:config>
402:        <native xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-native">
403:          <http xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-voice">
404:            <client>
405:              <connection>
406:                <idle>
407:                  <timeout nc:operation="delete">10</timeout>
408:                </idle>
409:                <persistent nc:operation="delete"/>
410:                <timeout nc:operation="delete">12</timeout>
411:              </connection>
412:            </client>
413:          </http>
414:        </native>
415:      </nc:config>
416:    </nc:edit-config>
417:  </nc:rpc>  

Received message from host

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:109da595-4440-4a81-b1b9-8f90e2d145fe">
468:    <data/>
469:  </rpc-reply>