30 clear ip bgp asn, 31 clear ip bgp external – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 297

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 297 of 855

16.30 clear ip bgp ASN

Use this command to reset a BGP connection for all peers in a specified Autonomous System.

Command Syntax

clear ip bgp ASN (IN|out|SOFT|)
clear ip bgp ASN ipv4 PREFIX ROUTES
clear ip bgp ASN vpnv4 unicast ROUTES
ASN <1-65535>= Specifies the AS Number for which all routes will be cleared
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

Command Mode

Privileged Exec mode

Examples

Switch# clear ip bgp 100
Switch# clear ip bgp 200 ipv4 unicast in prefix-filter
Switch# clear ip bgp 500 vpnv4 unicast in

16.31 clear ip bgp external

Use this command to reset a BGP connection for all external peers.

Command Syntax

clear ip bgp external (IN|out|SOFT|)
clear ip bgp external ipv4 PREFIX ROUTES
external Clears all external peers
ipv4 = clears all IPv4 address family peers
ROUTES = IN|out|soft
IN = in (prefix-filter)
in = Indicates that incoming advertised routes will be cleared

Advertising