nv show interface
|
|
nv show interface [interface-id] Shows the details of an InfiniBand interface. If you do not specify an interface, the command shows a summary of all the interfaces. |
|
|
Syntax Description |
interface-id |
The InfiniBand interface name (for example, sw1p1). |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface
|
|
|
Related Commands |
nv show interface <interface-id> link
|
|
|
Notes |
The example output is for an InfiniBand interface. The output is different for other interface types. |
|
nv show interface link
|
|
nv show interface <interface-id> link [state | phy detail | phy health] Shows the link information of an InfiniBand interface. |
|
|
Syntax Description
|
interface-id |
The InfiniBand interface name (for example, sw1p1). |
|
state |
Shows only the link state. |
|
|
phy detail |
Shows PHY diagnostics and FSM states (part of AMBER). |
|
|
phy health |
Shows PHY statistics and BER measurements (part of AMBER). |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface/<interface-id>/link
|
|
|
Related Commands |
nv set interface <interface-id> link state <value> |
|
|
Notes |
|
|
nv set interface link state
|
|
nv set interface <interface-id> link state <value>
Sets the administrative link state of the InfiniBand interface.
|
|
|
Syntax Description |
interface-id |
The InfiniBand interface name (for example, sw1p1). |
|
value |
The link state: up or down. |
|
|
Default |
up |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link/state
|
|
|
Related Commands |
nv show interface <interface-id> link |
|
|
Notes |
|
|
nv set interface link mtu
|
|
nv set interface <interface-id> link mtu <value>
Sets the MTU of the InfiniBand interface.
|
|
|
Syntax Description |
interface-id |
The InfiniBand interface name (for example, sw1p1). |
|
value |
The MTU in bytes: 256, 512, 1024, 2048, or 4096. |
|
|
Default |
4096 |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link |
|
|
Related Commands |
nv show interface <interface-id> link |
|
|
Notes |
|
|
nv set interface link op-vls
|
|
nv set interface <interface-id> link op-vls <value>
Sets the operational virtual lanes (VLs) of the InfiniBand interface.
|
|
|
Syntax Description |
interface-id |
The InfiniBand interface name (for example, sw1p1). |
|
value |
The operational VLs: VL0, VL0-VL1, VL0-VL3, or VL0-VL7. |
|
|
Default |
VL0-VL7 |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link |
|
|
Related Commands |
nv show interface <interface-id> link |
|
|
Notes |
|
|
nv set interface link lanes
|
|
nv set interface <interface-id> link lanes <value>
Sets the lane widths of the InfiniBand interface.
|
|
|
Syntax Description |
interface-id |
The InfiniBand interface name (for example, sw1p1). |
|
value |
The lane widths:
|
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link |
|
|
Related Commands |
nv show interface <interface-id> link |
|
|
Notes |
|
|
nv set interface link ib-speed
|
|
nv set interface <interface-id> link ib-speed <value>
Sets the InfiniBand speed of the interface.
|
|
|
Syntax Description |
interface-id |
The InfiniBand interface name (for example, sw1p1). |
|
value |
The InfiniBand speed:
|
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link |
|
|
Related Commands |
nv show interface <interface-id> link |
|
|
Notes |
|
|
nv set interface link auto-negotiate
|
|
nv set interface <interface-id> link auto-negotiate <value>
Enables or disables auto-negotiation on the InfiniBand interface.
|
|
|
Syntax Description |
interface-id |
The InfiniBand interface name (for example, sw1p1). |
|
value |
The auto-negotiation setting: enabled or disabled. |
|
|
Default |
enabled |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link |
|
|
Related Commands |
nv show interface <interface-id> link |
|
|
Notes |
|
|
nv set interface description
|
|
nv set interface <interface-id> description <value>
Sets the description of the InfiniBand interface.
|
|
|
Syntax Description |
interface-id |
The InfiniBand interface name (for example, sw1p1). |
|
value |
The interface description. Use quotation marks if the description includes spaces. |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id> |
|
|
Related Commands |
nv show interface |
|
|
Notes |
|
|
nv action clear interface <interface-id> counters
|
|
nv action clear interface <interface-id> counters Clears the interface counters for the user running the command. |
|
|
Syntax Description |
interface-id |
The interface name, or a range of interfaces (for example, sw1-2p1-2 for sw1p1, sw1p2, sw2p1, and sw2p2). |
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/interface/<interface-id>/counters/@clear |
|
|
Related Commands |
nv show interface <interface-id> counters link |
|
|
Notes |
|
|
nv action clear interface counters
|
|
nv action clear interface counters Clears the counters of all InfiniBand interfaces for the user running the command. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/interface/@clear |
|
|
Related Commands |
|
|
|
Notes |
|
|
Last updated: