C613-50631-01 Rev A Command Reference for IE340 Series 1357
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
CLEAR
BGP (IPV4 OR IPV6 ADDRESS)
clear bgp (IPv4 or IPv6 address)
Overview Use this command to reset the BGP and BGP4+ connections for specified peers.
Syntax [BGP]
clear bgp <ip-addr>
clear bgp <ip-addr> in [prefix-filter]
clear bgp <ip-addr> out
clear bgp <ip-addr> soft [in|out]
Syntax [BGP4+] clear bgp <ipv6-addr>
clear bgp <ipv6-addr> in [prefix-filter]
clear bgp <ipv6-addr> out
clear bgp <ipv6-addr> soft [in|out]
Mode Privileged Exec
Examples [BGP]
awplus# clear bgp 3.3.3.3 soft in prefix-filter
awplus# clear bgp 2.2.2.2 out
Examples
[BGP4+]
awplus# clear bgp 2001:0db8:010d::1 soft in prefix-filter
awplus# clear bgp 2001:0db8:010d::1 out
Parameter Description
<ip-addr> Specifies the IPv4 address of the neighbor whose connection is to
be reset, entered in the form A.B.C.D.
<ipv6-addr> Specifies the IPv6 address of the neighbor whose connection is to
be reset, entered in hexadecimal in the format X:X::X:X.
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.