2.3. flush¶
2.3.1. 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.
ipv4Flush information about BGP IPv4.
unicastFlush information for unicast address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
multicastFlush information for multicast address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
labeled-unicastFlush information for labeled unicast address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
flowspecFlush information for flowspec address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
vpnFlush information for VPN address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
ipv6Flush information about BGP IPv6.
unicastFlush information for unicast address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
multicastFlush information for multicast address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
labeled-unicastFlush information for labeled unicast address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
flowspecFlush information for flowspec address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
vpnFlush information for VPN address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
l2vpnFlush information about BGP L2VPN.
evpnFlush information for evpn address family.
as ASFlush 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).
allFlush all neighbors.
neighbor NEIGHBORBGP neighbor address to flush.
NEIGHBOR
An IPv4 or IPv6 address.
unnumbered-neighbor UNNUMBERED-NEIGHBORBGP unnumbered neighbor to flush.
UNNUMBERED-NEIGHBOR
An interface name.
externalFlush all external neighbors.
neighbor-group <string>Flush all members of the neighbor group.
soft SOFTSoft reconfigure inbound and/or outbound updates.
SOFTvaluesDescription
in
Send route-refresh unless using ‘soft-reconfiguration inbound’.
out
Resend all outbound updates.
both
Soft reconfigure inbound and outbound updates.
2.3.2. 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.
2.3.3. 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.
2.3.4. 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.
2.3.5. flush nhrp¶
Note
requires a Product License.
vsr> flush nhrp [vrf <string>] [cache] [shortcut]
Flush NHRP information.
Input Parameters¶
vrf <string>Specify the VRF.
cacheNHRP dynamic cache entries.
shortcutNHRP shortcut entries.
2.3.6. flush nhrp6¶
Note
requires a Product License.
vsr> flush nhrp6 [vrf <string>] [cache] [shortcut]
Flush NHRP information.
Input Parameters¶
vrf <string>Specify the VRF.
cacheNHRP dynamic cache entries.
shortcutNHRP shortcut entries.
2.3.7. 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 VRFFlush objects in selected netns only.
VRF
The vrf name.
vpn <string>Flush SA for selected VPN.
unique-id <string>Flush SA with this unique id.
2.3.8. 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 VRFFlush objects in selected netns only.
VRF
The vrf name.
name <string>Flush SA with this name.
unique-id <string>Flush SA with this unique id.
2.3.9. flush fast-path statistics¶
Note
requires a Product License.
vsr> flush fast-path statistics
Flush fast-path statistics.
2.3.10. 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-ADDRESSThe link-layer address of the FDB entry.
LINK-LAYER-ADDRESS
An IEEE 802 MAC address.
neighbor NEIGHBORThe IP address of the destination VXLAN tunnel endpoint where the Ethernet MAC ADDRESS resides.
NEIGHBOR
An IPv4 or IPv6 address.
link-interface LINK-INTERFACEThe outgoing interface for the VXLAN device driver to reach the remote VXLAN tunnel endpoint.
LINK-INTERFACE
An interface name.
port PORTThe 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 VNIThe 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.
2.3.11. 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-INTERFACEThe link interface of the FDB entry to remove.
LINK-INTERFACE
An interface name.
link-layer-address LINK-LAYER-ADDRESSThe link-layer address of the FDB entry to remove.
LINK-LAYER-ADDRESS
An IEEE 802 MAC address.