26 clear ip bgp – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 294
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 294 of 855
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.
Command Syntax
clear ip bgp * (IN|out|SOFT|)
clear ip bgp * ipv4 PREFIX ROUTES
clear ip bgp * vpnv4 unicast ROUTES
clear ip bgp * vrf
* = clears all bgp peers
ipv4 = clears all IPv4 address family peers
vpnv4 = clears all VPNv4 address family peers
ROUTES = IN|out|soft
IN = in (prefix-filter)
in = Indicates that incoming advertised routes will be cleared
prefix-filter = 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
PREFIX = unicast|multicast
unicast = address family modifier
multicast = address family modifier
vrf VPN routing/forwarding instance
Command Mode