Table Of Contents
BGP Nonstop Forwarding (NSF) Awareness
Prerequisites for BGP Nonstop Forwarding Awareness
Restrictions for BGP Nonstop Forwarding Awareness
Information About BGP Nonstop Forwarding Awareness
Cisco NSF Routing and Forwarding Operation
How to Configure BGP Nonstop Forwarding Awareness
Configuring BGP Nonstop Forwarding Awareness
Configuring BGP NSF Awareness Timers
Verifying the Configuration of BGP Nonstop Forwarding Awareness
Configuration Examples for Nonstop Forwarding
Configuring BGP NSF Awareness Example
Configuring the Restart Time for BGP NSF Awareness
Configuring the Stalepath Time for BGP NSF Awareness
BGP Nonstop Forwarding (NSF) Awareness
Nonstop Forwarding (NSF) awareness allows a router to assist NSF-capable neighbors to continue forwarding packets during a Stateful Switchover (SSO) operation. The BGP Nonstop Forwarding Awareness feature allows an NSF-aware router that is running BGP to forward packets along routes that are already known for a router that is performing an SSO operation. This capability allows the BGP peers of the failing router to retain the routing information that is advertised by the failing router and continue to use this information until the failed router has returned to normal operating behavior and is able to exchange routing information. The peering session is maintained throughout the entire NSF operation.
NSF works with the SSO feature in Cisco IOS software. SSO is a prerequisite of NSF. NSF works with SSO to minimize the amount of time a network is unavailable to its users following a switchover. The main objective of NSF is to continue forwarding IP packets following a Route Processor (RP) switchover. NSF/SSO is configured in the core of your network, and NSF awareness is configured on iBGP peers in the core and on the edge of the network.
Feature Specifications for the BGP Nonstop Forwarding (NSF) Awareness feature
Feature History Release Modification12.2(15)T
This feature was introduced.
Supported PlatformsFor platforms supported in Cisco IOS Release 12.2(15)T, use Cisco Feature Navigator as described below.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•Prerequisites for BGP Nonstop Forwarding Awareness
•Restrictions for BGP Nonstop Forwarding Awareness
•Information About BGP Nonstop Forwarding Awareness
•How to Configure BGP Nonstop Forwarding Awareness
•Configuration Examples for Nonstop Forwarding
Prerequisites for BGP Nonstop Forwarding Awareness
This document assumes that your network is configured to run BGP. You will also need to complete the following tasks before you can configure this feature:
•On platforms supporting the Route Switch Processor (RSP), and where the CEF switching mode is configurable, configure distributed CEF (dCEF) switching mode using the ip cef distributed command. This command is enabled by default on the Cisco 12000 Series Internet Router.
Restrictions for BGP Nonstop Forwarding Awareness
The following restrictions apply to the BGP Nonstop Forwarding Awareness feature:
•All neighboring devices participating in BGP NSF must be NSF-capable or NSF-aware, having been configured for BGP graceful restart.
•BGP graceful restart does not support two neighbors performing an NSF restart operation at the same time because these peers cannot hold routes for each other during an SSO operation. However, both neighbors will still reestablish peering sessions after the NSF restart operation is complete. Each router will reestablish peering with the other as if it were a new router joining the network.
•Existing sessions must be reset by issuing the clear ip bgp * command or by reloading the router before graceful restart capabilities will be exchanged.
•BGP graceful restart does not yet support Virtual Routing and Forwarding (VRF) instances and VPNv4 sessions and configurations.
Information About BGP Nonstop Forwarding Awareness
To configure this feature, you must understand the following concepts:
•Cisco NSF Routing and Forwarding Operation
Cisco NSF Routing and Forwarding Operation
Cisco NSF is supported by the BGP, EIGRP, OSPF, and IS-IS protocols for routing and by Cisco Express Forwarding (CEF) for forwarding. Of the routing protocols, BGP, EIGRP, OSPF, and IS-IS have been enhanced with NSF-capability and awareness, which means that routers running these protocols can detect a switchover and take the necessary actions to continue forwarding network traffic and to recover route information from the peer devices.
In this document, a networking device is said to be NSF-aware if it is running NSF-compatible software. A device is said to be NSF-capable if it has been configured to support NSF; therefore, it would rebuild routing information from NSF-aware or NSF-capable neighbors.
Each protocol depends on CEF to continue forwarding packets during switchover while the routing protocols rebuild the Routing Information Base (RIB) tables. Once the routing protocols have converged, CEF updates the FIB table and removes stale route entries. CEF then updates the line cards with the new FIB information.
Note Currently, EIGRP supports only NSF awareness. SSO support for EIGRP will be integrated into a future release.
Cisco Express Forwarding
A key element of NSF is packet forwarding. In a Cisco networking device, packet forwarding is provided by CEF. CEF maintains the FIB and uses the FIB information that was current at the time of the switchover to continue forwarding packets during a switchover. This feature reduces traffic interruption during the switchover.
During normal NSF operation, CEF on the active RP synchronizes its current FIB and adjacency databases with the FIB and adjacency databases on the standby RP. Upon switchover of the active RP, the standby RP initially has FIB and adjacency databases that are mirror images of those that were current on the active RP. For platforms with intelligent line cards, the line cards will maintain the current forwarding information over a switchover; for platforms with forwarding engines, CEF will keep the forwarding engine on the standby RP current with changes that are sent to it by CEF on the active RP. In this way, the line cards or forwarding engines will be able to continue forwarding after a switchover as soon as the interfaces and a data path are available.
As the routing protocols start to repopulate the RIB on a prefix-by-prefix basis, the updates in turn cause prefix-by-prefix updates for CEF, which it uses to update the FIB and adjacency databases. Existing and new entries will receive the new version ("epoch") number, indicating that they have been refreshed. The forwarding information is updated on the line cards or forwarding engine during convergence. The RP signals when the RIB has converged. The software removes all FIB and adjacency entries that have an epoch older than the current switchover epoch. The FIB now represents the newest routing protocol forwarding information
The routing protocols run only on the active RP, and they receive routing updates from their neighbor routers. Routing protocols do not run on the standby RP. Following a switchover, the routing protocols request that the NSF-aware neighbor devices send state information to help rebuild the routing tables.
Note For NSF operation, the routing protocols depend on CEF to continue forwarding packets while the routing protocols rebuild the routing information.
BGP Graceful Restart
When an NSF-capable router begins a BGP session with a BGP peer, it sends an OPEN message to the peer. Included in the message is a declaration that the NSF-capable or NSF-aware router has "graceful restart capability." Graceful restart is the mechanism by which BGP routing peers avoid a routing flap following a switchover. If the BGP peer has received this capability, it is aware that the device sending the message is NSF-capable. Both the NSF-capable router and its BGP peer(s) (NSF-aware peers) need to exchange the graceful restart capability in their OPEN messages, at the time of session establishment. If both the peers do not exchange the graceful restart capability, the session will not be graceful restart capable.
If the BGP session is lost during the RP switchover, the NSF-aware BGP peer marks all the routes associated with the NSF-capable router as stale; however, it continues to use these routes to make forwarding decisions for a set period of time. This functionality means that no packets are lost while the newly active RP is waiting for convergence of the routing information with the BGP peers.
After an RP switchover occurs, the NSF-capable router reestablishes the session with the BGP peer. In establishing the new session, it sends a new graceful restart message that identifies the NSF-capable router as having restarted.
At this point, the routing information is exchanged between the two BGP peers. Once this exchange is complete, the NSF-capable device uses the routing information to update the RIB and the FIB with the new forwarding information. The NSF-aware device uses the network information to remove stale routes from its BGP table. Following that, the BGP protocol is fully converged.
If a BGP peer does not support the graceful restart capability, it will ignore the graceful restart capability in an OPEN message but will establish a BGP session with the NSF-capable device. This functionality will allow interoperability with non-NSF-aware BGP peers (and without NSF functionality), but the BGP session with non-NSF-aware BGP peers will not be graceful restart capable.
BGP NSF Awareness
BGP support for NSF requires that neighbor routers are NSF-aware or NSF-capable. NSF awareness in BGP is also enabled by the graceful restart mechanism. A router that is NSF-aware functions like a router that is NSF-capable with one exception: an NSF-aware router is incapable of performing an SSO operation. However, a router that is NSF-aware is capable of maintaining a peering relationship with a NSF-capable neighbor during a NSF SSO operation, as well as holding routes for this neighbor during the SSO operation.
The BGP Nonstop Forwarding Awareness feature provides an NSF-aware router with the capability to detect a neighbor that is undergoing an SSO operation, maintain the peering session with this neighbor, retain known routes, and continue to forward packets for these routes. The deployment of BGP NSF awareness can minimize the affects of route-processor (RP) failure conditions and improve the overall network stability by reducing the amount of resources that are normally required for reestablishing peering with a failed router.
NSF awareness for BGP is not enabled by default. The bgp graceful-restart command is used to enable NSF awareness on a router that is running BGP. NSF-aware operations are also transparent to the network operator and BGP peers that do not support NSF capabilities.
Note NSF awareness is enabled automatically in supported software images for Interior Gateway Protocols, such as EIGRP, IS-IS, and OSPF. In BGP, NSF awareness is not enabled automatically and must be started by issuing the bgp graceful-restart command in router configuration mode.
How to Configure BGP Nonstop Forwarding Awareness
This section contains the following procedures:
•Configuring BGP Nonstop Forwarding Awareness
•Configuring BGP NSF Awareness Timers
•Verifying the Configuration of BGP Nonstop Forwarding Awareness
Configuring BGP Nonstop Forwarding Awareness
BGP Graceful Restart
The BGP Nonstop Forwarding (NSF) Awareness feature is part of the graceful restart mechanism. BGP NSF awareness is enabled by issuing the bgp graceful-restart command in router configuration mode. BGP NSF awareness allows NSF-aware routers to support NSF-capable routers during an SSO operation. NSF-awareness is not enabled by default and should be configured on all neighbors that participate in BGP NSF.
Restrictions
The configuration of the restart and stalepath timers is not required to enable the BGP graceful restart capability. The default values are optimal for most network deployments, and these values should be adjusted only by an experienced network operator.
SUMMARY STEPS
1. enable
2. configure {terminal | memory | network}
3. router bgp as-number
4. bgp graceful-restart
5. exit
DETAILED STEPS
Troubleshooting Tips
To troubleshoot the NSF feature, use the following commands in privileged EXEC mode, as needed:
What to do next
If the bgp graceful-restart command has been issued after the BGP session has been established, you must reset by issuing the clear ip bgp * command or by reloading the router before graceful restart capabilities will be exchanged. For more information about resetting BGP sessions and using the clear ip bgp command, refer to the following documents:
BGP Command Reference Documentation
BGP Configuration Documentation
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt2/1cfbgp.htm
Configuring BGP NSF Awareness Timers
BGP NSF Awareness Timers
This section documents the configuration of the BGP graceful restart timers.
•(Optional) The restart-time argument determines how long peer routers will wait to delete stale routes before a BGP open message is received. The default value is 120 seconds.
•(Optional) The stalepath-time argument determines how long a router will wait before deleting stale routes after an end of record (EOR) message is received from the restarting router. The default value is 360 seconds.
Restrictions
The configuration of the restart and stalepath timers is not required to enable the BGP graceful restart capability. The default values are optimal for most network deployments, and these values should be adjusted only by an experienced network operator.
SUMMARY STEPS
1. enable
2. configure {terminal | memory | network}
3. router bgp as-number
4. bgp graceful-restart restart-time seconds
5. bgp graceful-restart stalepath-time seconds
6. exit
DETAILED STEPS
What to do next
If the bgp graceful-restart command has been issued after the BGP session has been established, you must reset by issuing the clear ip bgp * command or by reloading the router before graceful restart capabilities will be exchanged. For more information about resetting BGP sessions and using the clear ip bgp command, refer to the following documents:
BGP Command Reference Documentation
BGP Configuration Documentation
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt2/1cfbgp.htm
Verifying the Configuration of BGP Nonstop Forwarding Awareness
Use the following steps to verify the local configuration of BGP NSF awareness on a router and to verify the configuration NSF awareness on peer routers in a BGP network.
SUMMARY STEPS
1. enable
2. show running-config
3. show ip bgp neighbors ip-address
DETAILED STEPS
Configuration Examples for Nonstop Forwarding
•Configuring BGP NSF Awareness Example
•Configuring the Restart Time for BGP NSF Awareness
•Configuring the Stalepath Time for BGP NSF Awareness
Configuring BGP NSF Awareness Example
The following example configures BGP NSF awareness on a router that is running BGP:
router# configure terminalrouter(config)# router bgp 101router(config-router)# bgp graceful-restartConfiguring the Restart Time for BGP NSF Awareness
The following example configures BGP NSF awareness on a router that is running BGP and sets the restart time to 130 seconds. The configuration of this timer is optional and the preconfigured default value is optimal for most network deployments.
router# configure terminalrouter(config)# router bgp 101router(config-router)# bgp graceful-restart restart-time 130
Configuring the Stalepath Time for BGP NSF Awareness
The following example configures BGP NSF awareness on a router that is running BGP and sets the stale path time to 350 seconds. The configuration of this timer is optional and the preconfigured default value is optimal for most network deployments.
router# configure terminalrouter(config)# router bgp 101router(config-router)# bgp graceful-restart stalepath-time 350
Verifying BGP NSF Awareness
To verify NSF for BGP, you must check that the graceful restart function is configured on the SSO-enabled networking device and on the neighbor devices. Perform the following steps:
Step 1 Verify that "bgp graceful-restart" appears in the BGP configuration of the SSO-enabled router by entering the show running-config command:
Router# show running-config...router bgp 120...bgp graceful-restartneighbor 10.2.2.2 remote-as 300...
Step 2 Repeat step 1 on each of the BGP neighbors.
Step 3 On peer devices (NSF-capable and NSF-aware), verify that the graceful restart function is shown as both advertised and received, and confirm the address families that have the graceful restart capability. If no address families are listed, then BGP NSF awareness is not enabled:
router#show ip bgp neighbors x.x.x.xBGP neighbor is 192.168.2.2, remote AS YY, external linkBGP version 4, remote router ID 192.168.2.2BGP state = Established, up for 00:01:18Last read 00:00:17, hold time is 180, keepalive interval is 60 secondsNeighbor capabilities:Route refresh:advertised and received(new)Address family IPv4 Unicast:advertised and receivedAddress famiiy IPv4 Multicast:advertised and receivedGraceful Restart Capabilty:advertised and received
Remote Restart timer is 120 secondsAddress families preserved by peer:IPv4 Unicast, IPv4 MulticastReceived 1539 messages, 0 notifications, 0 in queueSent 1544 messages, 0 notifications, 0 in queueDefault minimum time between advertisement runs is 30 seconds
Where to Go Next
For more information about NSF and SSO configuration, refer to the following documents:
•Cisco Nonstop Forwarding, Release 12.0(24)S
•Stateful Switchover, Release 12.0(24)S
Additional References
For additional information related to BGP NSF Awareness, refer to the following documents:
Related Documents
Standards
Standards1 TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
1 Not all supported standards are listed.
MIBs
MIBs1 MIBs LinkNo new or modified MIBs are supported by this feature, and support for existing MIBs has not been modified by this feature.
To obtain lists of supported MIBs by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
1 Not all supported MIBs are listed.
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
http://tools.cisco.com/ITDIT/MIBS/servlet/index
If Cisco MIB Locator does not support the MIB information that you need, you can also obtain a list of supported MIBs and download MIBs from the Cisco MIBs page at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
To access Cisco MIB Locator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:
RFCs
RFCs1 Titledraft-ietf-idr-restart-06.txt
Graceful Restart Mechanism for BGP
1 Not all supported RFCs are listed.
Technical Assistance
Description LinkTechnical Assistance Center (TAC) home page, containing 30,000 pages of searchable technical content, including links to products, technologies, solutions, technical tips, tools, and lots more. Registered Cisco.com users can log in from this page to access even more content.
TAC Home Page:
http://www.cisco.com/public/support/tac/home.shtml
BGP Support Page:
http://www.cisco.com/cgi-bin/Support/browse/psp_view.pl?p=Internetworking:BGP
Command Reference
This section documents new and modified commands. All other commands used with this feature are documented in the Cisco IOS command reference publications for various releases.
New Commands
Modified Commands
bgp graceful-restart
To enable the Border Gateway Protocol (BGP) graceful restart capability, use the bgp graceful-restart command in router configuration mode. To remove this command from the configuration file and restore the system to its default condition with respect to this command, use the no form of this command.
bgp graceful-restart [restart-time seconds | stalepath-time seconds]
no bgp graceful-restart [restart-time seconds | stalepath-time seconds]
Syntax Description
Defaults
BGP Cisco Nonstop Forwarding (NSF) capabilities are disabled.
Command Modes
Router configuration
Command History
Release Modification12.0(22)S
This command was introduced.
12.2(15)T
This command was integrated into Cisco IOS Release 12.2(15)T.
Usage Guidelines
The bgp graceful-restart command is used to enable the graceful restart mechanism on a router in a BGP network. The graceful restart mechanism supports both NSF awareness and NSF capabilities. A router that is NSF-aware functions like a router that is NSF-capable with one exception: an NSF-aware router is incapable of performing a Stateful Switchover (SSO) operation.
The BGP graceful restart capability is negotiated in the OPEN message. If the user enters the bgp graceful-restart command after the BGP session is established, the session will need to be restarted.
When you enter the bgp graceful-restart command, the bgp graceful-restart restart-time and
bgp graceful-restart stalepath-time commands are enabled by default. After the bgp graceful-restart command is used to configure the graceful restart capability, you may tune the configuration using the restart-time and stalepath-time keywords. If you do not first configure the graceful restart capability using the bgp graceful-restart command, the tuning values will not appear in the configuration file.We recommend that the bgp graceful-restart restart-time and bgp graceful-restart stalepath-time commands remain set to their default values.
The restart time should not be set to a time greater than the holdtime that is carried in the OPEN message. To deal with possible consecutive restarts, a route (from a restarting router) that was previously marked as stale shall be deleted.
Note The configuration of the restart and stalepath timers is not required to enable the BGP graceful restart capability. The default values are optimal for most network deployments, and these values should be adjusted only by an experienced network operator.
Examples
The following example shows how to configure the BGP graceful restart capability. Enter one command per line:
Router# configure terminalRouter(config)# router bgp 101Router(config-router)# bgp graceful-restartThe following example configures BGP NSF awareness on a router that is running BGP and sets the restart time to 240 seconds.
Router# configure terminalrouter(config)# router bgp 101router(config-router)# bgp graceful-restart restart-time 130The following example configures BGP NSF awareness on a router that is running BGP and sets the stale path time to 240 seconds.
Router# configure terminalrouter(config)# router bgp 101router(config-router)# bgp graceful-restart stalepath-time 350Related Commands
Command DescriptionDisplays entries in the BGP routing table.
Displays information about the TCP and BGP connections to neighbors.
show ip bgp
To display entries in the Border Gateway Protocol (BGP) routing table, use the show ip bgp command in user EXEC mode.
show ip bgp [network] [network-mask] [longer-prefixes]
Syntax Description
Command Modes
User EXEC
Command History
Examples
The following example is from the show ip bgp command. The "stale" status code is shown in the output:
Router# show ip bgpBGP table version is 9, local router ID is a.a.a.aStatus codes:s suppressed, d damped, h history, * valid, > best, i - internal,S Stale
Origin codes:i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf Weight PathS> 10.100.100.0/24 192.168.2.2 0 0 65002 i
S> 10.10.0.0 192.168.2.2 0 65002 65003 i
S> 10.20.0.0 192.168.2.2 0 65002 65003 i
S> 10.30.0.0/8 192.168.2.2 0 65002 65003 i
S> 10.40.33.0/24 192.168.2.2 0 65002 65003 i
*> 0.0.0.0 0 32768 iS> 10.50.0.0/8 192.168.2.2 0 65002 65003 i
S> 10.60.100.0 192.168.2.2 0 0 65002 i
S> 10.70.200.0 192.168.2.2 0 0 65002 i
Table 1 describes the significant fields shown in the displays.
The following example of the show ip bgp command. The output is filtered to show only the 10.0.0.0 network. The "stale" status code is also shown in the output.
Router# show ip bgp 10.0.0.0BGP routing table entry for 10.0.0.0/8, version 7Paths:(1 available, best #1, table Default-IP-Routing-Table)Not advertised to any peer65002 65003, (stale)
192.168.2.2 from 192.168.2.2 (0.0.0.0)Origin IGP, localpref 100, valid, external, bestRouter#Table 2 describes the significant fields shown in the display.
Related Commands
Command DescriptionEnables the BGP graceful restart capability.
Displays information about the TCP and BGP connections to neighbors.
show ip bgp neighbors
To display information about TCP/IP and Border Gateway Protocol (BGP) connections to neighbors, use the show ip bgp neighbors command in EXEC mode.
show ip bgp neighbors [neighbor-address] [received-routes | routes | advertised-routes | {paths regexp} | dampened-routes] [received prefix-filter]
Syntax Description
Command Modes
EXEC
Command History
Examples
The following is sample output from the show ip bgp neighbors command in privileged EXEC mode. The output is filtered to show only the 172.16.254.3 neighbor. The output also shows that the graceful restart capability has been exchanged with this neighbor.
Router# show ip bgp neighbors 172.16.254.3BGP neighbor is 172.16.254.3, remote AS 150, internal linkBGP version 4, remote router ID 172.16.254.3BGP state = Established, up for 19:24:07Last read 00:00:06, hold time is 180, keepalive interval is 60 secondsNeighbor capabilities:Route refresh:advertised and received(new)Address family IPv4 Unicast:advertised and receivedGraceful Restart Capabilty:advertised and received
Remote Restart timer is 120 secondsAddress families preserved by peer:IPv4 UnicastReceived 4231 messages, 0 notifications, 0 in queueSent 4167 messages, 0 notifications, 0 in queueDefault minimum time between advertisement runs is 5 secondsFor address family:IPv4 UnicastBGP table version 159559, neighbor version 159559Index 90, Offset 11, Mask 0x4Route refresh request:received 0, sent 010031 accepted prefixes consume 441364 bytesPrefix advertised 29403, suppressed 0, withdrawn 9801Number of NLRIs in the update sent:max 242, min 0Connections established 2; dropped 1Last reset 19:26:54, due to NSF peer closed the sessionConnection state is ESTAB, I/O status:1, unread input bytes:0Local host:150.254.254.2, Local port:11005Foreign host:172.16.254.3, Foreign port:179Enqueued packets for retransmit:0, input:0 mis-ordered:0 (0 bytes)Event Timers (current time is 0x4371A84):Timer Starts Wakeups NextRetrans 1380 22 0x0TimeWait 0 0 0x0AckHold 1377 870 0x0SendWnd 0 0 0x0KeepAlive 0 0 0x0GiveUp 0 0 0x0PmtuAger 0 0 0x0DeadWait 0 0 0x0iss:1875330775 snduna:1875639119 sndnxt:1875639119 sndwnd: 16308irs:3577079138 rcvnxt:3577393901 rcvwnd: 16137 delrcvwnd: 247SRTT:300 ms, RTTO:607 ms, RTV:3 ms, KRTT:0 msminRTT:0 ms, maxRTT:408 ms, ACK hold:200 msFlags:higher precedence, nagleDatagrams (max data segment is 536 bytes):Rcvd:2984 (out of order:1), with data:1800, total data bytes:314762Sent:3190 (retransmit:22, fastretransmit:0), with data:1751, total data bytes:308343Table 3 describes the significant fields shown in the display.
The following is sample output from the show ip bgp neighbors command issued with the advertised-routes keyword in privileged EXEC mode. The output is filtered to display advertised routes for only the 172.16.232.178 neighbor.
Router# show ip bgp neighbors 172.16.232.178 advertised-routesBGP table version is 27, local router ID is 172.16.232.181Status codes: s suppressed, d damped, h history, * valid, > best, i - internalOrigin codes: i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf Weight Path*>i110.0.0.0 172.16.232.179 0 100 0 ?*> 200.2.2.0 0.0.0.0 0 32768 iThe following is sample output from the show ip bgp neighbors command issued with the routes keyword in privileged EXEC mode. The output is filtered to show only routes that have been received and accepted by the 172.16.232.178 neighbor.
Router# show ip bgp neighbors 172.16.232.178 routesBGP table version is 27, local router ID is 172.16.232.181Status codes: s suppressed, d damped, h history, * valid, > best, i - internalOrigin codes: i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf Weight Path*> 10.0.0.0 172.16.232.178 40 0 10 ?*> gg.0.0.0 172.16.232.178 40 0 10 ?Table 4 describes the significant fields shown in the displays.
The following is sample output from the show ip bgp neighbors command with the paths keyword in privileged EXEC mode:
Router# show ip bgp neighbors 171.69.232.178 paths ^10Address Refcount Metric Path0x60E577B0 2 40 10 ?Table 5 describes the significant fields shown in the display.
The following is sample output from the show ip bgp neighbors command issued with the received prefix-filter keyword in privileged EXEC mode. The output is filtered to show only routes that are filtered by a prefix-list for the 192.168.20.72 neighbor:
Router# show ip bgp neighbor 192.168.20.72 received prefix-filter
Address family:IPv4 Unicastip prefix-list 192.168.20.72:1 entriesseq 5 deny 10.0.0.0/8 le 32Table 6 describes the significant fields shown in the display.