귀하의 경험을 개선할 수 있도록 도와주십시오.

귀하의 의견을 알려주십시오.

2분이 소요되는 설문 조사에 시간을 내주시겠습니까?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
BGP 사용자 가이드
Table of Contents Expand all
list Table of Contents

이 기계 번역이 도움이 되었습니까?

starstarstarstarstar
Go to English page
면책 조항:

이 페이지는 타사 기계 번역 소프트웨어를 사용해 번역됩니다. 주니퍼 네트웍스에서는 우수한 품질의 번역을 제공하기 위한 합리적인 수준의 노력을 기울이지만 해당 컨텐츠의 정확성을 보장할 수 없습니다. 본 번역에 포함된 정보의 정확성과 관련해 의문이 있는 경우 영문 버전을 참조하시기 바랍니다. 다운로드 가능한 PDF는 영어로만 제공됩니다.

BGP 오류 메시지

date_range 19-Jan-25

BGP 업데이트 메시지에 대한 오류 처리 이해

메시지 속성 중 하나라도 형식이 잘못되면 BGP 메시지의 형식이 잘못된 것으로 간주됩니다. BGP 세션에 참여하는 라우터가 잘못된 형식의 업데이트 메시지를 수신하면 기본적으로 전체 세션이 재설정됩니다. 이는 유효한 경로를 가진 업데이트 메시지도 영향을 받기 때문에 바람직하지 않습니다. 이러한 바람직하지 않은 동작을 방지하려면 BGP 업데이트 메시지에 대한 오류 처리를 수정해야 합니다.

BGP 업데이트 메시지에 대한 오류 처리를 구성하려면 , [edit protocols bgp group group-name]또는 [edit protocols bgp group group-name neighbor address] 계층 수준에서 문을 [edit protocols bgp]구성합니다bgp-error-tolerance.

content_copy zoom_out_map
bgp-error-tolerance {
    malformed-route-limit number;
    malformed-update-log-interval seconds;
    no-malformed-route-limit;
}

속성에 속성 유형 필드의 값과 충돌하는 속성 플래그가 포함된 경우, 속성 플래그가 올바른 값으로 재설정되고 업데이트 메시지가 처리됩니다. 속성 플래그의 Extended Length 비트 값은 속성 길이가 1 옥텟인지 또는 2옥텟인지를 정의하기 때문에 변경되지 않습니다. 따라서 속성 플래그의 값은 BGP 업데이트 패킷이 구문 분석되는 방식에 영향을 미칩니다.

주:

경로 속성의 속성 플래그 값에 대한 명시적 스펙은 없습니다.

Junos OS 릴리스 24.2R1부터 BGP 오류 처리가 기본적으로 활성화됩니다. 이 구성 문 아래에는 , , malformed-update-log-intervalno-malformed-route-limit 와(과) 같은 malformed-route-limit하위 옵션을 구성할 수 있습니다. 문을 삭제 bgp-error-tolerance 해도 기능은 여전히 활성화된 상태로 유지되며 하위 옵션은 기본값으로 재설정됩니다.

잘못된 형식의 업데이트 메시지는 메시지에 포함된 속성 값에 따라 사례별로 처리됩니다. 잘못된 형식의 BGP 업데이트 메시지를 처리하는 방법에는 세 가지가 있으며, 심각도가 내림차순으로 나열되어 있습니다.

  1. Notification message approach- 잘못된 형식의 메시지 오류가 로컬에 기록되고, 오류 코드 업데이트 메시지가 피어 관리로 전송되며, 전체 BGP 세션이 재설정됩니다.

    이 접근 방식은 다음과 같은 경우에 선택됩니다.

    • BGP 업데이트 메시지에는 MP 도달 범위 속성 또는 MP 도달 해제 속성이 포함되어 있습니다.

    • NLRI 필드 또는 BGP 업데이트 메시지는 속성 길이와 속성 길이 필드 값이 일치하지 않아 올바르게 구문 분석할 수 없습니다.

  2. Treat-as-withdraw approach- 문이 구성되지 않는 한 keep none 잘못된 형식의 업데이트 메시지 내의 모든 경로는 숨겨진 경로로 취급되며, 이 경우 경로는 삭제됩니다. 명령문이 없는 keep none 경우, 숨겨진 잘못된 형식의 경로 수는 제한으로 구성되며, 이 제한을 초과하면 경로가 폐기되고 더 이상의 잘못된 형식의 경로가 숨겨지지 않습니다. Junos OS는 잘못 구성된 경로 제한에 도달하면 새로 수신된 잘못된 경로를 제거합니다.

  3. Attribute discard approach- 업데이트 메시지의 잘못된 속성이 삭제됩니다. 그러나 메시지는 처리됩니다. 삭제할 속성이 경로 선택 또는 설치에 영향을 줄 수 있는 경우 이 접근 방식을 사용하지 않는 것이 좋습니다.

    주:

    특성이 업데이트 메시지에 두 번 이상 나타나는 경우 첫 번째 항목을 제외한 모든 특성 항목이 삭제되고 메시지가 처리됩니다.

