29.6.5 Checking the route refresh function
- <Structure of this section>
(1) List of operation commands
The following table lists the operation commands related to the route refresh facility.
Command name |
Description |
---|---|
clear ipv6 bgp |
Clears BGP4+ sessions or BGP4+-related information, or filters inbound or outbound routes using new BGP filter information. |
show ipv6 route |
Displays routing information stored in the routing table. |
show ipv6 bgp |
Shows information about the BGP4+ protocol. |
(2) Confirm route refresh capability negotiation
First, make sure that route refresh capability has been successfully negotiated with the BGP4+ peer that will be requested to re-advertise its BGP4+ routes. To do so, use the show ipv6 bgp operation command with the neighbors parameter specified. If route refresh capability has not been negotiated, route refresh requests to relearn changed routes will not be sent to the remote peer.
> show ipv6 bgp neighbors 3ffe:172:16:2::2 Date 20XX/10/17 16:52:14 UTC BGP4+ Peer: 3ffe:172:16:2::2 , Remote AS: 65532 Remote Router ID: 172.16.1.102 BGP4+ Status: Established HoldTime: 180 , Keepalive: 60 Established Transitions: 1 Established Date: 20XX/10/17 16:49:35 BGP4+ Version: 4 Type: External Local Address: 3ffe:172:16:2::1 Local AS: 65531 Local Router ID: 192.168.1.100 Next Connect Retry: - Connect Retry Timer: - Last Keep Alive Sent: 16:51:35 Last Keep Alive Received: 16:51:35 BGP4+ Message UpdateIn UpdateOut TotalIn TotalOut 1 1 4 6 BGP4+ Capability Negotiation: <IPv6-Uni Refresh Refresh(v)> ..1 Send : <IPv6-Uni Refresh Refresh(v)> Receive: <IPv6-Uni Refresh Refresh(v)> Password: UnConfigured |
-
Route refresh capability with the remote peer was successfully negotiated.
(3) Re-advertisement request and re-advertisement of BGP4 + route
To request that all BGP4+ peers re-advertise their BGP4+ routes, and to re-advertise the routes to all BGP4+ peers, use the clear ipv6 bgp command with the * both parameter specified.
#clear ipv6 bgp * both |
(4) Checking BGP4 + route relearning and re-advertisement
To check that BGP4+ routes have been re-advertised and relearned by using the route refresh functionality, use the show ipv6 bgp command with the neighbors parameter specified.
> show ipv6 bgp neighbors 3ffe:172:16:2::2 Date 20XX/10/17 16:52:14 UTC BGP4+ Peer: 3ffe:172:16:2::2 , Remote AS: 65532 Remote Router ID: 172.16.1.102 BGP4+ Status: Established HoldTime: 180 , Keepalive: 60 Established Transitions: 1 Established Date: 20XX/10/17 16:49:35 BGP4+ Version: 4 Type: External Local Address: 3ffe:172:16:2::1 Local AS: 65531 Local Router ID: 192.168.1.100 Next Connect Retry: - Connect Retry Timer: - Last Keep Alive Sent: 16:51:35 Last Keep Alive Received: 16:51:35 BGP4+ Message UpdateIn UpdateOut TotalIn TotalOut 2 2 11 14 ..1 BGP4+ Capability Negotiation: <IPv6-Uni Refresh Refresh(v)> Send : <IPv6-Uni Refresh Refresh(v)> Receive: <IPv6-Uni Refresh Refresh(v)> Password: UnConfigured |
-
There has been an increase in the numbers of received UPDATE messages and sent UPDATE messages.
- Notes
-
The operation-command clear ipv6 bgp(* in,* out,* both specification applies both route filtering changes and route refresh functionality (see Section 29.4.5, Route Refresh). If route refresh capability has not been negotiated, no route refresh requests are made in order to relearn changed routes, although the route filter changes are applied.