394
Parameters
vpn-instance
vpn-instance-name
: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. If no VPN instance is specified, this command clears the flap statistics of the BGP
IPv4 unicast routes for the public network.
network-address
: Specifies a destination network address.
mask
: Specifies a network mask, in dotted decimal notation.
mask-length
: Specifies a mask length in the range of 0 to 32.
as-path-acl
as-path-acl-number
: Specifies an AS path list by its number in the range of 1 to 256, to filter
BGP IPv4 unicast route flap statistics.
peer
peer-address
: Clears flap statistics of BGP IPv4 unicast routes learned from the specified BGP peer.
Usage guidelines
When you execute the
reset bgp flap-info ipv4 unicast
command:
•
If the
network-address
,
mask
, and
mask-length
arguments are not specified, the command clears the
flap statistics of all BGP IPv4 unicast routes for the public network or the specified VPN.
•
If only the
network-address
argument is specified, the system ANDs the network address with the
mask of a route. If the result matches the network address of the route, the command clears the flap
statistics of the route.
•
If the
network-address mask
or
network-address mask-length
argument is specified, the command
clears the flap statistics of the BGP IPv4 unicast route that matches both the specified destination
network address and the mask (or mask length).
The command with the
unicast
keyword has the same effect as that without the
unicast
keyword.
Examples
# Clear the flap statistics of BGP IPv4 unicast route 20.1.0.0/16 for the public network.
<Sysname> reset bgp flap-info ipv4 20.1.0.0 16
# Clear the flap statistics for the public network BGP IPv4 unicast routes learned from peer 1.1.1.1.
<Sysname> reset bgp flap-info ipv4 peer 1.1.1.1
Related commands
•
dampening
•
display bgp routing-table flap-info ipv4 unicast
reset bgp flap-info ipv6 unicast
Use
reset bgp flap-info ipv6 unicast
to clear the flap statistics of BGP IPv6 unicast routes.
Syntax
reset bgp flap-info ipv6
[
unicast
] [
vpn-instance
vpn-instance-name
] [
network-address prefix-length
|
as-path-acl
as-path-acl-number
|
peer
ipv6-address
]
Views
User view
Predefined user roles
network-admin