Graceful Restart 작업 확인
이 주제에는 다음 섹션이 포함되어 있습니다.
Graceful Restart 운영 모드 명령
Graceful Restart의 적절한 작동을 확인하려면 다음 명령을 사용합니다.
show bgp neighbor
(BGP 그레이스풀 재시작의 경우)show log
(IS-IS 및 OSPF/OSPFv3 그레이스풀 재시작의 경우)show (ospf | ospfv3) overview
(OSPF/OSPFv3 Graceful Restart의 경우)show rsvp neighbor detail
(RSVP 그레이스풀 재시작의 경우— 도우미 라우터)show rsvp version
(RSVP 그레이스풀 재시작—라우터 재시작)show ldp session detail
(LDP GR(Graceful Restart)show connections
(CCC 및 TCC Graceful Restart의 경우)show route instance detail
(레이어 3 VPN Graceful Restart 및 라우팅 인스턴스에서 Graceful Restart를 사용하는 모든 프로토콜의 경우)show route protocol l2vpn
(레이어 2 VPN 그레이스풀 재시작의 경우)
이러한 명령과 출력 필드에 대한 자세한 내용은 CLI 탐색기를 참조하십시오.
BGP Graceful Restart 확인
BGP 세션에 대한 Graceful Restart 정보를 보려면 명령을 사용합니다 show bgp neighbor
.
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
IS-IS 및 OSPF Graceful Restart 확인
IS-IS 및 OSPF에 대한 GR(Graceful Restart) 정보를 보려면 traceoptions를 구성합니다( Graceful Restart 이벤트 추적 참조).
다음은 OSPF 재시작 라우터의 traceoptions 로그 출력입니다.
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
다음은 OSPF Helper 라우터의 traceoptions 로그 출력입니다.
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
CCC 및 TCC Graceful Restart 확인
CCC 및 TCC 연결에 대한 Graceful Restart 정보를 보려면 명령을 사용합니다 show connections
. 다음 예는 CE1과 CE2 사이의 4개의 원격 인터페이스 CCC 연결을 가정합니다.
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