Change a Physical Port State

You can bring a physical port administratively up or down.

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

Run the efa inventory device interface set-admin-state command.
# efa inventory device interface set-admin-state 
--ip 10.x.x.x --if-type eth --if-name 0/31,0/32 --state up

Admin-State Updated Successfully
+----+------+----------------+--------------+
| ID | Name | Interface Type | Admin Status |
+----+------+----------------+--------------+
| 51 | 0/32 | ethernet       | up           |
+----+------+----------------+--------------+
| 15 | 0/31 | ethernet       | up           |
+----+------+----------------+--------------+
Interface Details
--- Time Elapsed: 18.235185378s ---
This example brings two Ethernet ports into the up state.