Action Commands

This document is in beta.

nv action

Resets counters for interfaces, BGP, QoS buffers and pools, removes conflicts from protodown MLAG bonds, and disconnects system users.


nv action clear interface counters

Clears all interface-specific counters from all interfaces. Interface counters provide information about an interface, such as the number of packets intentionally or intentionally dropped, the number of inbound and outbound packets discarded even though the switch detected no errors, the number of inbound and outbound packets not transmitted because of errors, and so on.

This command does not clear counters in the kernel or hardware.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear interface counters

nv action clear interface <interface> bond mlag lacp-conflict

Clears the MLAG LACP conflict on the specified interface bond. A conflict can be an LACP partner MAC address mismatch or a duplicate LACP partner MAC address.

Command Syntax

SyntaxDescription
<interface>The interface that has an LACP conflict.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv action clear interface swp1 bond mlag lacp-conflict 

nv action clear interface <interface> counters

Clears all interface-specific counters from the specified interface. Interface counters provide information about an interface, such as the number of packets intentionally or intentionally dropped, the number of inbound and outbound packets discarded even though the switch detected no errors, the number of inbound and outbound packets not transmitted because of errors, and so on.

This command does not clear counters in the kernel or hardware.

Command Syntax

SyntaxDescription
<interface-id>The interface on which you want to clear counters.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear interface swp1 counters

nv action clear interface <interface-id> counters ptp

Clears PTP counters on the specified interface.

Command Syntax

SyntaxDescription
<interface-id>The interface on which you want to clear PTP counters.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear interface swp1 counters ptp

nv action clear interface <interface-id> qos buffer

Clears QoS buffer counters on the specified interface.

Command Syntax

SyntaxDescription
<interface-id>The interface on which you want to clear the QoS buffer.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear interface swp1 qos buffer

nv action clear interface <interface-id> qos roce counters

Clears QoS RoCE counters on the specified interface.

Command Syntax

SyntaxDescription
<interface-id>The interface on which you want to clear RoCE counters.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear interface swp1 qos roce counters

nv action clear mlag lacp-conflict

Clears the MLAG LACP conflict. A conflict can be an LACP partner MAC address mismatch or a duplicate LACP partner MAC address.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv action clear mlag lacp-conflict 

nv action clear qos buffer multicast-switch-priority

Clears the QoS multicast switch priority buffers.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv action clear qos buffer multicast-switch-priority 

nv action clear qos buffer pool

Clears the QoS pool buffers.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv action clear qos buffer pool 

nv action clear router policy route-map <route-map-id>

Clears counters for the specified route map.

Command Syntax

SyntaxDescription
<route-map-id>The route map you want to clear.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear router policy route-map ROUTEMAP1

nv action clear service ptp <instance-id> monitor violations log max-offset

Clears PTP monitor violation log maximum offset value.

Command Syntax

SyntaxDescription
<instance-id>The PTP instance number used for management purposes.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear service ptp 1 monitor violations log max-offset

nv action clear service ptp <instance-id> monitor violations log min-offset

Clears PTP monitor violation log minumum offset value.

Command Syntax

SyntaxDescription
<instance-id>The PTP instance number used for management purposes.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear service ptp 1 monitor violations log min-offset

nv action clear service ptp <instance-id> monitor violations log path-delay

Clears the PTP monitor violation log path delay value.

Command Syntax

SyntaxDescription
<instance-id>The PTP instance number used for management purposes.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear service ptp 1 monitor violations log path-delay

nv action clear vrf <vrf-id> router bgp address-family ipv4-unicast in

Clears BGP IPv4 inbound routes.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family ipv4-unicast in

nv action clear vrf <vrf-id> router bgp address-family ipv4-unicast out

Clears BGP IPv4 outbound routes.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family ipv4-unicast in

nv action clear vrf <vrf-id> router bgp address-family ipv4-unicast soft in

Clears BGP IPv4 inbound routes for all BGP peers.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether you enable soft-reconfiguration inbound.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family soft in

nv action clear vrf <vrf-id> router bgp address-family ipv4-unicast soft out

Clears BGP IPv4 outbound routes for all BGP peers.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family soft out

nv action clear vrf <vrf-id> router bgp address-family ipv6-unicast in

Clears BGP IPv6 inbound routes.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family ipv6-unicast in

nv action clear vrf <vrf-id> router bgp address-family ipv6-unicast out

Clears BGP IPv6 outbound routes.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family ipv6-unicast out

nv action clear vrf <vrf-id> router bgp address-family ipv6-unicast soft in

Clears BGP IPv6 inbound routes for all BGP peers.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family ipv6-unicast soft in

nv action clear vrf <vrf-id> router bgp address-family ipv6-unicast soft out

Clears BGP IPv6 outbound routes for all BGP peers.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family ipv6-unicast soft out

nv action clear vrf <vrf-id> router bgp address-family l2vpn-evpn in

Clears BGP EVPN inbound routes.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family l2vpn-evpn in

nv action clear vrf <vrf-id> router bgp address-family l2vpn-evpn out

Clears BGP EVPN outbound routes.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family l2vpn-evpn out

nv action clear vrf <vrf-id> router bgp address-family l2vpn-evpn soft in

Clears BGP EVPN inbound routes for all BGP peers.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family l2vpn-evpn soft in

nv action clear vrf <vrf-id> router bgp address-family l2vpn-evpn soft out

Clears BGP EVPN outbound routes for all BGP peers.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp address-family l2vpn-evpn soft out

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> in

Clears inbound routes for a specific BGP peer in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 in

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> out

Clears outbound routes for a specific BGP peer in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 out

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> soft in

Clears inbound routes for a specific BGP peer in the specified VRF without resetting the peer session.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 soft in

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> soft out

Clears outbound routes for a specific BGP peer in the specified VRF without resetting the peer session.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 soft out

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family ipv4-unicast in

Clears IPv4 inbound routes for a specific BGP peer in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family ipv4-unicast in

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family ipv4-unicast out

Clears IPv4 outbound routes for a specific BGP peer in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family ipv4-unicast out

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family ipv4-unicast soft in

Clears IPv4 inbound routes for a specific BGP peer in the specified VRF without resetting the peer session.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family ipv4-unicast soft in

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family ipv4-unicast soft out

Clears IPv4 outbound routes for a specific BGP peer in the specified VRF without resetting the peer session.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family ipv4-unicast soft out

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family ipv6-unicast in

Clears IPv6 inbound routes for a specific BGP peer in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family ipv6-unicast in

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family ipv6-unicast out

Clears IPv6 outbound routes for a specific BGP peer in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family ipv6-unicast out

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family ipv6-unicast soft in

Clears IPv6 inbound routes for a specific BGP peer in the specified VRF without resetting the peer session.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family ipv6-unicast soft in

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family ipv6-unicast soft out

Clears IPv6 outbound routes for a specific BGP peer in the specified VRF without resetting the peer session.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family ipv6-unicast soft out

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn in

Clears EVPN inbound routes for a specific BGP peer in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family l2vpn-evpn in

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn out

Clears EVPN outbound routes for a specific BGP peer in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family l2vpn-evpn out

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn soft in

Clears EVPN inbound routes for a specific BGP peer in the specified VRF without resetting the peer session.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family l2vpn-evpn soft in

nv action clear vrf <vrf-id> router bgp neighbor <neighbor-id> address-family l2vpn-evpn soft out

Clears EVPN outbound routes for a specific BGP peer in the specified VRF without resetting the peer session.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<neighbor-id>The IP address of the BGP peer or the interface if you are using unnumbered BGP.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp neighbor swp51 address-family l2vpn-evpn soft out

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> in

Clears inbound routes for a specific BGP peer group in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES in

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> out

Clears outbound routes for a specific BGP peer group in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES out

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> soft in

Clears inbound routes for a specific BGP peer group in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES soft in

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> soft out

Clears outbound routes for a specific BGP peer group in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES soft out

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family ipv4-unicast in

Clears IPv4 inbound routes for a specific BGP peer group in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family ipv4-unicast in

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family ipv4-unicast out

Clears IPv4 outbound routes for a specific BGP peer group in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family ipv4-unicast out

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family ipv4-unicast soft in

Clears IPv4 inbound routes for a specific BGP peer group in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family ipv4-unicast soft in

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family ipv4-unicast soft out

Clears IPv4 outbound routes for a specific BGP peer group in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family ipv4-unicast soft out

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family ipv6-unicast in

Clears IPv6 inbound routes for a specific BGP peer group in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family ipv6-unicast in

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family ipv6-unicast out

Clears IPv6 outbound routes for a specific BGP peer group in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family ipv6-unicast out

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family ipv6-unicast soft in

Clears IPv6 inbound routes for a specific BGP peer group in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family ipv6-unicast soft in

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family ipv6-unicast soft out

Clears IPv6 outbound routes for a specific BGP peer group in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family ipv6-unicast soft out

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn in

Clears EVPN inbound routes for a specific BGP peer group in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family l2vpn-evpn in

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn out

Clears EVPN outbound routes for a specific BGP peer group in the specified VRF.

This command does not:

  • Clear counters in the kernel or hardware.
  • Reset BGP neighbor adjacencies.
  • Readvertise all routes to BGP peers.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family l2vpn-evpn out

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn soft in

Clears EVPN inbound routes for a specific BGP peer group in the specified VRF.

This command does not clear counters in the kernel or hardware and does not reset BGP neighbor adjacencies.

  • When the switch has a neighbor configured with soft-reconfiguration inbound enabled, this command clears the routes in the soft reconfiguration table for the address family. This results in reevaluating routes in the BGP table against any applied input policies.
  • When the switch has a neighbor configured without the soft-reconfiguration inbound option enabled, this command sends the peer a route refresh message.
  • If you do not specify the direction in, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family l2vpn-evpn soft in

nv action clear vrf <vrf-id> router bgp peer-group <peer-group-id> address-family l2vpn-evpn soft out

Clears EVPN outbound routes for a specific BGP peer group in the specified VRF.

This command:

  • Does not clear counters in the kernel or hardware
  • Does not reset BGP neighbor adjacencies.
  • Does not readvertise all routes to BGP peers.

If you do not specify the direction out, the command affects both inbound and outbound routes depending on whether soft-reconfiguration inbound is enabled.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<peer-group-id>The peer group name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router bgp peer-group SPINES address-family l2vpn-evpn soft out

nv action clear vrf <vrf-id> router ospf interface

Clears all counters for the OSPF interfaces.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router ospf interface

nv action clear vrf <vrf-id> router ospf interface <interface-id>

Clears OSPF neighbor adjacency on the specified interface.

Command Syntax

SyntaxDescription
<vrf-id>The VRF name.
<interface-id>The interface on which you want to clear OSPF neighbor adjacency.

Version History

Introduced in Cumulus Linux 5.5.0

Example

cumulus@switch:~$ nv action clear vrf default router ospf interface swp2

nv action disconnect system aaa user <user>

Disconnects authenticated and authorized users.

Command Syntax

SyntaxDescription
<user>The user you want to disconnect.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv action disconnect system aaa user admin2

nv show action

Shows actions, such as cleared interface counters and routes, removed protodown MLAG bond conflicts, and disconnected system users.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show action

nv show action <action-job-id>

Shows information about the specified action.

Command Syntax

SyntaxDescription
<action-job-id>The action ID.

Version History

Introduced in Cumulus Linux 5.4.0

Example

cumulus@switch:~$ nv show action 3