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 |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface |
|
|
Related Commands |
nv set interface
|
|
|
Notes |
|
|
nv show interface link
|
|
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 |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface/<interface-id>/link |
|
|
Related Commands |
nv show interface
|
|
|
Notes |
|
|
nv show interface link phy health
|
|
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 |
|
|
|
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 link phy health histogram
|
|
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 |
|
|
|
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 link phy detail
|
|
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 |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface/<interface-id>/link/phy/detail |
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset interface link connection-mode
|
|
nv set interface <interface-id> link connection-mode <xdr | ndr>
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 |
|
|
|
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 |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface/<interface-id>/counters |
|
|
Related Commands |
nv show interface |
|
|
Notes |
|
|
nv show interface counters link
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface/<interface-id>/ipv4 |
|
|
Related Commands |
nv show interface
|
|
|
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 |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface/<interface-id>/ipv6 |
|
|
Related Commands |
nv show interface
|
|
|
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 |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface/<interface-id>/ipv4/dhcp-client/lease |
|
|
Related Commands |
nv show interface
|
|
|
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 |
|
|
|
REST API |
GET https://<ip>/nvue_v1/interface/<interface-id>/ipv6/dhcp-client/lease |
|
|
Related Commands |
nv show interface
|
|
|
Notes |
|
|
nv set/unset interface link state
|
|
nv set interface <interface-id> link state <up | down>
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 |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link/state |
|
|
Related Commands |
nv show interface
|
|
|
Notes |
|
|
nv set/unset interface description
|
|
nv set interface <interface-id> description <value>
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 |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id> |
|
|
Related Commands |
nv show interface
|
|
|
Notes |
|
|
nv set/unset interface ipv4 address
|
|
nv set 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 |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv4/address |
|
|
Related Commands |
nv show interface
|
|
|
Notes |
|
|
nv set/unset interface ipv6 address
|
|
nv set 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 |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv6/address |
|
|
Related Commands |
nv show interface
|
|
|
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 |
|
|
|
REST API |
DELETE https://<ip>/nvue_v1/interface/<interface-id> |
|
|
Related Commands |
nv show interface
|
|
|
Notes |
|
|
nv set/unset interface link mtu
|
|
nv set interface <interface-id> link mtu <bytes>
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 |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link |
|
|
Related Commands |
nv show interface link |
|
|
Notes |
|
|
nv set/unset interface link speed
|
|
nv set interface <interface-id> link speed <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 |
|
|
|
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/unset interface link duplex
|
|
nv set interface <interface-id> link duplex <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 |
|
|
|
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 link auto-negotiate
|
|
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
|
|
|
Example |
|
|
|
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 |
|
|
|
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>
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 |
|
|
|
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>
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 |
|
|
|
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>
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 |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/ipv4 |
|
|
Related Commands |
nv show interface <interface-id> ipv4 |
|
|
Notes |
|
|
nv set/unset interface link breakout
|
|
nv set interface <interface-id> link breakout <mode>
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 |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/interface/<interface-id>/link |
|
|
Related Commands |
nv action change system profile breakout-mode enabled |
|
|
Notes |
|
|
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 |
|
|
|
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>
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 |
|
|
|
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>
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 |
|
|
|
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>
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 |
|
|
|
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
|
|
|
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>
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 |
|
|
|
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>
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 |
|
|
|
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
|
|
|
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 |
|
|
|
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 |
|
|
|
REST API |
POST https://<ip>/nvue_v1/interface/<interface-id>/ipv6/dhcp-client |
|
|
Related Commands |
|
|
|
Notes |
|
|
Last updated: