Users Guide

Table Of Contents
Parameters None
Default Not configured
Command Mode ROUTER-BGP
Usage
Information
When an IGP protocol such as OSPF is configured to redistribute BGP, by default, only the eBGP routes
are redistributed. You can use this command to enable redistribution of iBGP routes in addition to external
BGP (eBGP) routes. This configuration is applicable only for IPv4 unicast and IPv6 unicast address family
modes, and it is not applicable for L2 VPN EVPN address family.
The no version of this command disables iBGP redistribution.
Example - Enable
redistribution of
IPv4 iBGP routes
in default VRF
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# address-family ipv4 unicast
OS10(configure-router-bgpv4-af)# bgp redistribute-internal
Example - Enable
redistribution of
IPv6 iBGP routes
in VRF "dell"
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# vrf dell
OS10(config-router-bgp-100-vrf)# address-family ipv6 unicast
OS10(configure-router-bgpv6-vrf-af)# bgp redistribute-internal
Supported
Releases
10.5.2.1 or later
clear ip bgp
Resets BGP IPv4 or IPv6 neighbor sessions.
Syntax
clear ip bgp [vrf vrf-name] {ipv4address | ipv6address | * | interface
interface-type} [ ipv4 | ipv6 | soft in]
Parameters
vrf vrf-name (OPTIONAL) Enter vrf then the name of the VRF to clear IPv4 or IPv6 BGP
neighbor sessions corresponding to that VRF.
IPv4address Enter an IPv4 address to clear a BGP neighbor configuration.
IPv6address Enter an IPv6 address to clear a BGP neighbor configuration.
* Clears all BGP sessions.
interface interface-type Clears BGP information that is learned through an unnumbered
neighbor. Enter one of the following interface types:
ethernet node/slot/port[:subport] Display Ethernet interface information.
port-channel id-number Display port channel interface IDs, from 1 to 128.
vlan vlan-id Display the VLAN interface number, from 1 to 4093.
soft (Optional) Enter to configure and activate policies without resetting the BGP TCP session
BGP soft reconfiguration.
in (Optional) Enter to activate only ingress (inbound) policies.
Default Not configured
Command Mode EXEC
Usage
Information
None.
Example
OS10# clear ip bgp 1.1.15.4
The following is an example to clear BGP information learned through an unnumbered neighbor:
OS10# clear ip bgp interface ethernet 1/1/1
Supported
Releases
10.3.0E or later
838 Layer 3