clear bgp *
Use this command to reset the BGP connection for all peers.
Command Syntax
clear bgp *
clear bgp * in
clear bgp * in prefix-filter
clear bgp * out
clear bgp * soft
clear bgp * soft in
clear bgp * soft out
clear ip bgp *
clear ip bgp * in
clear ip bgp * in prefix-filter
clear ip bgp * out
clear ip bgp * soft
clear ip bgp * soft in
clear ip bgp * soft out
clear ip bgp * ipv4 (unicast|multicast) in
clear ip bgp * ipv4 (unicast|multicast) in prefix-filter
clear ip bgp * ipv4 (unicast|multicast) out
clear ip bgp * ipv4 (unicast|multicast) soft
clear ip bgp * ipv4 (unicast|multicast) soft in
clear ip bgp * ipv4 (unicast|multicast) soft out
Parameters
in
Incoming advertised routes should be cleared.
prefix-filter
Push out prefix-list ORF and do inbound soft reconfig.
out
Clear outgoing advertised routes.
soft
Clear both incoming and outgoing routes.
in
Soft reconfig inbound update.
out
Soft reconfig outbound update.
ipv4
Clear incoming advertised routes.
multicast
Multicast prefixes.
unicast
Unicast prefixes.
in
Clear incoming advertised routes.
prefix-filter
Push out prefix-list ORF and do inbound soft reconfig.
out
Clear outgoing advertised routes.
soft
Clear both incoming and outgoing routes.
in
Soft reconfig inbound update.
out
Soft reconfig outbound update.
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#clear bgp *
#clear ip bgp * ipv4 unicast in prefix-filter
Last modified date: 10/16/2023