C613-50631-01 Rev A Command Reference for IE340 Series 1372
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
CLEAR
IP BGP (ASN) (BGP ONLY)
clear ip bgp (ASN) (BGP only)
Overview Use this command to reset the BGP connections to all peers in a specified
Autonomous System Number (ASN).
Syntax
clear ip bgp <asn> [in [prefix-filter]|out|soft [in|out]]
clear ip bgp <asn> ipv4
clear ip bgp <asn> ipv4 in [prefix-filter]
clear ip bgp <asn> ipv4 out
clear ip bgp <asn> ipv4 soft [in|out]
Mode Privileged Exec
Examples
awplus# clear ip bgp 100
Command
changes
Added to AlliedWare Plus prior to 5.4.6-1
Version 5.4.7-2.1: BGP support added for x510 and x550 series
Version 5.4.7-2.4: BGP support added for IE300 series
Parameter Description
<asn> <1-4294967295>
Specifies the ASN for which all routes will be cleared.
ipv4 Clears all IPv4 address family peers. Configure parameters
relating to the BGP exchange of IPv4 prefixes.
in Indicates that incoming advertised routes will be cleared.
prefix-filter Specifies that a prefix-list will be sent, by the ORF mechanism, to
those neighbors with which the ORF capability has been
negotiated. The neighbors will be triggered to resend updates,
which match the prefix-list filter, to the local router. The local
router will then perform a soft reconfiguration.
out Indicates that outgoing advertised routes will be cleared.
soft in Soft inbound reset causes the neighbors to resend all their
updates to the local device, without resetting the connection or
clearing the entries in the local device. So, the local device stores
new updates, and uses them to systematically replace existing
table entries. This process can use a considerable amount of
memory.
soft out Soft outbound reset causes the device to simply resend all its
updates to the specified neighbor(s), without resetting the
connection, or clearing table entries.