Clear Bgp - Cisco Nexus 3548 Command Reference Manual

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

Advertisement

clear bgp

clear bgp
To clear Border Gateway Protocol (BGP) routes from the BGP table, use the clear bgp command.
Syntax Description
ipv4
multicast
unicast
all
neighbor
*
as-number
peer-template name
prefix
vrf vrf-name
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:
switch# clear bgp all *
Related Commands
Command
show bgp
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
56
clear bgp {ipv4 {multicast | unicast} | all} {neighbor | * | as-number | peer-template name |
prefix} [vrf vrf-name]
Modification
This command was introduced.
Description
Displays BGP routes.
Clears the BGP information for the IPv4 address family.
Clears BGP information for the multicast address family.
Clears BGP information for the unicast address family.
Clears the BGP information for all address families.
Network address. The format is A.B.C.D for IPv4.
Clears all neighbors.
Autonomous system 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 virtual routing and forwarding
(VRF) context name or all VRF instances. The VRF name can be any
case-sensitive, alphanumeric string up to 32 characters.
Chapter
Unicast Routing Commands
OL-27852-01

Advertisement

Table of Contents
loading

Table of Contents