| setinterface_speed |
Use this method to set ethernet speed of the interface, in Mbps. Notes: * If you set the speed as AUTO, the Citrix ADC attempts to auto-negotiate or auto-sense the link speed of the interface when it is UP. You must enable auto negotiation on the interface. * If you set a speed other than AUTO, you must specify the same speed for the peer network device. Mismatched speed and duplex settings between the peer devices of a link lead to link errors, packet loss, and other errors. Some interfaces do not support certain speeds. If you specify an unsupported speed, an error message appears. |
Syntax |
Parameters |
id |
ID of the Interface whose parameters you want to modify.
For a Citrix ADC, specify the interface in C/U notation (for example, 1/3).
For a cluster configuration, specify the interface in N/C/U notation (for example, 2/1/3).
where C can take one of the following values:
* 0 - Indicates a management interface.
* 1 - Indicates a 1 Gbps port.
* 10 - Indicates a 10 Gbps port.
U is a unique integer for representing an interface in a particular port group.
N is the ID of the node to which an interface belongs in a cluster configuration.
Use spaces to separate multiple entries. This is mandatory parameter. |
speed |
Ethernet speed of the interface, in Mbps.
Notes:
* If you set the speed as AUTO, the Citrix ADC attempts to auto-negotiate or auto-sense the link speed of the interface when it is UP. You must enable auto negotiation on the interface.
* If you set a speed other than AUTO, you must specify the same speed for the peer network device. Mismatched speed and duplex settings between the peer devices of a link lead to link errors, packet loss, and other errors.
Some interfaces do not support certain speeds. If you specify an unsupported speed, an error message appears. Default value = NSA_DVC_SPEED_AUTO. Possible Values : AUTO, 10, 100, 1000, 10000, 25000, 40000, 50000, 100000. |
Return Value |
Returns simpleResult |
See Also |