Clear Ip Bgp - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Chapter
Unicast Routing Commands

clear ip bgp

To clear Border Gateway Protocol (BGP) routes from the BGP table, use the clear ip bgp command.
Syntax Description
ipv4
unicast
multicast
all
neighbor
*
as-number
peer-template name
prefix
vrf vrf-name
all
default
management
Command Default
None
Command Modes
Any command mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
This command requires the LAN Enterprise Services license.
Examples
This example shows how to clear all BGP entries for the IPv4 address family:
switch# clear ip bgp *
OL-27852-01
clear ip bgp {ipv4 {unicast | multicast} | all} {neighbor | * | as-number | peer-template name |
prefix} [vrf vrf-name | all | default | management]
Modification
This command was introduced.
(Optional) Clears BGP information for the IPv4 address family.
Clears BGP information for the unicast address family.
Clears BGP information for the multicast address family.
Clears the BGP information for all address families.
Network address. The format is A.B.C.D for IPv4.
Clears all BGP routes.
Autonomous system (AS) number. The range is from 1 to 65535.
Specifies a BGP peer template. The name can be any case-sensitive,
alphanumeric string up to 63 characters.
Prefix from the selected address family. The format is
A.B.C.D/length for IPv4.
(Optional) Specifies a particular VPN routing and forwarding (VRF)
instance. The VRF name can be any case-sensitive, alphanumeric
string up to 32 characters.
(Optional) Clears the BGP information from all VRF entries.
(Optional) Clears the BGP information from the default VRF.
(Optional) Clears the BGP information from the management VRF.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
clear ip bgp
71

Advertisement

Table of Contents
loading

Table of Contents