We are unable to access the Web Admin in AppNeta and are relying on console connection to make the changes in CLI. We're trying to disable auto-negotiate and specify specific settings.
You can try using the following command:
curl -ku <username> -X 'PUT' 'https://<hostname>/api/v1/interface/<interface_name>/' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{"autoneg": "autoneg", "speed": "speed", "duplex": "duplex", "mtu": "mtu"}'
For example:
curl -ku admin -X 'PUT' 'https://localhost/api/v1/interface/eth1/' -H 'accept: application/json' -H 'Content-Type: application/json' -d '{"autoneg": "off", "speed": "1000", "duplex": "full", "mtu": "1500"}'
Afterwards, you will need to restart networking:
curl -ku admin -X PUT -H 'Content-Type: application/json' -d {} 'https://localhost/api/v1/service/networking/?action=restart'
Additional details can be found here:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/appneta/GA/appliance-overview/m50-mp-intro/m50-configuration/m50-mp-transmission-parameters.html#transmission-parameters_edit-transmission-parameters-using-admin-api
The variables above are defined as follows:
<username> – The user name on the Monitoring Point.
<hostname> – The hostname or IP address of the Monitoring Point.
<interface_name> – The interface you are interested in.
The response shows the interface configuration including:
mtu – Maximum Transmission Unit (null by default, meaning 1500).
autoneg – Auto Negotiation (on by default).
speed – Speed (null by default, meaning Auto).
duplex – Duplex (null by default, meaning Auto).