3.2.3. flush

flush bgp

Note

requires a Product License.

vsr> flush bgp [vrf <string>] [l3vrf <string>] ipv4 unicast [as AS] [all] [neighbor NEIGHBOR] \
...            [unnumbered-neighbor UNNUMBERED-NEIGHBOR] [external] [neighbor-group <string>] \
...            [soft SOFT] multicast [as AS] [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] labeled-unicast \
...            [as AS] [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] flowspec [as AS] \
...            [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] vpn [as AS] \
...            [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] ipv6 unicast \
...            [as AS] [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] multicast [as AS] \
...            [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] labeled-unicast \
...            [as AS] [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] flowspec [as AS] \
...            [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] vpn [as AS] \
...            [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] l2vpn evpn [as AS] \
...            [all] [neighbor NEIGHBOR] [unnumbered-neighbor UNNUMBERED-NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT]

Flush BGP information.

Input Parameters

vrf <string>

Specify the VRF.

l3vrf <string>

Specify the L3VRF.

ipv4

Flush information about BGP IPv4.

unicast

Flush information for unicast address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

multicast

Flush information for multicast address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

labeled-unicast

Flush information for labeled unicast address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

flowspec

Flush information for flowspec address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

vpn

Flush information for VPN address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

ipv6

Flush information about BGP IPv6.

unicast

Flush information for unicast address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

multicast

Flush information for multicast address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

labeled-unicast

Flush information for labeled unicast address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

flowspec

Flush information for flowspec address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

vpn

Flush information for VPN address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

l2vpn

Flush information about BGP L2VPN.

evpn

Flush information for evpn address family.

as AS

Flush neighbors with the AS number.

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

all

Flush all neighbors.

neighbor NEIGHBOR

BGP neighbor address to flush.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

unnumbered-neighbor UNNUMBERED-NEIGHBOR

BGP unnumbered neighbor to flush.

UNNUMBERED-NEIGHBOR

An interface name.

external

Flush all external neighbors.

neighbor-group <string>

Flush all members of the neighbor group.

soft SOFT

Soft reconfigure inbound and/or outbound updates.

SOFT values

Description

in

Send route-refresh unless using ‘soft-reconfiguration inbound’.

out

Resend all outbound updates.

both

Soft reconfigure inbound and outbound updates.

flush isis

Note

requires a Product License.

vsr> flush isis [vrf <string>] [l3vrf <string>] neighbor <string>

Flush IS-IS information.

Input Parameters

vrf <string>

Specify the VRF.

l3vrf <string>

Specify the L3VRF.

neighbor <string> (mandatory)

The IS-IS neighbor adjacencies system id.

flush ospf

Note

requires a Product License.

vsr> flush ospf [vrf <string>] [l3vrf <string>] interface <ifname>

Flush OSPF information.

Input Parameters

vrf <string>

Specify the VRF.

l3vrf <string>

Specify the L3VRF.

interface <ifname> (mandatory)

The name of the network interface to be cleared.

flush ospf6

Note

requires a Product License.

vsr> flush ospf6 interface <ifname>

Flush OSPFv3 information.

Input Parameters

interface <ifname> (mandatory)

The name of the network interface to be cleared.

flush nhrp

Note

requires a Product License.

vsr> flush nhrp [vrf <string>] [cache] [shortcut]

Flush NHRP information.

Input Parameters

vrf <string>

Specify the VRF.

cache

NHRP dynamic cache entries.

shortcut

NHRP shortcut entries.

flush nhrp6

Note

requires a Product License.

vsr> flush nhrp6 [vrf <string>] [cache] [shortcut]

Flush NHRP information.

Input Parameters

vrf <string>

Specify the VRF.

cache

NHRP dynamic cache entries.

shortcut

NHRP shortcut entries.

flush pim

Note

requires a Product License.

vsr> flush pim [vrf <string>] [bsr-data] [interface-traffic] [interfaces] [oil] \
...            [statistics]

Flush PIM information.

Input Parameters

vrf <string>

Specify the VRF.

bsr-data

Reset PIM BSR data.

interface-traffic

Reset protocol packet counters.

interfaces

Reset PIM interfaces.

oil

Rescan PIM OIL (output interface list).

statistics

Reset statistics.

flush ike ike-sa

Note

requires a IPsec Application License.

vsr> flush ike ike-sa [vrf VRF] [vpn <string>] [unique-id <string>]

Flush IKE SA.

Input Parameters

vrf VRF

Flush objects in selected netns only.

VRF values

Description

main

The main vrf.

