25 clear bgp peer-group, 26 clear ip bgp – CANOGA PERKINS 9175 Command Reference User Manual
Page 261
![background image](/manuals/651401/261/background.png)
CanogaOS Command Reference
16-16
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.
Command Syntax
clear bgp peer-group WORD (IN|out|SOFT)
clear bgp ipv6 peer-group WORD (IN|out|SOFT)
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
Command Mode
Privileged Exec mode
Examples
Switch# clear bgp peer-group P1 soft in
Switch# clear bgp ipv6 peer-group P2 in
16.26 clear ip bgp *
Use this command to reset a BGP connection for all peers.