curl is a command-line utility for transferring data from or to a server designed to work without user interaction. With curl , you can download or upload data using one of the supported protocols including HTTP, HTTPS, SCP , SFTP , and FTP . curl provides a number of options allowing you to resume transfers, limit the bandwidth, proxy support, user authentication, and much more. To Print the header: Use the -I option to fetch only the HTTP headers of the specified resource. curl -Is http://linux.com/ curl -I --http2 https://www.ubuntu.com/ With Proxy: curl supports different types of proxies, including HTTP, HTTPS and SOCKS. To transfer data through a proxy server, use the -x ( --proxy ) option, followed by the proxy URL. curl -x 192.168.44.1:8888 http://linux.com/ With Proxy & Username/Password: If the proxy server requires au...
Netconf : - Device Management Protocol like CLI / SNMP. - Provides a mechanism to configure / Query the configuration and status of the network devices. - Similar to SNMP which uses MIB metadata, Netconf uses Yang to describe the interaction models between Netconf client and servers. - Default port is 830 - Uses XML based data encoding - The traditional CLI/SNMP mode does not meet the requirements of cloud-based networks . Yang : - Data Modeling Language - Git hub : https://github.com/YangModels/yang - pyang (pip install pyang) can be used to view the yang file content in tree format. - IETF defines the standard model and it is going to be consistent for all the vendors. Enable Netconf on the device: (config) > netconf-yang Connect Netconf : ssh -p 830 admin@10.77.126.171
Comments
Post a Comment