<string>

The vrf name.

vpn <string>

Flush SA for selected VPN.

unique-id <string>

Flush SA with this unique id.

flush ike child-sa

Note

requires a IPsec Application License.

vsr> flush ike child-sa [vrf VRF] [name <string>] [unique-id <string>]

Flush child SA.

Input Parameters

vrf VRF

Flush objects in selected netns only.

VRF values

Description

main

The main vrf.

<string>

The vrf name.

name <string>

Flush SA with this name.

unique-id <string>

Flush SA with this unique id.

flush cg-nat statistics

Note

requires a CG-NAT Application License.

vsr> flush cg-nat statistics 

Reset statistics.

flush cg-nat user

Note

requires a CG-NAT Application License.

vsr> flush cg-nat user [vrf <string>] rule-id <uint16> [user-address USER-ADDRESS]

Flush one of all users of a CG-NAT rule.

Input Parameters

vrf <string>

VRF.

rule-id <uint16> (mandatory)

Rule id.

user-address USER-ADDRESS

User IP address.

USER-ADDRESS values

Description

<ip-address>

An IPv4 address.

<ip-address>

An IPv6 address.

flush cg-nat user-statistics

Note

requires a CG-NAT Application License.

vsr> flush cg-nat user-statistics [vrf <string>] rule-id <uint16> [user-address USER-ADDRESS] [threshold-errors <uint32>] \
...            [usage-min <1-100>]

Flush statistics of one or all users of a CG-NAT rule.

Input Parameters

vrf <string>

VRF.

rule-id <uint16> (mandatory)

Rule id.

user-address USER-ADDRESS

User IP address.

USER-ADDRESS values

Description

<ip-address>

An IPv4 address.

<ip-address>

An IPv6 address.

threshold-errors <uint32>

Users having more errors than a given threshold.

usage-min <1-100>

Users usage by at least the given rate.

flush fast-path statistics

Note

requires a Product License.

vsr> flush fast-path statistics 

Flush fast-path statistics.

flush fast-path conntrack

vsr> flush fast-path conntrack [vrf <string>] origin [source SOURCE] [destination DESTINATION] \
...            tcp [source-port <uint16>] [destination-port <uint16>] udp [source-port <uint16>] \
...            [destination-port <uint16>] icmp [icmp-id <uint16>] icmpv6 [icmp-id <uint16>] \
...            gre [key <uint32>] [direction DIRECTION] [interface INTERFACE] \
...            [userid <uint32>] [name <string>] reply [source SOURCE] [destination DESTINATION] \
...            tcp [source-port <uint16>] [destination-port <uint16>] udp [source-port <uint16>] \
...            [destination-port <uint16>] icmp [icmp-id <uint16>] icmpv6 [icmp-id <uint16>] \
...            gre [key <uint32>] [direction DIRECTION] [interface INTERFACE] \
...            [userid <uint32>] [name <string>]

Flush fast-path conntracks.

Input Parameters

vrf <string>

Set the VRF.

origin

Filter only on origin conntracks.

source SOURCE

Filter conntracks with this source address.

SOURCE values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

destination DESTINATION

Filter conntracks with this destination address.

DESTINATION values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

tcp

Filter on TCP protocol.

source-port <uint16>

Filter on the source port.

destination-port <uint16>

Filter on the destination port.

udp

Filter on UDP protocol.

source-port <uint16>

Filter on the source port.

destination-port <uint16>

Filter on the destination port.

icmp

Filter on ICMP protocol.

icmp-id <uint16>

Filter on ICMP id.

icmpv6

Filter on ICMPv6 protocol.

icmp-id <uint16>

Filter on ICMPv6 id.

gre

Filter on GRE protocol.

key <uint32>

Filter on GRE key.

direction DIRECTION

Specify filtered direction for interface, rule userid and rule name.

DIRECTION values

Description

ingress

Filter on ingress rule or interface.

egress

Filter on egress rule or interface.

interface INTERFACE

Filter on conntrack interface, according to direction if specified.

INTERFACE

An interface name.

userid <uint32>

Filter on rule userid, according to direction if specified.

name <string>

Filter on rule name, according to direction if specified.

reply

Filter only on reply conntracks.

source SOURCE

Filter conntracks with this source address.

SOURCE values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

destination DESTINATION

Filter conntracks with this destination address.

DESTINATION values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

tcp

Filter on TCP protocol.

source-port <uint16>

Filter on the source port.

destination-port <uint16>

Filter on the destination port.

udp

Filter on UDP protocol.

source-port <uint16>

Filter on the source port.

destination-port <uint16>

Filter on the destination port.

icmp

Filter on ICMP protocol.

icmp-id <uint16>

Filter on ICMP id.

icmpv6

Filter on ICMPv6 protocol.

icmp-id <uint16>

Filter on ICMPv6 id.

gre

Filter on GRE protocol.

key <uint32>

Filter on GRE key.

direction DIRECTION

Specify filtered direction for interface, rule userid and rule name.

DIRECTION values

Description

ingress

Filter on ingress rule or interface.

egress

Filter on egress rule or interface.

interface INTERFACE

Filter on conntrack interface, according to direction if specified.

INTERFACE

An interface name.

userid <uint32>

Filter on rule userid, according to direction if specified.

name <string>

Filter on rule name, according to direction if specified.

flush vxlan fdb

vsr> flush vxlan fdb [vrf <string>] name NAME [link-layer-address LINK-LAYER-ADDRESS] \
...            [neighbor NEIGHBOR] [link-interface LINK-INTERFACE] [port PORT] \
...            [vni VNI]

Flush VXLAN FDB entries.

Input Parameters

vrf <string>

VRF to look into.

name NAME (mandatory)

Show FDB per interface.

NAME

An interface name.

link-layer-address LINK-LAYER-ADDRESS

The link-layer address of the FDB entry.

LINK-LAYER-ADDRESS

An IEEE 802 MAC address.

neighbor NEIGHBOR

The IP address of the destination VXLAN tunnel endpoint where the Ethernet MAC ADDRESS resides.

NEIGHBOR values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

link-interface LINK-INTERFACE

The outgoing interface for the VXLAN device driver to reach the remote VXLAN tunnel endpoint.

LINK-INTERFACE

An interface name.

port PORT

The UDP destination PORT number used to connect to the remote VXLAN tunnel endpoint.

PORT

A 16-bit port number used by a transport protocol such as TCP or UDP.

vni VNI

The VXLAN VNI Network Identifier (or VXLAN Segment ID) used to connect to the remote VXLAN tunnel endpoint.

VNI

Type definition representing VXLAN Segment ID / VXLAN Network Identifier value.

flush bridge fdb

vsr> flush bridge fdb [vrf <string>] name NAME [link-interface LINK-INTERFACE] [link-layer-address LINK-LAYER-ADDRESS]

Flush bridge FDB entries.

Input Parameters

vrf <string>

The VRF to look into.

name NAME (mandatory)

The name of the interface for which the FDB will be removed.

NAME

An interface name.

link-interface LINK-INTERFACE

The link interface of the FDB entry to remove.

LINK-INTERFACE

An interface name.

link-layer-address LINK-LAYER-ADDRESS

The link-layer address of the FDB entry to remove.

LINK-LAYER-ADDRESS

An IEEE 802 MAC address.

flush alarm

vsr> flush alarm alarm-clearance-status ALARM-CLEARANCE-STATUS older-than [seconds <uint16>] \
...            [minutes <uint16>] [hours <uint16>] [days <uint16>] [weeks <uint16>] \
...            severity [below BELOW] [is IS] [above ABOVE]

This operation requests that the server delete entries from the alarm list according to the supplied criteria. Typically, this operation is used to delete alarms that are in closed operator state and older than a specified time. The number of purged alarms is returned as an output parameter.

Input Parameters

alarm-clearance-status ALARM-CLEARANCE-STATUS (mandatory)

The clearance status of the alarm.

ALARM-CLEARANCE-STATUS values

Description

any

Ignore alarm-clearance status.

cleared

Filter cleared alarms.

not-cleared

Filter not-cleared alarms.

older-than

Matches the ‘last-status-change’ leaf in the alarm.

seconds <uint16>

Age expressed in seconds.

minutes <uint16>

Age expressed in minutes.

hours <uint16>

Age expressed in hours.

days <uint16>

Age expressed in days.

weeks <uint16>

Age expressed in weeks.

severity

Filter based on severity.

below BELOW

Severity less than this leaf.

BELOW values

Description

indeterminate

Indicates that the severity level could not be determined. This level SHOULD be avoided.

warning

The ‘warning’ severity level indicates the detection of a potential or impending service-affecting fault, before any significant effects have been felt. Action should be taken to further diagnose (if necessary) and correct the problem in order to prevent it from becoming a more serious service-affecting fault.

minor

The ‘minor’ severity level indicates the existence of a non-service-affecting fault condition and that corrective action should be taken in order to prevent a more serious (for example, service-affecting) fault. Such a severity can be reported, for example, when the detected alarm condition is not currently degrading the capacity of the resource.

major

The ‘major’ severity level indicates that a service- affecting condition has developed and an urgent corrective action is required. Such a severity can be reported, for example, when there is a severe degradation in the capability of the resource and its full capability must be restored.

critical

The ‘critical’ severity level indicates that a service- affecting condition has occurred and an immediate corrective action is required. Such a severity can be reported, for example, when a resource becomes totally out of service and its capability must be restored.

is IS

Severity level equal to this leaf.

IS values

Description

indeterminate

Indicates that the severity level could not be determined. This level SHOULD be avoided.

warning

The ‘warning’ severity level indicates the detection of a potential or impending service-affecting fault, before any significant effects have been felt. Action should be taken to further diagnose (if necessary) and correct the problem in order to prevent it from becoming a more serious service-affecting fault.

minor

The ‘minor’ severity level indicates the existence of a non-service-affecting fault condition and that corrective action should be taken in order to prevent a more serious (for example, service-affecting) fault. Such a severity can be reported, for example, when the detected alarm condition is not currently degrading the capacity of the resource.

major

The ‘major’ severity level indicates that a service- affecting condition has developed and an urgent corrective action is required. Such a severity can be reported, for example, when there is a severe degradation in the capability of the resource and its full capability must be restored.

critical

The ‘critical’ severity level indicates that a service- affecting condition has occurred and an immediate corrective action is required. Such a severity can be reported, for example, when a resource becomes totally out of service and its capability must be restored.

above ABOVE

Severity level higher than this leaf.

ABOVE values

Description

indeterminate

Indicates that the severity level could not be determined. This level SHOULD be avoided.

warning

The ‘warning’ severity level indicates the detection of a potential or impending service-affecting fault, before any significant effects have been felt. Action should be taken to further diagnose (if necessary) and correct the problem in order to prevent it from becoming a more serious service-affecting fault.

minor

The ‘minor’ severity level indicates the existence of a non-service-affecting fault condition and that corrective action should be taken in order to prevent a more serious (for example, service-affecting) fault. Such a severity can be reported, for example, when the detected alarm condition is not currently degrading the capacity of the resource.

major

The ‘major’ severity level indicates that a service- affecting condition has developed and an urgent corrective action is required. Such a severity can be reported, for example, when there is a severe degradation in the capability of the resource and its full capability must be restored.

critical

The ‘critical’ severity level indicates that a service- affecting condition has occurred and an immediate corrective action is required. Such a severity can be reported, for example, when a resource becomes totally out of service and its capability must be restored.

Output Data

purged-alarms <uint32>

Number of purged alarms.

flush qos statistics

Note

requires a Product License.

vsr> flush qos statistics [type TYPE]

Flush QoS statistics.

Input Parameters

type TYPE

QoS type used to identify which statistics to flush.

TYPE values

Description

scheduler

Scheduler statistics.

filtering

Filtering statistics.

classification

Classification statistics.

meter

Meter statistics.

flush conntracks

vsr> flush conntracks [vrf <string>]

Flush conntracks.

Input Parameters

vrf <string>

The VRF in which to flush the conntracks.

flush certificate cmp scheduled-update

vsr> flush certificate cmp scheduled-update name NAME

Stop certificate scheduled updates via CMP.

Input Parameters

name NAME (mandatory)

The name of the certificate.

NAME

Certificate name.

flush dhcp-server lease

Note

requires a Product License.

vsr> flush dhcp-server lease [vrf VRF] [l3vrf L3VRF] [interface INTERFACE] [ip-address IP-ADDRESS]

Flush DHCP server lease(s), this command restarts the associated DHCP service.

Input Parameters

vrf VRF

Specify the VRF.

VRF values

Description

main

The main vrf.

<string>

The vrf name.

l3vrf L3VRF

Specify the l3vrf.

L3VRF

The l3vrf name.

interface INTERFACE

Specify the interface.

INTERFACE

An interface name.

ip-address IP-ADDRESS

Specify the ip address (ipv4 or ipv6).

IP-ADDRESS values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

flush neighbors

Note

requires a Product License.

vsr> flush neighbors [FAMILY] [vrf VRF]

Flush the neighbors.

Input Parameters

FAMILY

Specify the neighbors protocol family.

FAMILY values

Description

ipv4

IPv4 (ARP).

ipv6

IPv6 (NDP).

vrf VRF

The VRF in which to flush the neighbors.

VRF values

Description

main

The main vrf.

<string>

The vrf name.