BGP 업데이트 메시지는 다음 속성에 대해 스캔되며 이러한 속성의 값에 따라 잘못된 형식으로 처리됩니다.

  • The origin attribute- 철회 처리 방식으로 처리됩니다.

  • The AS path attribute- 철회 처리 방식으로 처리됩니다.

  • The AS 4 path attribute- 속성 폐기 접근 방식에 의해 처리됩니다.

  • The aggregator attribute- 속성 폐기 접근 방식에 의해 처리됩니다.

  • The aggregator 4 attribute- 속성 폐기 접근 방식에 의해 처리됩니다.

  • The next-hop attribute- 철회 처리 방식으로 처리됩니다.

  • The multiple exit discriminator attribute- 철회 처리 방식으로 처리됩니다.

  • The local preference attribute- 철회 처리 방식으로 처리됩니다.

  • The atomic aggregate attribute- 속성 폐기 접근 방식에 의해 처리됩니다.

  • The community attribute- 철회 처리 방식으로 처리됩니다.

  • The extended community attribute- 철회 처리 방식으로 처리됩니다.

  • The originator attribute- 철회 처리 방식으로 처리됩니다.

  • The cluster attribute- 철회 처리 방식으로 처리됩니다.

  • The PMSI attribute- 철회 처리 방식으로 처리됩니다.

  • The MP reach attribute- 알림 메시지 접근 방식에 의해 처리됩니다.

  • The MP unreach attribute- 알림 메시지 접근 방식에 의해 처리됩니다.

  • The attribute set attribute- 철회 처리 방식으로 처리됩니다.

  • The AIGP attribute- 철회 처리 방식으로 처리됩니다.

  • Unknown attribute- BGP 플래그가 이것이 선택적 속성임을 나타내지 않는 경우, 이 잘못된 속성은 알림 메시지 접근 방식에 의해 처리됩니다.

주:

BGP 업데이트 메시지에 잘못된 형식의 속성이 여러 개 포함된 경우 속성 중 하나에 의해 트리거되는 가장 심각한 접근 방식을 따릅니다.

다음은 BGP 오류 메시지 출력 샘플입니다.

content_copy zoom_out_map
user@R1> show log messages
Sep 18 17:54:13 R1 rpd[86600]: Received malformed update from 10.10.10.2 (External AS 64511) 
Sep 18 17:54:13 R1 rpd[86600]: Family inet-unicast, prefix 100.1.1.0/24 
Sep 18 17:54:13 R1 rpd[86600]: Malformed Attribute ORIGIN(1) flag 0x40 length 1 error 6 (Unrecognized ORIGIN attribute). 
Sep 18 17:54:13 R1 rpd[86600]: Malformed Attribute LOCAL_PREF(5) flag 0x40 length 6 error 5 (Attribute length error).

이 예에는 origin(ORIGIN) 및 local preference(LOCAL_PREF) 잘못된 형식의 속성이 표시됩니다.

예: BGP 업데이트 메시지에 대한 오류 처리 구성

이 예에서는 BGP 오류 처리를 구성하는 방법을 보여 줍니다.

요구 사항

시작하기 전에:

  • 라우터 인터페이스를 구성합니다.

  • 내부 게이트웨이 프로토콜(IGP)을 구성합니다.

  • BGP를 구성합니다.

  • 라우팅 정책을 구성합니다.

개요

라우팅 디바이스가 잘못된 형식의 속성을 가진 업데이트 메시지를 수신하면 라우터는 세션을 재설정해야 합니다. 이는 RFC 4271, BGP-4(Border Gateway Protocol 4)에 명시되어 있습니다. 세션 재설정은 문제가 되는 속성이 있는 경로뿐만 아니라 세션을 통해 교환되는 다른 유효한 경로에도 영향을 미칩니다. 또한 이 동작은 선택적 전이적 특성의 경우 잠재적인 보안 취약성을 나타낼 수 있습니다. 잘못된 형식의 업데이트 메시지가 라우팅에 미치는 영향을 최소화하기 위해 인터넷 초안 draft-ietf-idr-error-handling-01.txt인 BGP UPDATE 메시지에 대한 수정된 오류 처리 에는 잘못된 형식의 속성이 있는 BGP 업데이트 메시지를 처리하기 위한 수정 사항이 지정되어 있습니다. 새로운 오류 처리를 통해 잘못된 형식의 UPDATE 메시지에 전달된 경로를 제거하면서 설정된 세션을 유지하고 교환된 유효한 경로를 유지할 수 있습니다.

토폴로지

에서 그림 1디바이스 R1은 디바이스 R0과의 내부 BGP 피어링 세션 및 디바이스 R2와의 외부 BGP 피어링 세션을 가지고 있습니다.

그림 1: BGP 오류 처리 예제 토폴로지BGP 오류 처리 예제 토폴로지

네트워크 불안정을 야기하는 잘못된 형식의 업데이트 메시지로부터 보호하기 위해 디바이스 R1에는 다음과 같이 BGP 오류 처리가 구성되어 있습니다.

content_copy zoom_out_map
bgp-error-tolerance {
    malformed-update-log-interval 10;
    malformed-route-limit 5;
}

기본적으로 메시지 속성 중 하나가 잘못된 형식이면 BGP 메시지의 형식이 잘못된 것으로 간주됩니다. BGP 세션에 참여하는 라우터가 잘못된 형식의 업데이트 메시지를 수신하면 전체 세션이 재설정됩니다. 명령문은 bgp-error-tolerance 다음 BGP 오류 처리가 적용되도록 이 동작을 재정의합니다.

  • 치명적인 오류의 경우, Junos OS는 오류 코드 업데이트 메시지라는 제목의 알림 메시지를 보내고 BGP 세션을 재설정합니다. MP_{UN}REACH 속성의 오류는 치명적인 것으로 간주됩니다. 하나의 BGP 업데이트에 여러 MP_{UN}REACH 속성이 있는 것도 치명적인 오류로 간주됩니다. Junos OS는 NLRI 필드 또는 BGP 업데이트를 올바르게 구문 분석할 수 없는 경우 BGP 세션을 재설정합니다. 속성 길이가 속성 값의 길이와 일치하지 않을 때 BGP 업데이트 패킷을 구문 분석하지 못할 수 있습니다.

  • 일부 치명적이지 않은 오류의 경우, Junos OS는 BGP 구성에 문이 포함되지 않는 한 keep none 잘못된 형식의 BGP 업데이트 메시지에 포함된 모든 경로를 철회된 경로로 처리하고 숨겨진 것으로 설치합니다. Junos OS는 다음 속성 중 하나와 관련된 경우에 이 오류 처리 접근 방식을 사용합니다. ORIGIN, AS_PATH, NEXT_HOP, MULTI_EXIT_DISC, LOCAL_PREF, ORIGINATOR, CLUSTER, ATTRSET, PMSI, Community 및 Extended Community. 또한 잘 알려진 필수 경로 속성 중 하나라도 누락된 경우 Junos OS는 BGP 업데이트를 잘못된 형식으로 간주합니다. 이러한 잘못된 형식의 숨겨진 경로의 메모리 사용을 제한하기 위해 Junos OS는 이러한 잘못된 형식의 숨겨진 경로의 최대 수에 도달한 후 새로운 잘못된 형식의 숨겨진 경로 설치를 중단합니다. 이 예에서 최대 수는 문을 사용하여 5로 malformed-route-limit 설정됩니다. 기본값은 1000입니다. 선택적으로 잘못된 특성으로 인해 숨겨진 경로를 무제한으로 허용할 수 있습니다. 문을 포함하여 no-malformed-route-limit 이 작업을 수행합니다.

  • 다른 치명적이지 않은 오류의 경우, Junos OS는 잘못된 경로 속성을 폐기하고 BGP 업데이트 메시지를 계속 처리합니다. 경로 선택 또는 설치에 영향을 줄 수 있는 경로 속성에 이 접근 방식을 사용하는 것은 안전하지 않습니다. Junos OS는 다음 속성 중 하나와 관련된 경우에 이 오류 처리 접근 방식을 사용합니다. ATOMIC_AGGREGATE, AGGREGATOR, AGGREGATOR4 및 AS4PATH.

잘못된 형식의 패킷에 대한 문제 해결을 용이하게 하기 위해 Junos OS는 잘못된 형식의 경로 속성 코드, 플래그, 길이, 피어 및 제품군에 대한 정보, 잘못된 형식의 BGP 업데이트의 첫 번째 접두사를 나열하는 오류를 기록합니다. 짧은 시간에 많은 수의 잘못된 패킷이 수신되는 경우 잘못된 형식의 패킷을 로깅하면 Junos OS 성능이 느려질 수 있습니다. 성능에 미치는 영향을 제한하기 위해 Junos OS는 잘못된 형식의 업데이트를 기록하고, 일정 간격 동안 로깅을 억제하며, 요약을 기록하는 알고리즘을 구현합니다. 로깅 억제 타이머가 만료되면 소프트웨어는 간격 동안 수신된 총 잘못된 속성 수를 로깅합니다. 이 예에서 타이머는 문을 사용하여 10초로 malformed-update-log-interval 설정됩니다. 기본값은 300초(5분)입니다.

CLI 빠른 구성은(는) 그림 1 내 모든 디바이스의 구성을 보여줍니다.

섹션 #d203e119__d203e310은 디바이스 R1의 단계를 설명합니다.

구성

CLI 빠른 구성

이 예를 빠르게 구성하려면, 아래 명령을 복사하여 텍스트 파일로 붙여 넣은 다음 모든 라인브레이크를 제거하고, 네트워크 구성을 일치하는 데 필요한 세부 사항을 바꾸고 [edit] 계층 수준에서 명령을 CLI로 복사해 붙여 넣습니다.

디바이스 R0

content_copy zoom_out_map
set  interfaces fe-1/2/0 unit 0 description to-R1
set  interfaces fe-1/2/0 unit 0 family inet address 172.16.10.5/30
set  interfaces lo0 unit 0 family inet address 192.168.0.3/32
set  protocols bgp group internal-peers type internal
set  protocols bgp group internal-peers local-address 192.168.0.3
set  protocols bgp group internal-peers export local-direct
set  protocols bgp group internal-peers neighbor 192.168.0.1
set  protocols ospf area 0.0.0.0 interface fe-1/2/0.0
set  protocols ospf area 0.0.0.0 interface lo0.0 passive
set  policy-options policy-statement local-direct from protocol [local direct]
set  policy-options policy-statement local-direct then accept
set  routing-options autonomous-system 64510
set  routing-options router-id 192.168.0.3

디바이스 R1

content_copy zoom_out_map
set  interfaces fe-1/2/1 unit 0 description to-R2
set  interfaces fe-1/2/1 unit 0 family inet address 10.10.10.1/30
set  interfaces fe-1/2/0 unit 0 description to-R0
set  interfaces fe-1/2/0 unit 0 family inet address 172.16.10.6/30
set  interfaces lo0 unit 0 family inet address 192.168.0.1/32
set  protocols bgp bgp-error-tolerance malformed-update-log-interval 10
set  protocols bgp bgp-error-tolerance malformed-route-limit 5
set  protocols bgp group internal-peers type internal
set  protocols bgp group internal-peers local-address 192.168.0.1
set  protocols bgp group internal-peers export local-direct
set  protocols bgp group internal-peers neighbor 192.168.0.3
set  protocols bgp group external-peers type external
set  protocols bgp group external-peers export local-direct
set  protocols bgp group external-peers peer-as 64511
set  protocols bgp group external-peers neighbor 10.10.10.2
set  protocols ospf area 0.0.0.0 interface fe-1/2/1.0
set  protocols ospf area 0.0.0.0 interface fe-1/2/0.0
set  protocols ospf area 0.0.0.0 interface lo0.0 passive
set  policy-options policy-statement local-direct from protocol [local direct]
set  policy-options policy-statement local-direct then accept
set  routing-options autonomous-system 64510
set  routing-options router-id 192.168.0.1

