RFC 5880은 양방향 전송 감지(BFD) 세션 상태에서 마지막 변경사항에 대한 로컬 시스템 이유를 지정하는 진단 코드를 정의합니다.
진단 메시지는 문제를 해결할 때 유용한 지표가 될 수 있습니다. Cloud Router 상태를 볼 때 이러한 메시지나 코드를 확인할 수 있습니다.
다음 표에는 BFD 진단 메시지, 숫자 오류 코드, 제안된 후속 작업이 나와 있습니다.
BFD 진단 메시지
숫자 코드
제안된 작업
NO_DIAGNOSTIC
0
사용 가능한 진단 정보가 없습니다. 자세한 내용은 RFC 5880의 BFD 상태 머신 섹션과 다음 섹션의 BFD 세션 상태 표를 참조하세요.
CONTROL_DETECTION_TIME_EXPIRED
1
로컬 BFD가 (num_rx_interval * bfd multiplier) 기간 내에 원격 측에서 제어 패킷을 수신하지 않았습니다. 전달 링크가 중지되거나 원격 시스템의 BFD가 제대로 작동하지 않을 때 이러한 문제가 발생할 수 있습니다.
원격 시스템과의 연결을 확인하고 원격 시스템의 BFD 세션 전송 카운터를 확인합니다.
ECHO_FUNCTION_FAILED
2
—
NEIGHBOR_SIGNALED_SESSION_DOWN
3
BFD 인접 항목에서 DOWN 신호를 보냈습니다. 원격 시스템 BFD 구성과 작동 상태를 확인합니다.
FORWARDING_PLANE_RESET
4
—
PATH_DOWN
5
—
CONCATENATED_PATH_DOWN
6
—
ADMINISTRATIVELY_DOWN
7
BFD 소프트웨어 업그레이드로 인해 관리자가 로컬 시스템의 BFD를 DOWN으로 설정했습니다. 업그레이드 후 상태가 백업되었는지 확인합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-05-29(UTC)"],[],[],null,["# BFD diagnostic messages and session states\n==========================================\n\n| **Important:** BFD can only be enabled on provisioned VLAN\n| attachments that use Dataplane version 2. You can view the `dataplaneVersion` for a\n| VLAN attachment by viewing the attachment details in one of the following ways:\n|\n| - **API** : Use the [interconnectAttachments.get](/compute/docs/reference/rest/v1/interconnectAttachments/get) method. You can use this method on VLAN attachments for either Dedicated Interconnect or Partner Interconnect.\n| - **Google Cloud CLI** : Use the `gcloud compute interconnects attachments describe\n| `\u003cvar translate=\"no\"\u003eATTACHMENT-NAME\u003c/var\u003e command where \u003cvar translate=\"no\"\u003eATTACHMENT-NAME\u003c/var\u003e is the name of the VLAN attachment for either Dedicated Interconnect or Partner Interconnect.\n|\n| In the output of the API or gcloud CLI command, look for the\n| `dataplaneVersion` field with a value of `2`. If the field is absent\n| from the output, the VLAN attachment is using version 1 and cannot be used with BFD. For more\n| information, contact your customer account team.\n|\n| The Cloud Interconnect Dataplane v2 is unrelated to\n| [Google Kubernetes Engine (GKE) Dataplane V2](/kubernetes-engine/docs/concepts/dataplane-v2)\n\n[RFC 5880](https://datatracker.ietf.org/doc/html/rfc5880#section-4.1)\ndefines diagnostic codes that specify the local system's reason for the last\nchange in the Bidirectional Forwarding Detection (BFD) session state.\nDiagnostic messages can be helpful indicators\nwhen troubleshooting. You can see these messages or codes when\n[viewing Cloud Router status](/network-connectivity/docs/router/how-to/viewing-router-details#viewing-router-status).\n\nThe following table lists BFD diagnostic messages, their numeric error codes,\nand suggested follow-up actions.\n\n\u003cbr /\u003e\n\n### BFD session states\n\nThe following table lists BFD session states and their numeric error codes.\n\n### BFD status messages\n\nYou can view BFD status messages under the `bfdStatus` field in command\noutput from the [`gcloud compute routers\nget-status` command](/sdk/gcloud/reference/compute/routers/get-status).\n\nFor field definitions and descriptions, see the\n[Cloud Router API documentation](/compute/docs/reference/rest/v1/routers/getRouterStatus).\n\nWhat's next\n-----------\n\n- To modify BFD settings on a BGP session, see\n [Update or disable BFD](/network-connectivity/docs/router/how-to/updating-bfd).\n\n- For information about BGP session states, see\n [BGP session states](/network-connectivity/docs/router/concepts/bgp-states).\n\n- To troubleshoot issues with Cloud Router, see\n [Troubleshooting](/network-connectivity/docs/router/resources/troubleshooting)."]]