24 clear bgp external, 25 clear bgp peer-group – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 293

CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 293 of 855
clear bgp ipv6 ASN (IN|out|SOFT) 
ASN = <1-65535> The AS number for which all routes will be cleared 
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 
 
Command Mode
Privileged Exec mode 
 
Examples
Switch# clear bgp 300 soft in prefix-filter 
Switch# clear bgp ipv6 500 soft out 
Switch# clear bgp 300 soft in 
Switch# clear bgp 1 in prefix-filter 
16.24 clear bgp external
Use this command to reset the BGP connection for all external peers.
Command Syntax
clear bgp external (IN|out|SOFT) 
clear bgp ipv6 external (IN|out|SOFT) 
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 
Command Mode
Privileged Exec mode
Examples
Switch# clear bgp external soft in 
Switch# clear bgp external in prefix-filter 
Switch# clear bgp ipv6 external in prefix-filter 
16.25 clear bgp peer-group
Use this command to reset the BGP connection for all members of a peer group.