디바이스 R2

content_copy zoom_out_map
set  interfaces fe-1/2/1 unit 0 description to-R1
set  interfaces fe-1/2/1 unit 0 family inet address 10.10.10.2/30
set  interfaces lo0 unit 0 family inet address 192.168.0.2/32
set  protocols bgp group external-peers type external
set  protocols bgp group external-peers export local-direct
set  protocols bgp group external-peers peer-as 64510
set  protocols bgp group external-peers neighbor 10.10.10.1
set  protocols ospf area 0.0.0.0 interface fe-1/2/1.0
set  protocols ospf area 0.0.0.0 interface lo0.0 passive
set  policy-options policy-statement local-direct from protocol [local direct]
set  policy-options policy-statement local-direct then accept
set  routing-options autonomous-system 64511
set  routing-options router-id 192.168.10.2

절차

단계별 절차

다음 예는 구성 계층에서 다양한 수준의 탐색이 필요합니다. CLI 탐색 관련 정보는 Junos OS CLI 사용자 가이드구성 모드에서의 CLI 편집기 사용을 참조하십시오.

BGP 오류 처리를 구성하려면 다음을 수행합니다.

  1. 라우터 인터페이스를 구성합니다.

    content_copy zoom_out_map
    [edit interfaces]
    user@R1# set fe-1/2/1 unit 0 description to-R2
    user@R1# set fe-1/2/1 unit 0 family inet address 10.10.10.1/30
    user@R1# set fe-1/2/0 unit 0 description to-R0
    user@R1# set fe-1/2/0 unit 0 family inet address 172.16.10.6/30
    user@R1# set lo0 unit 0 family inet address 192.168.0.1/32
    
  2. OSPF 또는 IS-IS와 같은 내부 게이트웨이 프로토콜(IGP)을 구성합니다.

    content_copy zoom_out_map
    [edit protocols ospf area 0.0.0.0]
    user@R1# set interface fe-1/2/1.0
    user@R1# set interface fe-1/2/0.0
    user@R1# set interface lo0.0 passive
    
  3. 자율 시스템(AS) 번호 및 라우터 ID를 구성합니다.

    content_copy zoom_out_map
    [edit routing-options]
    user@R1# set autonomous-system 64510
    user@R1# set router-id 192.168.0.1
    
  4. 라우팅 정책 구성

    content_copy zoom_out_map
    [edit policy-options policy-statement local-direct]
    user@R1# set from protocol [local direct]
    user@R1# set then accept
    
  5. EBGP 세션을 구성합니다.

    content_copy zoom_out_map
    [edit protocols bgp group external-peers]
    user@R1# set type external
    user@R1# set export local-direct
    user@R1# set peer-as 64511
    user@R1# set neighbor 10.10.10.2
    
  6. IBGP 세션을 구성합니다.

    content_copy zoom_out_map
    [edit protocols bgp group internal-peers]
    user@R1# set type internal
    user@R1# set local-address 192.168.0.1
    user@R1# set export local-direct
    user@R1# set neighbor 192.168.0.3
    
  7. BGP 오류 허용 오차를 활성화합니다.

    content_copy zoom_out_map
    [edit protocols bgp]
    user@R1# set bgp-error-tolerance 
    
  8. (선택 사항) 로그 간격을 구성합니다.

    content_copy zoom_out_map
    [edit protocols bgp bgp-error-tolerance]
    user@R1# set malformed-update-log-interval 10
    
  9. (선택 사항) 저장할 숨겨진 경로 수에 대한 제한을 구성합니다.

    content_copy zoom_out_map
    [edit protocols bgp bgp-error-tolerance]
    user@R1# set malformed-route-limit 5
    
