для Cisco Cisco IOS Software Release 12.2(25)S
Suppress BGP Advertisement for Inactive Routes
Configuration Examples for BGP Inactive Route Advertisement Suppression
4
Cisco IOS Release 12.2(25)S
DETAILED STEPS
Configuration Examples for BGP Inactive Route Advertisement
Suppression
Suppression
The following examples show how to configure and verify this feature:
•
•
Configuring the Suppression of Inactive Route Advertisement: Example
The following example, starting in global configuration mode, configures BGP to not advertise inactive
routes:
routes:
Router(config)# router bgp 50000
Router(config-router)# address-family ipv4 unicast
Router(config-router-af)# bgp suppress-inactive
Router(config-router-af)# end
The following example configures a maximum route limit in the VRF named red and configures BGP to
not advertise inactive routes through the VRF named RED:
not advertise inactive routes through the VRF named RED:
Router(config)# ip vrf RED
Router(config-vrf)# rd 50000:10
Router(config-vrf)# maximum routes 1000 10
Router(config-vrf)# exit
Router(config)# router bgp 50000
Router(config-router)# address-family ipv4 vrf RED
Router(config-router-af)# bgp suppress-inactive
Router(config-router-af)# end
Displaying Inactive Routes: Example
The following example uses the show ip bgp rib-failure Exec command to display routes that are not
installed in the RIB. The output shows that the displayed routes were not installed because a route or
routes with a better administrative distance already exist in the RIB.
installed in the RIB. The output shows that the displayed routes were not installed because a route or
routes with a better administrative distance already exist in the RIB.
Router# show ip bgp rib-failure
Network Next Hop RIB-failure RIB-NH Matches
10.1.15.0/24 10.1.35.5 Higher admin distance n/a
10.1.16.0/24 10.1.15.1 Higher admin distance n/a
Command or Action
Purpose
Step 1
show ip bgp rib-failure
Example:
Router> show ip bgp rib-failure
Displays BGP routes that are not installed in the RIB.