30 clear ip bgp asn – CANOGA PERKINS 9175 Command Reference User Manual

Page 264

Advertising
background image

CanogaOS Command Reference

16-19

clear ip bgp ipv4 PREFIX flap-statistics (A.B.C.D|A.B.C.D/M)

A.B.C.D Specifies the IPv4 address for which BGP dampening is to be cleared.

A.B.C.D/M Specifies the IPv4 address with mask for which BGP dampening is to be cleared.

ipv4 = clears all IPv4 address family peers

PREFIX = unicast|multicast

unicast = address family modifier

multicast = address family modifier

Command Mode

Privileged Exec mode

Examples

Switch# clear ip bgp flap-statistics 10.10.0.121

Switch# clear ip bgp ipv4 unicast flap-statistics

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

Advertising