23 clear bgp asn, 24 clear bgp external – CANOGA PERKINS 9175 Command Reference User Manual
Page 260
CanogaOS Command Reference
16-15
clear bgp ipv6 (A.B.C.D|X:X::X:X) (IN|out|SOFT)
A.B.C.D Specifies the IPv4 address of the BGP route to be cleared.
X:X::X:X Specifies the IPv6 address of the BGP route to 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 3.3.3.3 soft in prefix-filter
Switch# clear bgp ipv6 2.2.2.2 out
16.23 clear bgp ASN
Use this command to reset the BGP connection for peers in the specified Autonomous System.
Command Syntax
clear bgp ASN (IN|out|SOFT)
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.