The nv show ib router commands and nv action clear ib router counters are available only after you enable IB routing with nv action change system profile. For more information, see IB Router.
nv action change system profile
|
|
nv action change system profile ib-routing {enabled|disabled} num-of-swids <1-4> [force] Changes the system profile: enables or disables IB routing and sets the number of SWIDs (IB subnets).
|
|
|
Syntax Description |
ib-routing |
Enables or disables IB routing: enabled or disabled. |
|
num-of-swids |
The number of SWIDs: 1-4.
|
|
|
force |
Runs the action without prompting for confirmation. |
|
|
Default |
ib-routing: disabled
|
|
|
History |
25.02.7002
|
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/system/profile/@change |
|
|
Related Commands |
nv show system profile |
|
|
Notes |
|
|
nv set/unset interface link ib-subnet
|
|
nv set interface <interface-id> link ib-subnet <subnet-name>
Assigns an IB interface to an IB subnet (SWID).
|
|
|
Syntax Description
|
interface-id |
The IB interface name or a range of IB interfaces (for example, sw3p1 or sw3-4p1-2). |
|
subnet-name |
The IB subnet: infiniband-default, infiniband-1, infiniband-2, or infiniband-3. |
|
|
Default |
infiniband-default |
|
|
History |
25.02.7002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link |
|
|
Related Commands |
nv show interface
|
|
|
Notes |
|
|
nv show ib router routing-table
|
|
nv show ib router routing-table Shows the IB routing table: one entry for each subnet, with the subnet name, the subnet prefix, and the validity status. |
|
Syntax Description |
N/A |
|
Default |
N/A |
|
History |
25.02.7002 |
|
Example |
|
|
REST API |
GET https://<ip>/nvue_v1/ib/router/routing-table |
|
Related Commands |
nv action change system profile ib-routing num-of-swids
|
|
Notes |
|
nv show ib router ib-subnet
|
|
nv show ib router ib-subnet Shows detailed information about all the IB subnets. |
|
Syntax Description |
N/A |
|
Default |
N/A |
|
History |
25.02.8008 |
|
Example |
|
|
REST API |
GET https://<ip>/nvue_v1/ib/router/ib-subnet |
|
Related Commands |
nv action change system profile ib-routing num-of-swids
|
|
Notes |
|
nv show ib router ib-subnet subnet-name
|
|
nv show ib router ib-subnet <subnet-name> Shows detailed information about an IB subnet. |
|
|
Syntax Description |
subnet-name |
The IB subnet: infiniband-default, infiniband-1, infiniband-2, or infiniband-3. |
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/ib/router/ib-subnet/<subnet-name> |
|
|
Related Commands |
nv action change system profile ib-routing num-of-swids
|
|
|
Notes |
|
|
nv show ib router ib-subnet subnet-name counters
|
|
nv show ib router ib-subnet <subnet-name> counters Shows the counters of an IB subnet. |
|
|
Syntax Description |
subnet-name |
The IB subnet: infiniband-default, infiniband-1, infiniband-2, or infiniband-3. |
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/ib/router/ib-subnet/<subnet-name>/counters |
|
|
Related Commands |
nv action change system profile ib-routing num-of-swids
|
|
|
Notes |
Unlike the IB port counters, the subnet counters do not include |
|
nv show ib router ib-subnet subnet-name counters link
|
|
nv show ib router ib-subnet <subnet-name> counters link Shows the link counters of an IB subnet. |
|
|
Syntax Description |
subnet-name |
The IB subnet: infiniband-default, infiniband-1, infiniband-2, or infiniband-3. |
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/ib/router/ib-subnet/<subnet-name>/counters/link |
|
|
Related Commands |
nv action change system profile ib-routing num-of-swids
|
|
|
Notes |
Unlike the IB port link counters, the subnet link counters do not include |
|
nv show ib router ib-subnet subnet-name gid
|
|
nv show ib router ib-subnet <subnet-name> gid Shows the GID of each ASIC in an IB subnet. |
|
|
Syntax Description |
subnet-name |
The IB subnet: infiniband-default, infiniband-1, infiniband-2, or infiniband-3. |
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/ib/router/ib-subnet/<subnet-name>/gid |
|
|
Related Commands |
nv action change system profile ib-routing num-of-swids
|
|
|
Notes |
|
|
nv show ib router --view counters
|
|
nv show ib router --view counters Shows the counters of all IB subnets. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/ib/router |
|
|
Related Commands |
nv action change system profile ib-routing num-of-swids
|
|
|
Notes |
|
|
nv action clear ib router counters
|
|
nv action clear ib router counters Clears the counters of all IB subnets. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.8008 |
|
|
Example |
|
|
|
REST API |
POST https://<ip>/nvue_v1/ib/router/@clear |
|
|
Related Commands |
nv action change system profile ib-routing num-of-swids
|
|
|
Notes |
|
|
Last updated: