Networking NVIDIA NVOS User Manual for InfiniBand Switches

Management Interface Commands

nv show interface


nv show interface [interface-id]

Shows the details of an interface. If you do not specify an interface, the command shows a summary of all the interfaces.

Syntax Description

interface-id

Name of the interface to display (for example, eth0)

Default

N/A

History

25.02.2002 


25.02.3000

 Updated command output

25.02.70xx

Updated command output

Example

admin@nvos:~$ nv show interface ib0
                         operational                                                  applied 
-----------------------  -----------------------------------------------------------  --------
ipv4
  dhcp-client
    state         disabled                                                     disabled
    set-hostname  enabled                                                      enabled
  [gateway]
  arp-timeout     1800                                                         1800
ipv6
  dhcp-client
    state         disabled                                                     disabled
    set-hostname  enabled                                                      enabled
  [gateway]
  autoconf        disabled                                                     disabled                   
link                                                                                          
  auto-negotiate                                                                      enabled      
  duplex                                                                              full    
  speed                                                                               auto    
  mac                    80:00:00:02:fe:80:00:00:00:00:00:00:90:0a:84:03:00:76:a8:00          
  mtu                    2044                                                         2044    
  state                  up                                                           up      
ifindex                  8
counters
  in-bytes        0 Bytes
  in-pkts         0
  in-drops        0
  in-errors       0
  out-bytes       0 Bytes
  out-pkts        0
  out-drops       0
  out-errors      0
                                                                    
type                     ipoib                                                        ipoib    
admin@nvos:~$ nv show interface
Interface  State  Speed  MTU    Type      Description  IB speed  IB subnet           Logical state  Physical state  Summary                                          
---------  -----  -----  -----  --------  -----------  --------  ------------------  -------------  --------------  -------------------------------------------------
eth0       up     1G     1500   eth                                                                                 IPv4 Address:                       192.168.0.10/20
                                                                                                                    IPv6 Address:                       2001:db8::10/64
ib0        up            2044   ipoib                                                                                                                                
lo         up            65536  loopback                                                                            IPv4 Address:                          127.0.0.1/16
                                                                                                                    IPv6 Address:                               ::1/128
sw1p1      down                 ib                               infiniband-default  Down           Polling                                                          
sw1p2      down                 ib                               infiniband-default  Down           Polling                                                          
sw2p1      down                 ib                               infiniband-default  Down           Polling                                                          
. . .                            
sw32p1     up     400G   4096   ib                     ndr       infiniband-default  Active         LinkUp                                                           
sw32p2     up     400G   4096   ib                     ndr       infiniband-default  Active         LinkUp  
admin@nvos:~$ nv show interface eth0
                         operational                        applied
-----------------------  ---------------------------------  ---------------------------------
lldp
  [neighbor]

vrf                          default                                 default
ipv4
  dhcp-client
    state                    enabled                                 enabled
    set-hostname             enabled                                 enabled
    lease
      fixed-address          192.168.1.195
      subnet-mask            255.255.248.0
      routers                192.168.0.1
      broadcast-address      192.168.7.255
      filename               /uefiboot/bootx64-signed.efi
      server-name            192.168.10.122
      dhcp-lease-time        21600
      dhcp-message-type      5
      host-name              nvos
      domain-name            site1.example.net
      renew                  2025-09-09 05:17:56
      rebind                 2025-09-09 07:49:37
      expire                 2025-09-09 08:34:37
      [domain-search]        lab.example.com.
      [domain-search]        example.net.
      [domain-search]        site1.example.net.
      [domain-search]        site2.example.net.
      [domain-search]        labs.example.com.
      [domain-search]        example.com.
      [domain-name-servers]  192.168.10.135
      [domain-name-servers]  192.168.10.192
      [domain-name-servers]  192.168.20.169
      [domain-name-servers]  192.168.30.124
      [ntp-servers]          192.168.10.134
      [ntp-servers]          192.168.10.135
  [address]                  192.168.1.195/21
  [gateway]                  192.168.0.1
  arp-timeout                1800                                    1800
ipv6
  dhcp-client
    state                    enabled                                 enabled
    set-hostname             enabled                                 enabled
    lease
      client-id              0:3:0:1:0:0:5e:0:53:32
      server-id              0:1:0:1:25:f2:90:34:0:0:5e:0:53:1
      [ia-na]                5e:00:53:32
  [address]                  2001:db8:7:145::1000:4751/128
  [address]                  2001:db8:7:145:200:5eff:fe00:5332/64
  [gateway]
  autoconf                   enabled                                 enabled
link
  auto-negotiate         enabled                            enabled
  duplex                                                    full
  speed                                                     1G
  mac                    00:00:5e:00:53:32
  mtu                    1500                               1500
  state                  down                               up
ifindex                  2
counters
  in-bytes                   14.96 MB
  in-pkts                    113008
  in-drops                   0
  in-errors                  0
  out-bytes                  4.06 MB
  out-pkts                   44178
  out-drops                  0
  out-errors                 0

type                     eth                                eth

REST API

GET https://<ip>/nvue_v1/interface

Related Commands

nv set interface
nv show interface

Notes



nv show interface <interface-id> link {brief | state}

Shows the link information of an interface.

Syntax Description

interface-id

Name of the interface to display (for example, eth0)

brief

 

state

Shows only the link state.

Default

N/A

History

25.02.2002 


25.02.3000

Updated command output

25.02.70xx

Removed counters

Example

admin@nvos:~$ nv show interface eth0 link
                       operational        applied
---------------------  -----------------  -------
auto-negotiate         enabled            enabled
duplex                                    full
speed                                     1G
mac                    00:00:5e:00:53:32
mtu                    1500               1500
state                  down               up
admin@nvos:~$ nv show interface eth0 link state
    operational  applied
--  -----------  -------
    up

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/link

Related Commands

nv show interface
nv set interface link
nv unset interface link

Notes



nv show interface <interface-id> link phy health

Shows the PHY health of a link.

Syntax Description

interface-id

Name of the interface to display (for example, eth0)

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface sw68p2 link phy health
                           operational
-------------------------  -----------------
time-since-last-clear-min  396.61
symbol-errors              0
symbol-ber                 15E-255
raw-ber                    3E-8
phy-received-bits          20227291902548640
effective-errors           0
effective-ber              15E-255

Lane Stats
=============
    Lane  raw-ber  phy-raw-errors
    ----  -------  --------------
    0     3E-8     337813882
    1     0E-0     0
    2     0E-0     0
    3     0E-0     0
    4     0E-0     0
    5     0E-0     0
    6     0E-0     0
    7     0E-0     0

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/link/phy/health

Related Commands

nv show interface <interface-id> link phy health histogram

Notes



nv show interface <interface-id> link phy health histogram

Shows the PHY health histogram of a link (RS-FEC corrected error bins).

Syntax Description

interface-id

Name of the interface to display (for example, eth0)

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface sw68p2 link phy health histogram
rs-fec-corrected-errors
==========================
Bin count
--- -------------
0   3708836002770
1   288537427
2   24833730
3   3374
4   139
5   0
6   0
7   0
8   0
9   0
10  0
11  0
12  0
13  0
14  0
15  0

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/link/phy/health/histogram

Related Commands

nv show interface <interface-id> link phy health

Notes



nv show interface <interface-id> link phy detail

Shows the PHY details of a link.

Syntax Description

interface-id

Name of the interface to display (for example, eth0)

Default

N/A

History


25.02.70xx

Example

admin@nvos:~$ nv show interface sw68p2 link phy detail
                                        operational
--------------------------------------  -------------------------------------------------------------------------------------------------------------------
loopback-mode                           NONE/NONE/NONE/NONE
fec-mode-request                        64/64/64/64
cable-proto-cap-ext                     2:11,11/2:11,11/2:11,11/2:11,11
pd-fsm-state                            0/0/0/0
eth-an-fsm-state                        0/0/0/0
phy-hst-fsm-state                       LINKUP/LINKUP/LINKUP/LINKUP
psi-fsm-state                           IDLE/IDLE/IDLE/IDLE
retran-mode-request                     0/0/0/0
retran-mode-active                      0/0/0/0
profile-fec-in-use                      5/5/5/5
pd-link-width-enabled                   0/0/0/0
pd-link-speed-enabled                   1:3690988944/1:1476396432/1:1677723072/1:1677723040
phy-hst-link-width-enabled              0/0/0/0
phy-hst-link-speed-enabled              1:3690987664/1:1476395152/1:1677723040/1:1677723024
phy-manager-state                       ACTIVE/ACTIVE/ACTIVE/ACTIVE
phy-manager-link-width-enabled          1/1/1/1
phy-manager-link-proto-enabled          4:800000,400000,200000,10000/4:800000,400000,200000,10000/4:800000,400000,200000,10000/4:800000,400000,200000,10000
core-to-phy-link-width-enabled          1/1/1/1
core-to-phy-link-proto-enabled          1:800000/1:800000/1:800000/1:800000
sync-header-error-counter               0
port-local-physical-errors              0
port-malformed-packet-errors            0
plr-rcv-codes                           1857709441290
plr-rcv-codes-err                       0
plr-rcv-uncorrectable-code              0
plr-xmit-codes                          1857709696712
plr-xmit-retry-codes                    0
plr-xmit-retry-events                   0
plr-sync-events                         0
plr-codes-loss                          0
plr-xmit-retry-events-within-t-sec-max  0
plr-bw-loss-percent                     0.0
plr-rcv-new-nack-received               0
plr-xmit-new-nack-sent                  0
plr-rcv-block-flushed-due-to-csn        0
plr-rcv-block-uncorrectable-by-pre      0
rq-general-error                        0
ib-phy-fsm-state                        DISABLED/DISABLED/DISABLED/DISABLED
zero-hist                               5
successful-recovery-events              0
port-buffer-overrun-errors              0
port-dlid-mapping-errors                292
port-vl-mapping-errors                  0
port-looping-errors                     0
port-inactive-discards                  0
port-neighbor-mtu-discards              0
unintentional-link-down-events          0
intentional-link-down-events            0
time-in-last-logic-recovery-event       0
time-in-last-serdes-eq-recovery-event   0
time-since-last-recovery                0
last-logic-recovery-attempts            0
last-serdes-eq-recovery-attempts        0
time-between-last-two-recoveries        0
total-successful-recovery-events        0
linkdown-reason-code-local              0/0/0/0
linkdown-reason-status-local            NO_LINK_DOWN_INDICATION/NO_LINK_DOWN_INDICATION/NO_LINK_DOWN_INDICATION/NO_LINK_DOWN_INDICATION
linkdown-reason-code-remote             37/37/37/37
linkdown-reason-status-remote           PEER_SIDE_DOWN_DUE_TO_RESET_EVENT/PEER_SIDE_DOWN_DUE_TO_RESET_EVENT/PEER_SIDE_DOWN_DUE_TO_RESET_EVENT/PEER_SIDE_DOWN_DUE_TO_RESET_EVENT

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/link/phy/detail

Related Commands


Notes




nv set interface <interface-id> link connection-mode <xdr | ndr>
nv unset interface <interface-id> link connection-mode

Sets the connection mode of the interface to match its peer. The unset form of the command resets the connection mode to the default.

Syntax Description

interface-id

The interface.

value

The connection mode: xdr or ndr.

Default

xdr

History

25.02.2002 

Example

admin@nvos:~$ nv set interface swA1p1 link connection-mode ndr

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/link

Related Commands

nv show interface <interface-id> link

Notes

This command is supported only on Q3200-RA systems.

nv show interface counters


nv show interface <interface-id> counters

Shows the counters of an interface.

Syntax Description

interface-id

Name of the interface to display (for example, eth0, swB14p2, or acp142)

Default

N/A

History

25.02.70xx

Example

admin@nvos:~$ nv show interface swB14p2 counters
                                 operational
-------------------------------  -----------
in-bytes                         2051136 Bytes
in-pkts                          7122
in-drops                         0
in-errors                        0
out-bytes                        2051136 Bytes
out-pkts                         7122
out-drops                        0
out-errors                       0
out-unicast-pkts                 7122
out-multicast-pkts               0
in-unicast-pkts                  7122
in-multicast-pkts                0
buffer-overrun-errors            0
out-wait                         0

Error Counters
=================
    Counter           Receive  Transmit
    ----------------  -------  --------
    icrc-errors        0        n/a
    symbol-errors      0        n/a
    tx-parity-errors   n/a      0

Drop Counters
================
    Counter    Receive  Transmit
    ---------  -------  --------
    qp1-drops  0        0

Fast Recovery Counters
=========================
    Trigger          Consecutive normal windows  Warning events  Error events
    ---------------  --------------------------  --------------  ------------
    credit-watchdog  0                           0               0
    effective-ber    0                           0               0
    raw-ber          0                           0               0
    symbol-ber       0                           0               0

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/counters

Related Commands

nv show interface

Notes



nv show interface <interface-id> counters link

Shows the link-level counters of an interface, including physical and integrity errors.

Syntax Description

interface-id

Name of the interface to display (for example, eth0, swB14p2, or acp142)

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface swB14p2 counters link
                                 operational
-------------------------------  -----------
carrier-down-count               0
error-recovery                   0
port-rcv-remote-physical-errors  0
port-rcv-switch-relay-errors     0
port-rcv-constraint-errors       0
local-integrity-errors           0

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/counters/link

Related Commands

nv show interface counters

Notes


nv show interface <id> lldp neighbor <neighbor-id>


nv show interface <interface-id> lldp neighbor <neighbor-id>

Shows the details of an LLDP neighbor of an interface.

Syntax Description

interface-id


neighbor-id

Name of the interface to display (for example, eth0)


The LLDP neighbor.

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface eth0 lldp neighbor mgmt-switch01
                      operational
--------------------  ------------------------------------------------------------------
age                   15286
bridge
  untagged            59
chassis
  chassis-id          00:00:5e:00:53:01
  system-name         mgmt-switch01
  system-description  HP J9775A 2530-48G Switch, revision YA.16.11.0021, ROM YA.15.20 (/ws/swbuildm/rel_beluru_qaoff/code/build/lakes(swbuildm_rel_beluru_qaoff_rel_beluru))
  [capability]        is-bridge
port
  ttl                 120
  name                31
  type                local
  description         31
  pmd-autoneg
    [autoneg]         is-supported
    [autoneg]         is-enabled
    [advertised]      0
    [advertised]      1
    [advertised]      2
    mau-oper-type     1000BaseTFD - Four-pair Category 5 UTP, full duplex mode
lldp-med
  device-type

Management Interface Info
============================
    Index  Remote IP     Remote IPV6
    -----  ------------  -----------
    1      192.168.0.12

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/lldp/neighbor/<neighbor-id>

Related Commands

nv show interface <interface-id> lldp neighbor

Notes



nv show interface counters ib


nv show interface <interface-id> counters ib

Shows the InfiniBand (IB) counters of an interface, including errors, drops, and fast recovery statistics.

Syntax Description

interface-id

Name of the interface to display (for example, swB14p2)

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface swB14p2 counters ib
Drop Counters
================
    Counter    Receive  Transmit
    ---------  -------  --------
    qp1-drops  0        0

Error Counters
=================
    Counter           Receive  Transmit
    ----------------  -------  --------
    icrc-errors       0        n/a
    symbol-errors     0        n/a
    tx-parity-errors  n/a      0

Fast Recovery Counters
=========================
    Trigger          Consecutive normal windows  Warning events  Error events
    ---------------  --------------------------  --------------  ------------
    credit-watchdog  0                           0               0
    effective-ber    0                           0               0
    raw-ber          0                           0               0
    symbol-ber       0                           0               0

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/counters/ib

Related Commands

nv show interface counters

Notes


nv show interface counters ib errors


nv show interface <interface-id> counters ib errors

Shows the InfiniBand error counters of an interface, such as ICRC, symbol, and parity errors.

Syntax Description

interface-id

Name of the interface to display (for example, swB14p2)

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface swB14p2 counters ib errors
Counter           Receive  Transmit
----------------  -------  --------
icrc-errors       0        n/a
symbol-errors     0        n/a
tx-parity-errors  n/a      0

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/counters/ib/errors

Related Commands

nv show interface counters ib

Notes


nv show interface counters ib drops


nv show interface <interface-id> counters ib drops

Shows the InfiniBand drop counters of an interface, such as QP1 drops for receive and transmit.

Syntax Description

interface-id

Name of the interface to display (for example, swB14p2)

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface swB14p2 counters ib drops
Counter    Receive  Transmit
---------  -------  --------
qp1-drops  0        0

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/counters/ib/drops

Related Commands

nv show interface counters ib

Notes


nv show interface counters ib fast-recovery


nv show interface <interface-id> counters ib fast-recovery

Shows the InfiniBand fast recovery counters of an interface: link recovery triggers and error statistics.

Syntax Description

interface-id

Name of the interface to display (for example, swB14p2)

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface swB14p2 counters ib fast-recovery
Trigger          Consecutive normal windows  Warning events  Error events
---------------  --------------------------  --------------  ------------
credit-watchdog  0                           0               0
effective-ber    0                           0               0
raw-ber          0                           0               0
symbol-ber       0                           0               0

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/counters/ib/fast-recovery

Related Commands

nv show interface counters ib

Notes


nv show interface ipv4


nv show interface <interface-id> ipv4 {address | dhcp-client | gateway}

Shows the IPv4 configuration and state of an interface.

Syntax Description

interface-id

Name of the interface to display (for example, ib0 or eth0)

address

Shows the IPv4 address configuration of the interface.

dhcp-client

Shows the DHCPv4 client configuration and state of the interface.

gateway

Shows the IPv4 gateway configuration of the interface.

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface eth0 ipv4
                operational                            applied
--------------  -------------------------------------  -------
dhcp-client
  state                    enabled                       enabled
  set-hostname             enabled                       enabled
  lease
    fixed-address          192.168.1.195
    subnet-mask            255.255.248.0
    routers                192.168.0.1
    broadcast-address      192.168.7.255
    filename               /uefiboot/bootx64-signed.efi
    server-name            192.168.10.122
    dhcp-lease-time        21600
    dhcp-message-type      5
    host-name              nvos
    domain-name            site1.example.net
    renew                  2025-09-09 05:17:56
    rebind                 2025-09-09 07:49:37
    expire                 2025-09-09 08:34:37
    [domain-search]        lab.example.com.
    [domain-search]        example.net.
    [domain-search]        site1.example.net.
    [domain-search]        site2.example.net.
    [domain-search]        labs.example.com.
    [domain-search]        example.com.
    [domain-name-servers]  192.168.10.135
    [domain-name-servers]  192.168.10.192
    [domain-name-servers]  192.168.20.169
    [domain-name-servers]  192.168.30.124
    [ntp-servers]          192.168.10.134
    [ntp-servers]          192.168.10.135
[address]                  192.168.1.195/21
[gateway]                  192.168.0.1
arp-timeout                1800                          1800
admin@nvos:~$ nv show interface eth0 ipv4 address
-------------------------------------
192.168.1.195/21
admin@nvos:~$ nv show interface eth0 ipv4 dhcp-client
              operational  applied
------------  -----------  -------
state                    enabled                       enabled
set-hostname             enabled                       enabled
lease
  fixed-address          192.168.1.195
  subnet-mask            255.255.248.0
  routers                192.168.0.1
  broadcast-address      192.168.7.255
  filename               /uefiboot/bootx64-signed.efi
  server-name            192.168.10.122
  dhcp-lease-time        21600
  dhcp-message-type      5
  host-name              nvos
  domain-name            site1.example.net
  renew                  2025-09-09 07:35:23
  rebind                 2025-09-09 10:32:56
  expire                 2025-09-09 11:17:56
  [domain-search]        lab.example.com.
  [domain-search]        example.net.
  [domain-search]        site1.example.net.
  [domain-search]        site2.example.net.
  [domain-search]        labs.example.com.
  [domain-search]        example.com.
  [domain-name-servers]  192.168.10.135
  [domain-name-servers]  192.168.10.192
  [domain-name-servers]  192.168.20.169
  [domain-name-servers]  192.168.30.124
  [ntp-servers]          192.168.10.134
  [ntp-servers]          192.168.10.135

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/ipv4

Related Commands

nv show interface
nv set interface <interface-id> ipv4
nv unset interface <interface-id> ipv4

Notes



nv show interface ipv6


nv show interface <interface-id> ipv6 {address | dhcp-client | gateway}

Shows the IPv6 configuration and state of an interface.

Syntax Description

interface-id

Name of the interface to display (for example, ib0 or eth0)

address

Shows the IPv6 address configuration of the interface.

dhcp-client

Shows the DHCPv6 client configuration and state of the interface.

gateway

Shows the IPv6 gateway configuration of the interface.

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface eth0 ipv6
                operational                            applied
--------------  -------------------------------------  -------
dhcp-client
  state         enabled                                 enabled
  set-hostname  enabled                                 enabled
  lease
    client-id   0:3:0:1:0:0:5e:0:53:32
    server-id   0:1:0:1:25:f2:90:34:0:0:5e:0:53:1
    [ia-na]     5e:00:53:32
[address]       2001:db8:7:145::1000:4751/128
[address]       2001:db8:7:145:200:5eff:fe00:5332/64
[gateway]
autoconf        enabled                                 enabled
admin@nvos:~$ nv show interface eth0 ipv6 address
-------------------------------------
2001:db8:7:145::1000:4751/128
2001:db8:7:145:200:5eff:fe00:5332/64
admin@nvos:~$ nv show interface eth0 ipv6 dhcp-client
              operational  applied
------------  -----------  -------
state         enabled                               enabled
set-hostname  enabled                               enabled
lease
  client-id   0:3:0:1:0:0:5e:0:53:32
  server-id   0:1:0:1:25:f2:90:34:0:0:5e:0:53:1
  [ia-na]     5e:00:53:32

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/ipv6

Related Commands

nv show interface
nv set interface ipv6
nv unset interface <interface-id> ipv6

Notes


nv show interface ipv4 dhcp-client lease


nv show interface <interface-id> ipv4 dhcp-client lease

Shows the DHCPv4 client lease of an interface.

Syntax Description

interface-id

Name of the interface to display (for example, ib0 or eth0)

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface eth0 ipv4 dhcp-client lease
                operational                            applied
--------------  -------------------------------------  -------
fixed-address          192.168.1.195
subnet-mask            255.255.248.0
routers                192.168.0.1
broadcast-address      192.168.7.255
filename               /uefiboot/bootx64-signed.efi
server-name            192.168.10.122
dhcp-lease-time        21600
dhcp-message-type      5
host-name              nvos
domain-name            site1.example.net
renew                  2025-09-09 07:35:23
rebind                 2025-09-09 10:32:56
expire                 2025-09-09 11:17:56
[domain-search]        lab.example.com.
[domain-search]        example.net.
[domain-search]        site1.example.net.
[domain-search]        site2.example.net.
[domain-search]        labs.example.com.
[domain-search]        example.com.
[domain-name-servers]  192.168.10.135
[domain-name-servers]  192.168.10.192
[domain-name-servers]  192.168.20.169
[domain-name-servers]  192.168.30.124
[ntp-servers]          192.168.10.134
[ntp-servers]          192.168.10.135

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/ipv4/dhcp-client/lease

Related Commands

nv show interface
nv set interface <interface-id> ipv4 dhcp-client state enabled
nv unset interface <interface-id> ipv4

Notes


nv show interface ipv6 dhcp-client lease


nv show interface <interface-id> ipv6 dhcp-client lease

Shows the DHCPv6 client lease of an interface.

Syntax Description

interface-id

Name of the interface to display (for example, ib0 or eth0)

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv show interface eth0 ipv6 dhcp-client lease
                operational                            applied
--------------  -------------------------------------  -------
client-id  0:3:0:1:0:0:5e:0:53:32
server-id  0:1:0:1:25:f2:90:34:0:0:5e:0:53:1

ia-na
========
    IA-NA        Starts               Renew                Rebind               IA Addr                     IA Addr Starts       Preferred Life       Max Life
    -----------  -------------------  -------------------  -------------------  --------------------------  -------------------  -------------------  -------------------
    5e:00:53:32  2025-09-09 04:34:42  2025-09-09 05:34:42  2025-09-09 06:34:42  2001:db8:7:145::1000:4751   2025-09-09 04:34:42  2025-09-09 05:12:12  2025-09-09 05:34:42

REST API

GET https://<ip>/nvue_v1/interface/<interface-id>/ipv6/dhcp-client/lease

Related Commands

nv show interface
nv set interface ipv6 dhcp-client state enabled
nv unset interface <interface-id> ipv6

Notes



nv set interface <interface-id> link state <up | down>
nv unset interface <interface-id> link state

Sets the administrative state of the interface link. The unset form of the command resets the link state to the default.

Syntax Description

interface-id

The interface (for example, eth0).

value

The link state: up or down.

Default

N/A

History


25.02.2002 


Example

admin@nvos:~$ nv unset interface ib0 link state
admin@nvos:~$ nv set interface ib0 link state up
admin@nvos:~$ nv unset interface eth0 link state
admin@nvos:~$ nv set interface eth0 link state up

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/link/state

Related Commands

nv show interface
nv set interface link
nv unset interface link state

Notes


nv set/unset interface description


nv set interface <interface-id> description <value>
nv unset interface <interface-id> description

Sets the description of the interface. The unset form of the command clears the description.

Syntax Description

interface-id

The interface (for example, ib0 or eth0).

value

The description. If the description has spaces, enclose it in quotation marks.

Default

N/A

History


25.02.2002 


Example

admin@nvos:~$ nv set interface ib0 description "IPoIB interface"
admin@nvos:~$ nv unset interface ib0 description
admin@nvos:~$ nv set interface eth0 description "mgmt interface"
admin@nvos:~$ nv unset interface eth0 description

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>

Related Commands

nv show interface
nv unset interface description

Notes


nv set/unset interface ipv4 address


nv set interface <interface-id> ipv4 address <ipv4-prefix-id>
nv unset interface <interface-id> ipv4 address <ipv4-prefix-id>

Sets an IPv4 address on the interface. The unset form of the command deletes the IPv4 address from the interface.

Syntax Description

interface-id

The interface (for example, ib0 or eth0).

ipv4-prefix-id

The IPv4 address and prefix length.

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv set interface ib0 ipv4 address 10.10.1.1/8
admin@nvos:~$ nv set interface eth0 ipv4 address 192.0.2.42/24

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv4/address

Related Commands

nv show interface
nv unset interface <interface-id> ipv4

Notes


nv set/unset interface ipv6 address


nv set interface <interface-id> ipv6 address <ipv6-prefix-id>
nv unset interface <interface-id> ipv6 address <ipv6-prefix-id>

Sets an IPv6 address on the interface. The unset form of the command deletes the IPv6 address from the interface.

Syntax Description

interface-id

The interface (for example, ib0 or eth0).

ipv6-prefix-id

The IPv6 address and prefix length.

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv set interface ib0 ipv6 address 2001:db8::13/128
admin@nvos:~$ nv set interface eth0 ipv6 address 2001:db8::42/64

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv6/address

Related Commands

nv show interface
nv unset interface <interface-id> ipv6

Notes


nv unset interface


nv unset interface <interface-id>

Resets all the settings of the interface to their defaults.

Syntax Description

interface-id

The interface (for example, eth0).

Default

N/A

History


25.02.2002 


Example

admin@nvos:~$ nv unset interface eth0

REST API

DELETE https://<ip>/nvue_v1/interface/<interface-id>

Related Commands

nv show interface
nv set interface

Notes



nv set interface <interface-id> link mtu <bytes>
nv unset interface <interface-id> link mtu

Sets the maximum transmission unit (MTU) of the interface. The unset form of the command resets the MTU to the default.

Syntax Description

interface-id

Name of the interface to display (for example, eth0)

bytes

Range: 1280–9000

Default

1500

History


25.02.2002 


Example

admin@nvos:~$ nv set interface eth0 link mtu 1500

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/link

Related Commands

nv show interface link

Notes



nv set interface <interface-id> link speed <speed>
nv unset interface <interface-id> link speed

Sets the speed of the interface. The unset form of the command resets the speed to the default.

Syntax Description

interface-id

Name of the interface to display (for example, eth0)

speed

10M, 100M, 1G

Default

1G

History


25.02.2002 


Example

admin@nvos:~$ nv set interface eth0 link speed 100M

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/link

Related Commands

nv show interface link

Notes

This command is currently not supported in IPoIB interfaces.


nv set interface <interface-id> link duplex <duplex>
nv unset interface <interface-id> link duplex

Sets the duplex mode of the interface. The unset form of the command resets the duplex mode to the default.

Syntax Description

interface-id

The interface (for example, eth0).

duplex

full, half

Default

full

History


25.02.2002 


Example

admin@nvos:~$ nv set interface eth0 link duplex full

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/link

Related Commands

nv show interface link

Notes

This command is currently not supported in IPoIB interfaces.


nv set interface <interface-id> link auto-negotiate <auto>

Enables or disables auto-negotiation of the link speed and duplex mode.

Syntax Description

interface-id

The interface (for example, eth0).

auto

enabled, disabled

Default

enabled

History


25.02.2002 


25.02.70xx <auto> is now enabled | disabled instead of on | off


Example

admin@nvos:~$ nv set interface eth0 link auto-negotiate enabled

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/link

Related Commands

nv show interface link

Notes

This command is currently not supported in IPoIB interfaces.

nv set interface ipv6 autoconf


nv set interface <interface-id> ipv6 autoconf <autoconf>

Enables or disables IPv6 stateless address autoconfiguration (SLAAC) on the interface.

Syntax Description

interface-id

The interface

autoconf

enabled, disabled

Default

enabled

History


25.02.2002 


Example

admin@nvos:~$ nv set interface eth0 ipv6 autoconf enabled

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv6

Related Commands

nv show interface <interface-id> ipv6

Notes


nv set/unset interface ipv4 gateway


nv set interface <interface-id> ipv4 gateway <gateway-ip>
nv unset interface <interface-id> ipv4 gateway <gateway-ip>

Sets the IPv4 default gateway of the interface. The unset form of the command deletes the default gateway.

Syntax Description

interface-id

The interface

gateway-ip

The gateway IPv4 address

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv set interface eth0 ipv4 gateway 192.0.2.1
admin@nvos:~$ nv unset interface eth0 ipv4 gateway 192.0.2.1

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv4/gateway

Related Commands

nv show interface ipv4

Notes


nv set/unset interface ipv6 gateway


nv set interface <interface-id> ipv6 gateway <gateway-ip>
nv unset interface <interface-id> ipv6 gateway <gateway-ip>

Sets the IPv6 default gateway of the interface. The unset form of the command deletes the default gateway.

Syntax Description

interface-id

The interface

gateway-ip

The gateway IPv6 address

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv set interface eth0 ipv6 gateway fe80::1
admin@nvos:~$ nv unset interface eth0 ipv6 gateway fe80::1

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv6/gateway

Related Commands

nv show interface ipv6

Notes


nv set/unset interface ipv4 arp-timeout


nv set interface <interface-id> ipv4 arp-timeout <time>
nv unset interface <interface-id> ipv4 arp-timeout

Sets the IPv4 ARP timeout of the interface, in seconds. The unset form of the command resets the timeout to the default.

Syntax Description

interface-id

The interface

time

Seconds. Range: 60–28800

Default

1800

History


25.02.70xx


Example

admin@nvos:~$ nv set interface eth0 ipv4 arp-timeout 2100
admin@nvos:~$ nv unset interface eth0 ipv4 arp-timeout

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv4

Related Commands

nv show interface <interface-id> ipv4

Notes



nv set interface <interface-id> link breakout <mode>
nv unset interface <interface-id> link breakout

Sets the breakout mode of the interface. The unset form of the command removes the breakout configuration.

Syntax Description

interface-id

The interface.

mode

The breakout mode (for example, 2x-ndr).

Default

Disabled

History

25.02.2002 

Example

admin@nvos:~$ nv set interface sw1p1 link breakout 2x-ndr
admin@nvos:~$ nv unset interface sw1p1 link breakout

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/link

Related Commands

nv action change system profile breakout-mode enabled

Notes

  • You can configure breakout only when breakout mode is enabled in the system profile.

  • To show the current system profile, run nv show system profile.

  • To enable breakout mode in the system profile, run nv action change system profile breakout-mode enabled.

VRF

nv show vrf


show vrf {vrf-id}{loopback | loopback ip | loopback ip address {ip-prefix-id}}

Shows VRFs.

Syntax Description

vrf-id

 VRF

loopback

Return loopback interface details of a VRF.

loopback ip

Return IP details of a VRF loopback interface.

loopback ip address

Return details of the IP addresses.

ip-prefix-id

IPv4 or IPv6 address and route prefix in CIDR notation

<none>

Shows all VRFs

Default

N/A

Configuration Mode

config

History


25.02.2002 


Example

admin@nvos:~$ nv show vrf
Name       Table  Summary
---------  -----  -----------------------
+ default  254    IP Address: 127.0.0.1/8
  default         IP Address:     ::1/128
+ mgmt     1001   IP Address: 127.0.0.1/8
  mgmt            IP Address:     ::1/128
admin@nvos:~$ nv show vrf mgmt
               operational  applied      description
-------------  -----------  -----------  ----------------------------------------------------------------------
table          1001         auto         The routing table number, between 1001-1255, used by the named VRF....
evpn
  enable                    off          Turn the feature 'on' or 'off'.  The default is 'off'.
loopback
  ip
    [address]  127.0.0.1/8  127.0.0.1/8  static IPv4 or IPv6 address
    [address]  ::1/128      ::1/128      
ptp
  enable                    on           Turn the feature 'on' or 'off'.  The default is 'on'.
router
  bgp
    enable                  off          Turn the feature 'on' or 'off'.  The default is 'off'.
  ospf
    enable                  off          Turn the feature 'on' or 'off'.  The default is 'off'.
  [rib]                                  RIB Routes
  [static]                               Routes
admin@nvos:~$ nv show vrf mgmt loopback
             operational  applied      description
-----------  -----------  -----------  ---------------------------
ip
  [address]  127.0.0.1/8  127.0.0.1/8  static IPv4 or IPv6 address
  [address]  ::1/128      ::1/128      
admin@nvos:~$ nv show vrf mgmt loopback ip
           operational  applied      description
---------  -----------  -----------  ---------------------------
[address]  127.0.0.1/8  127.0.0.1/8  static IPv4 or IPv6 address
[address]  ::1/128      ::1/128      
admin@nvos:~$ nv show vrf mgmt loopback ip address

-----------
127.0.0.1/8
::1/128
admin@nvos:~$ nv show vrf mgmt loopback ip address 127.0.0.1/8 
    operational  applied  description
--  -----------  -------  -----------

REST API

GET https://<ip>/nvue_v1/vrf/{vrf-id}

Related Commands


Notes

 FRR must be running to be able to use this command.

nv set/unset interface vrf


nv set interface <interface-id> vrf <vrf-name>
nv unset interface <interface-id> vrf

Assigns the interface to a VRF. The unset form of the command returns the interface to the default VRF.

Syntax Description

interface-id

The interface

vrf-name

The VRF: default or mgmt.

Default

default

History


25.02.70xx


Example

admin@nvos:~$ nv set interface eth0 vrf mgmt
admin@nvos:~$ nv unset interface eth0 vrf

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>

Related Commands

nv show vrf

Notes


IP DHCP Client

nv set/unset interface ipv4 dhcp-client state


nv set interface <interface-id> ipv4 dhcp-client state <enabled | disabled>
nv unset interface <interface-id> ipv4 dhcp-client

Enables or disables the DHCP client on the interface. The unset form of the command resets the DHCP client to its default settings.

Syntax Description

interface-id

The interface

Default

enabled

History


25.02.70xx


Example

admin@nvos:~$ nv set interface eth0 ipv4 dhcp-client state enabled

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv4/dhcp-client

Related Commands

nv set interface <interface-id> ipv6 dhcp-client state

Notes

When you configure the DHCP client for IPv4 or IPv6, the switch applies the same configuration to both.

nv set/unset interface ipv4 dhcp-client set-hostname


nv set interface <interface-id> ipv4 dhcp-client set-hostname <enabled | disabled>
nv unset interface <interface-id> ipv4 dhcp-client set-hostname

Allows or prevents the DHCP client from setting the system hostname. The unset form of the command resets this setting to the default.

Syntax Description

interface-id

The interface

Default

enabled

History


25.02.70xx


Example

admin@nvos:~$ nv set interface eth0 ipv4 dhcp-client set-hostname enabled

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv4/dhcp-client

Related Commands

nv set interface <interface-id> ipv6 dhcp-client set-hostname
nv set interface <interface-id> ipv4 dhcp-client state

Notes

When you configure the DHCP client for IPv4 or IPv6, the switch applies the same configuration to both.

nv set/unset interface ipv6 dhcp-client state


nv set interface <interface-id> ipv6 dhcp-client state <enabled | disabled>
nv unset interface <interface-id> ipv6 dhcp-client

Enables or disables the DHCPv6 client on the interface. The unset form of the command resets the DHCPv6 client to its default settings.

Syntax Description

interface-id

The interface

Default

enabled

History


25.02.2002 


Example

admin@nvos:~$ nv set interface eth0 ipv6 dhcp-client state enabled

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv6/dhcp-client

Related Commands

nv set interface <interface-id> ipv4 dhcp-client state

Notes

When you configure the DHCP client for IPv4 or IPv6, the switch applies the same configuration to both.

nv set interface ipv6 dhcp-client set-hostname


nv set interface <interface-id> ipv6 dhcp-client set-hostname <enabled | disabled>
nv unset interface <interface-id> ipv6 dhcp-client set-hostname

Allows or prevents the DHCPv6 client from setting the system hostname. The unset form of the command resets this setting to the default.

Syntax Description

interface-id

The interface

Default

enabled

History


25.02.2002 


Example

admin@nvos:~$ nv set interface eth0 ipv6 dhcp-client set-hostname enabled

REST API

PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv6/dhcp-client

Related Commands

nv set interface <interface-id> ipv4 dhcp-client set-hostname
nv set interface <interface-id> ipv6 dhcp-client state

Notes

When you configure the DHCP client for IPv4 or IPv6, the switch applies the same configuration to both.

nv action renew interface ipv4 dhcp-client


nv action renew interface <interface-id> ipv4 dhcp-client

Renews the DHCP lease of the interface.

Syntax Description

interface-id

The interface

Default

N/A

History


25.02.70xx


Example

admin@nvos:~$ nv action renew interface eth0 ipv4 dhcp-client

REST API

POST https://<ip>/nvue_v1/interface/<interface-id>/ipv4/dhcp-client

Related Commands


Notes


nv action renew interface ipv6 dhcp-client


nv action renew interface <interface-id> ipv6 dhcp-client

Renews the DHCPv6 lease of the interface.

Syntax Description

interface-id

The interface

Default

N/A

History


25.02.2002 


Example

admin@nvos:~$ nv action renew interface eth0 ipv6 dhcp-client

REST API

POST https://<ip>/nvue_v1/interface/<interface-id>/ipv6/dhcp-client

Related Commands


Notes


Last updated: