Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Verifying Graceful Restart Operation

This topic contains the following sections:

Graceful Restart Operational Mode Commands

To verify proper operation of graceful restart, use the following commands:

  • show bgp neighbor (for BGP graceful restart)
  • show log (for IS-IS and OSPF/OSPFv3 graceful restart)
  • show (ospf | ospfv3) overview (for OSPF/OSPFv3 graceful restart)
  • show rsvp neighbor detail (for RSVP graceful restart—helper router)
  • show rsvp version (for RSVP graceful restart—restarting router)
  • show ldp session detail (for LDP graceful restart)
  • show connections (for CCC and TCC graceful restart)
  • show route instance detail (for Layer 3 VPN graceful restart and for any protocols using graceful restart in a routing instance)
  • show route protocol l2vpn (for Layer 2 VPN graceful restart)

For more information about these commands and a description of their output fields, see the CLI Explorer.

Verifying BGP Graceful Restart

To view graceful restart information for BGP sessions, use the show bgp neighbor command:

user@PE1> show bgp neighbor 192.255.10.1
Peer: 192.255.10.1+179 AS 64595 Local: 192.255.5.1+1106 AS 64595
  Type: Internal    State: Established    Flags: <>
  Last State: OpenConfirm   Last Event: RecvKeepAlive
  Last Error: None
  Export: [ static ] 
  Options:<Preference LocalAddress HoldTime GracefulRestart Damping PeerAS Refresh>
  Local Address: 192.255.5.1 Holdtime: 90 Preference: 170
  IPSec SA Name: hope
  Number of flaps: 0
  Peer ID: 192.255.10.1     Local ID: 192.255.5.1      Active Holdtime: 90
  Keepalive Interval: 30
  NLRI for restart configured on peer: inet-unicast
  NLRI advertised by peer: inet-unicast
  NLRI for this session: inet-unicast
  Peer supports Refresh capability (2)
  Restart time configured on the peer: 180
  Stale routes from peer are kept for: 180
  Restart time requested by this peer: 300
  NLRI that peer supports restart for: inet-unicast
  NLRI that peer saved forwarding for: inet-unicast
  NLRI that restart is negotiated for: inet-unicast
  NLRI of received end-of-rib markers: inet-unicast
  NLRI of all end-of-rib markers sent: inet-unicast
  Table inet.0 Bit: 10000
    RIB State: restart is complete
    Send state: in sync
    Active prefixes: 0
    Received prefixes: 0
    Suppressed due to damping: 0
  Last traffic (seconds): Received 19   Sent 19   Checked 19
  Input messages:  Total 2      Updates 1       Refreshes 0     Octets 42
  Output messages: Total 3      Updates 0       Refreshes 0     Octets 116
  Output Queue[0]: 0

Verifying IS-IS and OSPF Graceful Restart

To view graceful restart information for IS-IS and OSPF, configure traceoptions (see Tracking Graceful Restart Events).

Here is the output of a traceoptions log from an OSPF restarting router:

Oct  8 05:20:12 Restart mode - sending grace lsas
Oct  8 05:20:12 Restart mode - estimated restart duration timer triggered
Oct  8 05:20:13 Restart mode - Sending more grace lsas

Here is the output of a traceoptions log from an OSPF helper router:

Oct  8 05:20:14 Helper mode for neighbor 192.255.5.1
Oct  8 05:20:14  Received multiple grace lsa from 192.255.5.1

Verifying CCC and TCC Graceful Restart

To view graceful restart information for CCC and TCC connections, use the show connections command. The following example assumes four remote interface CCC connections between CE1 and CE2:

user@PE1> show connections
CCC and TCC connections [Link Monitoring On]
  Legend for status (St)              Legend for connection types
  UN -- uninitialized                 if-sw:  interface switching
  NP -- not present                   rmt-if: remote interface switching
  WE -- wrong encapsulation           lsp-sw: LSP switching
  DS -- disabled
  Dn -- down                          Legend for circuit types
  -> -- only outbound conn is up      intf -- interface
  <- -- only inbound  conn is up      tlsp -- transmit LSP
  Up -- operational                   rlsp -- receive LSP
  RmtDn -- remote CCC down
  Restart -- restarting

CCC Graceful restart : Restarting

Connection/Circuit                Type    St      Time last up     # Up trans
CE1-CE2-0                         rmt-if  Restart -----                     0
  fe-1/1/0.0                        intf  Up
  PE1-PE2-0                         tlsp  Up
  PE2-PE1-0                         rlsp  Up
CE1-CE2-1                         rmt-if  Restart -----                     0
  fe-1/1/0.1                        intf  Up
  PE1-PE2-1                         tlsp  Up
  PE2-PE1-1                         rlsp  Up
CE1-CE2-2                         rmt-if  Restart -----                     0
  fe-1/1/0.2                        intf  Up
  PE1-PE2-2                         tlsp  Up
  PE2-PE1-2                         rlsp  Up
CE1-CE2-3                         rmt-if  Restart -----                     0
  fe-1/1/0.3                        intf  Up
  PE1-PE2-3                         tlsp  Up
  PE2-PE1-3                         rlsp  Up
 

Related Documentation

 

Published: 2014-07-23

 

Related Documentation

 

Published: 2014-07-23