Users Guide

Table Of Contents
4. Clear all information or only specific details in EXEC mode.
clear ip bgp {neighbor-address | * | interface interface-type} [soft in]
* Clears all peers.
neighbor-address Clears the neighbor with this IP address.
interface interface-type Clears an unnumbered neighbor.
Soft-reconfiguration of IPv4 neighbor
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# soft-reconfiguration inbound
OS10(conf-router-bgp-neighbor-af)# end
OS10# clear ip bgp 10.2.1.2
Soft-reconfiguration of IPv6 neighbor
OS10(conf-router-neighbor)# address-family ipv6 unicast
OS10(conf-router-bgp-neighbor-af)# soft-reconfiguration inbound
OS10(conf-router-bgp-neighbor-af)# end
OS10# clear ip bgp 2001:0000:3221:DFE8:63::FEAB
Redistribute iBGP route to OSPF
When you configure the system to redistribute BGP routes to OSPF, by default, the system redistributes only the external BGP
(eBGP) routes. Use the [no] bgp redistribute-internal command under BGP to allow or block the redistribution of
IPv4 or IPv6 internal BGP ((iBGP) routes to OSPF in a default or nondefault VRF instance.
Configure redistribution of iBGP routes into OSPF
To enable the system to allow the redistribution of iBGP routes into OSPF, follow these steps:
1. Enter ROUTER-BGP mode with an AS number in CONFIGURATION mode.
router bgp as-number
2. Create a nondefault VRF instance in ROUTER-BGP mode. You can skip this step to enable redistribution of iBGP routes in
the default VRF.
vrf vrf-name
3. Enter IPv4 or IPV6 address-family configuration mode from ROUTER-BGP mode.
address-family ipv4 unicast
address-family ipv6 unicast
4. Enable redistribution of internal BGP routes.
bgp redistribute-internal
5. Enter ROUTER-OSPF mode in a default or nondefault VRF instance.
router ospf instance-number [vrf vrf-name]
6. Configure redistribution the BGP routes in OSPF in ROUTER-OSPF mode.
redistribute bgp as-number
Example: Configure redistribution of IPv4 iBGP routes in a nondefault VRF to OSPF
OS10# configure terminal
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# vrf dell
826
Layer 3