efa inventory device interface set-speed

Configures the speed for receiving and transmitting data on a physical port.

Syntax

efa inventory device interface set-speed [--ip device-ip --if-type ethernet --if-name if-list --speed { 100mbps | 1gbps | 10gbps | 25gbps | 40gbps | 100gbps | auto]

Parameters

--ip device-ip
Specifies the IP address of the device.
--if-type ethernet
Specifies that the interface type is Ethernet.
--if-name if-list
Specifies a comma-separated list of interface names.
--speed [ 100mbps | 1gbps | 10gbps | 25gbps | 40gbps | 100gbps | auto--help]
Specifies the speed for the port.

Usage Guidelines

In SLX-OS, you can use the show interface ethernet command to see the speed of the Ethernet interfaces on your device.

Examples

This example sets the speed to 10 Gbps for two ports.

# efa inventory device interface set-speed --ip 10.x.x.x --if-type eth 
--if-name 0/31,0/32 --speed 10Gbps

Port Speed Updated Successfully
+----+------+----------------+------------+
| ID | Name | Interface Type | Port Speed |
+----+------+----------------+------------+
| 51 | 0/32 | ethernet       | 10Gbps     |
+----+------+----------------+------------+
| 15 | 0/31 | ethernet       | 10Gbps     |
+----+------+----------------+------------+
Interface Details
--- Time Elapsed: 18.0329535s ---