BGP Commands
©2008 Allied Telesis Inc. All rights reserved.
31.30
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
clear bgp external
Use this command to reset the BGP connection for all external peers.
Syntax
clear bgp external [<
in
>|out|<
soft
>]
Mode
Privileged Exec mode
Examples
clear bgp peer-group
Use this command to reset the BGP connection for all members of a peer group.
Syntax
clear bgp peer-group WORD [<
in
>|out|<
soft
>]
Mode
Privileged Exec mode
Examples
Parameter
Description
external
clears all external peers
<in>
in
[
prefix-filter
]
in
Indicates that incoming advertised routes will be cleared.
prefix-filters
Pushes out prefix-list ORF and does inbound soft reconfiguration.
out
Indicates that outgoing advertised routes will be cleared
<soft>
soft
[
in|out
]
Indicates that both incoming and outgoing routes will
be cleared.
awplus#
clear bgp external soft in
awplus#
clear bgp external in prefix-filter
Parameter
Description
peer-group
clears all members of a peer group
<in>
in
[
prefix-filter
]
in
Indicates that incoming advertised routes will be cleared.
prefix-filters
Pushes out prefix-list ORF and does inbound soft reconfiguration.
out
indicates that outgoing advertised routes will be cleared
<soft>
soft
[
in|out
]
Indicates that both incoming and outgoing routes will be
cleared.
awplus#
clear bgp peer-group P1 soft in
awplus#
clear bgp ipv6 peer-group P2 in