Administrator Guide

Layer 3 Routing Commands 1253
Command Mode
BGP Router Configuration mode
User Guidelines
The BGP router ID must be a valid IPv4 unicast address, but is not required
to be an address assigned to the router. The router ID is specified in the
dotted notation of an IPv4 address. Changing the router ID disables and re-
enables BGP, causing all adjacencies to be re-established.
BGP is enabled by default once the administrator has specified the local AS
number with the router bgp command and configured a router ID with the
bgp router-id command.
BGP is not operable until a BGP router ID has been assigned. The BGP
administrative state (as set by the enable command) has no operational effect
until a router id is assigned to the BGP router.
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(config-router)#bgp router-id 10.27.21.142
clear ip bgp
Use the clear ip bgp command to reset peering sessions with all of a subnet of
BGP peers. The command arguments specify which peering sessions are reset
and the type of reset performed.
Syntax
clear ip bgp [vrf
vrf-name
]{* |
as-number
|
ipv4-address
|
ipv6-address
[
interface
interface-id
] {listen range
network/length
}} [soft [in | out]]
vrf-name
—This optional parameter identifies the VRF for which to reset
peering sessions. If not given, the default sessions are reset.
*
— Reset adjacency with every BGP peer.
as-number
— Only reset adjacencies with BGP peers in the given
autonomous system.
2CSNXXX_SWUM204.book Page 1253 Monday, January 25, 2016 1:25 PM