Reference Guide

Parameters
IPv4–address — Enter an IPv4 address to clear a BGP neighbor conguration.
IPv6–address — Enter an IPv6 address to clear a BGP neighbor conguration.
* — Clears all BGP sessions.
Default Not congured
Command Mode EXEC
Usage Information To reset BGP IPv4 or IPv6 neighbor sessions, use this command.
Example
OS10# clear ip bgp 1.1.15.4
Supported Releases 10.3.0E or later
clear ip bgp *
Resets BGP sessions. The soft parameter (BGP soft reconguration) clears policies without resetting the TCP connection.
Syntax
clear ip bgp * [ipv4 unicast | ipv6 unicast | soft [in | out]]
Parameters
* — Enter to clear all BGP sessions.
ipv4 unicast — Enter to clear IPv4 unicast conguration.
ipv6 unicast — Enter to clear IPv6 unicast conguration.
soft — (Optional) Enter to congure and activate policies without resetting the BGP TCP session — BGP
soft reconguration.
in — (Optional) Enter to activate only ingress (inbound) policies.
out — (Optional) Enter to activate only egress (outbound) policies.
Default Not congured
Command Mode EXEC
Usage Information Use this command to reset BGP sessions.
Example
OS10# clear ip bgp * ipv6 unicast
Supported Releases 10.3.0E or later
confederation
Congures an identier for a BGP confederation.
Syntax
confederation {identifier as-num | peers as-number}
Parameters
identifier as-num —Enter an AS number, from 0 to 65535 for 2 bytes, 1 to 4294967295 for 4 bytes, or
0.1 to 65535.65535 for dotted format.
peers as-number—Enter an AS number for peers in the BGP confederation, from 1 to 4294967295.
Default Not congured
Command Mode ROUTER-BGP
Layer 3 253