3.2.3. flush

flush bgp

vrouter> flush bgp [vrf <string>] ipv4 unicast [as AS] [all] [neighbor NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] multicast [as AS] \
...            [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] \
...            [soft SOFT] labeled-unicast [as AS] [all] [neighbor NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] flowspec [as AS] \
...            [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] \
...            [soft SOFT] vpn [as AS] [all] [neighbor NEIGHBOR] [external] \
...            [neighbor-group <string>] [soft SOFT] ipv6 unicast [as AS] [all] \
...            [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT] \
...            multicast [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] \
...            [soft SOFT] labeled-unicast [as AS] [all] [neighbor NEIGHBOR] \
...            [external] [neighbor-group <string>] [soft SOFT] flowspec [as AS] \
...            [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] \
...            [soft SOFT] vpn [as AS] [all] [neighbor NEIGHBOR] [external] \
...            [neighbor-group <string>] [soft SOFT]

Flush BGP information.

Input Parameters

vrf <string>

Specify the VRF.

ipv4 unicast [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT] multicast [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT] labeled-unicast [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT] flowspec [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT] vpn [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information about BGP IPv4.

unicast [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for unicast address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for multicast address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for labeled unicast address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for flowspec address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for VPN address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 unicast [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT] multicast [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT] labeled-unicast [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT] flowspec [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT] vpn [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information about BGP IPv6.

unicast [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for unicast address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for multicast address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for labeled unicast address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for flowspec address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 [as AS] [all] [neighbor NEIGHBOR] [external] [neighbor-group <string>] [soft SOFT]

Flush information for VPN address family.

as AS

Flush neighbors with the AS number.

AS

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

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

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 ospf

vrouter> flush ospf [vrf <string>] interface <ifname>

Flush OSPF information.

Input Parameters

vrf <string>

Specify the VRF.

interface <ifname> (mandatory)

The name of the network interface to be cleared.

flush ospf6

vrouter> flush ospf6 interface <ifname>

Flush OSPFv3 information.

Input Parameters

interface <ifname> (mandatory)

The name of the network interface to be cleared.

flush ike ike-sa

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

Flush IKE SA.

Input Parameters

vrf <string>

Flush objects in selected netns only.

vpn <string>

Flush SA for selected VPN.

unique-id <string>

Flush SA with this unique id.

flush ike child-sa

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

Flush child SA.

Input Parameters

vrf <string>

Flush objects in selected netns only.

name <string>

Flush SA with this name.

unique-id <string>

Flush SA with this unique id.