OcNOS-RON-6.3.1 : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : clear bgp <1-4294967295>
clear bgp <1-4294967295>
Use this command to reset a BGP connection for all peers in a specified Autonomous System.
Command Syntax
clear bgp <1-4294967295>
clear bgp <1-4294967295> in
clear bgp <1-4294967295> in prefix-filter
clear bgp <1-4294967295> out
clear bgp <1-4294967295> soft
clear bgp <1-4294967295> soft in
clear bgp <1-4294967295> soft out
clear ip bgp <1-4294967295>
clear ip bgp <1-4294967295> in
clear ip bgp <1-4294967295> in prefix-filter
clear ip bgp <1-4294967295> out
clear ip bgp <1-4294967295> soft
clear ip bgp <1-4294967295> soft in
clear ip bgp <1-4294967295> soft out
clear ip bgp <1-4294967295> ipv4 (unicast|multicast) in
clear ip bgp <1-4294967295> ipv4 (unicast|multicast) in prefix-filter
clear ip bgp <1-4294967295> ipv4 (unicast|multicast) out
clear ip bgp <1-4294967295> ipv4 (unicast|multicast) soft
clear ip bgp <1-4294967295> ipv4 (unicast|multicast) soft in
clear ip bgp <1-4294967295> ipv4 (unicast|multicast) soft out
Parameters
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.
ipv4
Clear incoming advertised routes.
multicast
Multicast prefixes.
unicast
Unicast prefixes.
Clear incoming advertised routes.
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 4294967277
#clear ip bgp 4294967277
Last modified date: 07-13-2023