결과

구성 모드에서 , show protocols, show policy-optionsshow routing-options, 명령을 입력하여 show interfaces구성을 확인합니다. 출력 결과가 의도한 구성대로 표시되지 않으면 이 예의 지침을 반복하여 구성을 수정하십시오.

content_copy zoom_out_map
user@R1# show interfaces
fe-1/2/0 {
    unit 0 {
        description to-R0;
        family inet {
            address 172.16.10.6/30;
        }
    }
}
fe-1/2/1 {
    unit 0 {
        description to-R2;
        family inet {
            address 10.10.10.1/30;
        }
    }
}
lo0 {
    unit 0 {
        family inet {
            address 192.168.0.1/32;
        }
    }
}
content_copy zoom_out_map
user@R1# show protocols
bgp {
    bgp-error-tolerance {
        malformed-update-log-interval 10;
        malformed-route-limit 5;
    }
    group internal-peers {
        type internal;
        local-address 192.168.0.1;
        export local-direct;
        neighbor 192.168.0.3;
    }
    group external-peers {
        type external;
        export local-direct;
        peer-as 64511;
        neighbor 10.10.10.2;
    }
}
ospf {
    area 0.0.0.0 {
        interface fe-1/2/1.0;
        interface fe-1/2/0.0;
        interface lo0.0 {
            passive;
        }
    }
}
content_copy zoom_out_map
user@R1# show policy-options
policy-statement local-direct {
    from protocol [local direct];
    then accept;
}
content_copy zoom_out_map
user@R1# show routing-options
router-id 192.168.0.1;
autonomous-system 64510;

디바이스 구성이 완료되면 구성모드에서 commit을(를) 입력합니다.

검증

구성이 올바르게 작동하고 있는지 확인합니다.

BGP 인접 세션 확인

목적

BGP 오류 허용성이 사용하도록 설정되어 있는지 확인하고 잘못된 경로 특성과 관련된 카운터를 표시합니다.

작업
content_copy zoom_out_map
user@R1# show bgp neighbor
Peer: 10.10.10.2+50058 AS 64511 Local: 10.10.10.1+179 AS 64510
  Type: External    State: Established    Flags: <Sync>
  Last State: OpenConfirm   Last Event: RecvKeepAlive
  Last Error: None
  Export: [ local-direct ] 
  Options: <Preference PeerAS Refresh>
  Holdtime: 90 Preference: 170
  Number of flaps: 0
  Malformed attributes    log interval: 10   route limit: 5
    Attribute:           ORIGIN(1) Last Received: 0 Total Received: 3
    Attribute:       LOCAL_PREF(5) Last Received: 0 Total Received: 2
  Peer ID: 192.168.10.2    Local ID: 192.168.10.1      Active Holdtime: 90
  Keepalive Interval: 30         Group index: 0    Peer index: 0   
  BFD: disabled, down
  Local Interface: fe-1/2/1.0                       
  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)
  Stale routes from peer are kept for: 300
  Peer does not support Restarter functionality
  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
  Peer supports 4 byte AS extension (peer-as 64511)
  Peer does not support Addpath
  Table inet.0 Bit: 10000
    RIB State: BGP restart is complete
    Send state: in sync
    Active prefixes:              0
    Received prefixes:            3
    Accepted prefixes:            0
    Suppressed due to damping:    0
    Advertised prefixes:          2
  Last traffic (seconds): Received 25   Sent 17   Checked 73  
  Input messages:  Total 2702   Updates 10      Refreshes 0     Octets 51652
  Output messages: Total 2701   Updates 6       Refreshes 0     Octets 51571
  Output Queue[0]: 0

