Verificar el funcionamiento del reinicio correcto
Este tema contiene las siguientes secciones:
Comandos del modo operativo del reinicio normal
Para comprobar el buen funcionamiento del reinicio normal, utilice los siguientes comandos:
show bgp neighbor
(para BGP reinicio correcto)show log
(para SI-SI y OSPF reinicio correcto de OSPFv3)show (ospf | ospfv3) overview
(para OSPF reinicio correcto de OSPFv3)show rsvp neighbor detail
(para el reinicio elegante del RSVP: enrutador de ayuda)show rsvp version
(Para el reinicio correcto del RSVP: reiniciar el enrutador)show ldp session detail
(para el reinicio correcto del LDP)show connections
(para el reinicio correcto de CCC y TCC)show route instance detail
(para el reinicio correcto de VPN de capa 3 y para cualquier protocolo que utilice un reinicio correcto en una instancia de enrutamiento)show route protocol l2vpn
(para un reinicio elegante de VPN de capa 2)
Para obtener más información acerca de estos comandos y una descripción de sus campos de salida, consulte el CLI Explorer.
Verificar el reinicio BGP correcto
Para ver la información de reinicio elegante BGP sesiones, utilice el show bgp neighbor
comando:
user@PE1> show bgp neighbor 192.0.2.10 Peer: 192.0.2.10+179 AS 64496 Local: 192.0.2.5+1106 AS 64496 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.0.2.5 Holdtime: 90 Preference: 170 IPSec SA Name: hope Number of flaps: 0 Peer ID: 192.0.2.10 Local ID: 192.0.2.5 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
Verificar el reinicio SI-SI y OSPF correcto
Para ver la información de reinicio elegante SI-SI y OSPF, configure las traceopciones (consulte Seguimiento de eventos de reinicio con elegancia).
Este es el resultado de un registro de traceoptions desde un enrutador OSPF reinicio:
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
Este es el resultado de un registro de traceoptions desde un enrutador OSPF de ayuda:
Oct 8 05:20:14 Helper mode for neighbor 192.0.2.5 Oct 8 05:20:14 Received multiple grace lsa from 192.0.2.5
Verificar el reinicio correcto de CCC y TCC
Para ver la información de reinicio elegante de las conexiones CCC y TCC, utilice el show connections
comando. En el siguiente ejemplo, se asumen cuatro conexiones CCC de interfaz remota entre CE1 y 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