
C613-50186-01 Rev B
Command Reference for AR2050V
1449
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
VRF-
LITE
C
OMMANDS
CLEAR
IP
BGP
(IP
V
4) (BGP
ONLY
)
clear ip bgp (IPv4) (BGP only)
Overview
Use this command to reset the IPv4 BGP connection to the peer specified by the IP
address. When VRF-lite is configured, you can apply this command to a specific VRF
instance.
Syntax [BGP]
clear ip bgp
<ipv4-addr>
[in [prefix-filter]|out|soft [in|out]]
Syntax (VRF-lite)
clear ip bgp
<ipv4-address>
[vrf <
vrf-name
>] [in|out|soft
[in|out]]
Mode [BGP]
Privileged Exec
Examples [BGP]
To clear the BGP connection to peer at IPv4 address 192.168.1.1 and clear all
incoming routes, use the following command:
awplus#
clear ip bgp 192.168.1.1 in
To apply the above example to clear the BGP connection to the peer at IP address
192.0.2.11 for the VRF instance blue, use the following commands:
awplus#
clear ip bgp 192.0.2.11 vrf blue in
Command
changes
Version 5.4.6-2.1: VRF-lite support added.
Parameter
Description
<ipv4-addr>
Specifies the IPv4 address of the neighbor whose connection is to
be reset, entered in the form A.B.C.D.
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 switch, without resetting the connection or
clearing the entries in the local switch. So, the local switch 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 switch to simply resend all its
updates to the specified neighbor(s), without resetting the
connection, or clearing table entries.
vrf
Applies the command to the specified VRF instance.
<vrf-name
>
The name of the VRF instance.