Peer: 192.168.10.3+179 AS 64510 Local: 192.168.10.1+51127 AS 64510
  Type: Internal    State: Established    Flags: <Sync>
  Last State: OpenConfirm   Last Event: RecvKeepAlive
  Last Error: None
  Export: [ local-direct ] 
  Options: <Preference LocalAddress Refresh>
  Local Address: 192.168.10.1 Holdtime: 90 Preference: 170
  Number of flaps: 0
  Malformed attributes    log interval: 10   route limit: 5
  Peer ID: 192.168.10.3    Local ID: 192.168.10.1      Active Holdtime: 90
  Keepalive Interval: 30         Group index: 1    Peer index: 0   
  BFD: disabled, down
  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)
  Stale routes from peer are kept for: 300
  Peer does not support Restarter functionality
  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
  Peer supports 4 byte AS extension (peer-as 64510)
  Peer does not support Addpath         
  Table inet.0 Bit: 10001
    RIB State: BGP restart is complete
    Send state: in sync
    Active prefixes:              0
    Received prefixes:            3
    Accepted prefixes:            0
    Suppressed due to damping:    0
    Advertised prefixes:          2
  Last traffic (seconds): Received 5    Sent 24   Checked 51  
  Input messages:  Total 417    Updates 3       Refreshes 0     Octets 8006
  Output messages: Total 421    Updates 2       Refreshes 0     Octets 8136
  Output Queue[0]: 0
의미

잘못된 형식의 속성 필드는 오류 허용 오차가 활성화되어 있음을 보여줍니다. 로그 간격 및 경로 제한 필드에는 구성된 값이 표시됩니다.

속성 카운터는 EBGP 연결에서 디바이스 R2에서 몇 가지 잘못된 형식의 속성이 수신되었음을 보여줍니다.

숨겨진 경로 확인

목적

숨겨진 경로에 대한 정보를 보고 숨겨진 이유를 알아봅니다.

작업
content_copy zoom_out_map
user@R1> show route hidden detail
inet.0: 42 destinations, 45 routes (36 active, 0 holddown, 6 hidden)
10.0.0.0/32 (1 entry, 0 announced)
         BGP   
                Next hop type: Router
                Address: 0x93d8b0c
                Next-hop reference count: 5
                Source: 10.10.10.2
                Next hop type: Router, Next hop index: 782
                Next hop: via fe-1/2/1.0, selected
                Session Id: 0x1
                State: <Hidden  Ext>
                Local AS:     1 Peer AS:     1
                Age: 5:32       Metric2: 1 
                Validation State: unverified 
                Task: BGP_1.10.10.5.62+56218
                AS path: I (MalformedAttr) 
                Router ID: 192.168.0.2

10.0.0.1/32 (1 entry, 0 announced)
         BGP   
                Next hop type: Router
                Address: 0x93d8b0c
                Next-hop reference count: 5
                Source: 10.10.10.2
                Next hop type: Router, Next hop index: 782
                Next hop: via fe-1/2/1.0, selected
                Session Id: 0x1
                Indirect next hop: 953c000 - INH Session ID: 0x3
                State: <Hidden Int Ext>
                Local AS:     1 Peer AS:     1
                Age: 5:32       Metric2: 1 
                Validation State: unverified 
                Task: BGP_1.10.10.5.62+56218
                AS path: I (MalformedAttr)
                Router ID: 192.168.0.2
의미

잘못된 형식의 숨겨진 경로는 AS 경로 필드에 MalformedAttr로 표시됩니다.

명령을 실행하여 숨겨진 경로를 제거할 수 있습니다 clear bgp neighbor 10.10.10.2 malformed-route .

숨겨진 경로의 소스 확인

목적

숨겨진 경로에 대한 정보를 보고 숨겨진 이유를 알아봅니다.

작업
content_copy zoom_out_map
user@R1> show route receive-protocol bgp 10.10.10.2 detail hidden
inet.0: 42 destinations, 45 routes (36 active, 0 holddown, 6 hidden)
  10.0.0.0/32 (1 entry, 0 announced)
     Nexthop: 10.10.10.2
     Localpref: 100
     AS path: I (MalformedAttr)  

  10.0.0.1/32 (1 entry, 0 announced)
     Nexthop: 10.10.10.2
     Localpref: 100
     AS path: I (MalformedAttr)
의미

Junos OS는 명령 출력의 AS 경로 필드에 MalformedAttr을 show route receive-protocol bgp 10.10.10.2 detail hidden 표시합니다.

명령을 실행하여 숨겨진 경로를 제거할 수 있습니다 clear bgp neighbor 10.10.10.2 malformed-route .

footer-navigation