Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Junos 구성에 OpenConfig BGP 명령 매핑

메모:

주니퍼 네트웍스 MX 시리즈, PTX 시리즈 및 QFX 시리즈에 대한 데이터 모델 지원 버전과 Junos OS 릴리스를 이해하려면 OpenConfig 데이터 모델 버전 항목을 참조하십시오.

아래 표에는 OpenConfig BGP 명령과 Junos의 관련 구성 매핑이 나와 있습니다.

AFI-SAFI 접두사 제한 구성

표 1: SRTE 정책 접두사 제한 구성

명령 이름

OpenConfig 명령 경로

Junos 구성

명령 경로 접두사:

  • IPv4—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/srte-policy-ipv4

  • IPv6—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/srte-policy-ipv6

Max-접두사

/prefix-limit-received/config/max-prefixes

protocols { 
   bgp {
      group <> {
         family (inet | inet6) {
            segment-routing-te {
               prefix-limit {
                  maximum <>;
               }
            }
         }
      }
   }
}
 

방지-분해

/prefix-limit-received/config/prevent-teardown

protocols { 
   bgp {
      group <> {
         family (inet | inet6) {
            segment-routing-te {
               prefix-limit {
                  teardown;
               }
            }
         }
      }
   }
}
 

경고 임계값 PCT

/prefix-limit-received/config/warning-threshold-pct

protocols { 
   bgp {
      group <> {
         family (inet | inet6) {
            segment-routing-te {
               prefix-limit {
                  teardown <>;
               }
            }
         }
      }
   }
}
 

AFI-SAFI 접두사 제한 수신 구성

표 2: 유니캐스트 접두사 제한 수신 구성

명령 이름

OpenConfig 명령 경로

Junos 구성

명령 경로 접두사:

  • IPv4—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/ipv4-unicast

  • IPv6—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/ipv6-unicast

Max-접두사

/prefix-limit-received/config/max-prefixes

protocols { 
   bgp {
      group <> {
         family (inet | inet6) {
            unicast {
               prefix-limit {
                  maximum <>;
               }
            }
         }
      }
   }
}
 

방지-분해

/prefix-limit-received/config/prevent-teardown

protocols { 
   bgp {
      group <> {
         family (inet | inet6) {
            unicast {
               prefix-limit {
                  teardown;
               }
            }
         }
      }
   }
}
 

경고 임계값 PCT

/prefix-limit-received/config/warning-threshold-pct

protocols { 
   bgp {
      group <> {
         family (inet | inet6) {
            unicast {
               prefix-limit {
                  teardown <>;
               }
            }
         }
      }
   }
}
 
표 3: 정책 구성

명령 이름

OpenConfig 명령 경로

Junos 구성

명령 경로 접두사:

  • openconfig-network-instance/네트워크 인스턴스/

피어 그룹 내보내기 정책

network-instance DEFAULT {
   config {
      type DEFAULT_INSTANCE;
   }
   protocols {
      protocol BGP bgp {
         bgp {
            neighbors {
               neighbor 1.1.1.1 {
                  config {
                     peer-group ext;
                  }
                     afi-safis {
                        afi-safi IPV4_UNICAST {
                           apply-policy {
                              config {
                                 export-policy send-direct;
                              }
                           }
                        }
                     }
                  }
               }
            }
        }
    }
}
protocols {
    bgp {
        group ext {
            type internal;
            local-as 200;
            neighbor 1.1.1.1 {
                family inet {
                    unicast {
                        export send-direct;
                    }
                }
            }
        }
    }
}

피어 그룹 가져오기 정책

network-instance DEFAULT {
   config {
      type DEFAULT_INSTANCE;
   }
   protocols {
      protocol BGP bgp {
         bgp {
            peer-groups {
               peer-group ext {
                  config {
                     local-as 200;
                     peer-type INTERNAL;
                  }
                  afi-safis {
                     afi-safi IPV4_UNICAST {
                        apply-policy {
                           config {
                              import-policy send-direct;
                           }
                        }
                     }
                  }
               }
            }
         }
      }
   }
}
protocols {
    bgp {
        group ext {
            type internal;
            family inet {
                unicast {
                    import send-direct;
                }
            }
            local-as 200;
        }
    }
}

인접 항목 내보내기 정책

network-instance DEFAULT {
   config {
      type DEFAULT_INSTANCE;
   }
   protocols {
      protocol BGP bgp {
         bgp {
            neighbors {
               neighbor 1.1.1.1 {
                  config {
                     peer-group ext;
                  }
                  afi-safis {
                     afi-safi IPV4_UNICAST {
                        apply-policy {
                           config {
                              export-policy send-direct;
                           }
                        }
                     }
                  }
               }
            }
         }
      }
   }
}
 protocols {
    bgp {
        group ext {
            type internal;
            local-as 200;
            neighbor 1.1.1.1 {
                family inet {
                    unicast {
                        export send-direct;
                    }
                }
            }
        }
    }
}

Neighbor 가져오기 정책

network-instance DEFAULT {
   config {
      type DEFAULT_INSTANCE;
   }
   protocols {
      protocol BGP bgp {
         bgp {
            neighbors {
               neighbor 1.1.1.1 {
                  config {
                     peer-group ext;
                  }
                  afi-safis {
                     afi-safi IPV4_UNICAST {
                        apply-policy {
                           config {
                              import-policy send-direct;
                           }
                        }
                     }
                  }
               }
            }
         }
      }
   }
} 
protocols {
    bgp {
        group ext {
            type internal;
            local-as 200;
            neighbor 1.1.1.1 {
                family inet {
                    unicast {
                        import send-direct;
                    }
                }
            }
        }
    }
}

글로벌 수출 정책

지원되지 않음

protocols {
    bgp {
        family inet {
            unicast {
                export send-direct;
            }
        }
    }
}

글로벌 수입 정책

지원되지 않음

protocols {
    bgp {
        family inet {
            unicast {
                import send-direct;
            }
        }
    }
}
메모:

계층 수준에서 내보내기 및 가져오기 정책의 afi-sai OpenConfig 구성은 IPv4 및 IPv6 유니캐스트에 대해서만 지원됩니다.

표 4: Labeled-Unicast Prefix-Limit-Received 구성

명령 이름

OpenConfig 명령 경로

Junos 구성

명령 경로 접두사:

  • IPv4—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/ipv4-labeled-unicast

  • IPv6—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/ipv6-labeled-unicast

  • L3 VPN-IPv4—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/l3vpn-ipv4-unicast

  • L3 VPN-IPv6—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/l3vpn-ipv6-unicast

Max-접두사

/prefix-limit-received/config/max-prefixes

protocols {
    bgp {
      group <> {
         family (inet | inet6 | 
          inet-vpn | inet6-vpn) {
            labeled-unicast {
               prefix-limit {
                  maximum <>;
               }
            }
         }
      }
   }
}
 

방지-분해

/prefix-limit-received/config/prevent-teardown

protocols { 
   bgp {
      group <> {
         family (inet | inet6 | 
          inet-vpn | inet6-vpn) {
            labeled-unicast {
               prefix-limit {
                  teardown;
               }
            }
         }
      }
   }
}
 

경고 임계값 PCT

/prefix-limit-received/config/warning-threshold-pct

protocols { 
   bgp {
      group <> {
         family (inet | inet6 | 
          inet-vpn | inet6-vpn) {
            labeled-unicast {
               prefix-limit {
                  teardown <>;
               }
            }
         }
      }
   }
}
 
표 5: L3 VPN 멀티캐스트 접두사 제한 수신 구성

명령 이름

OpenConfig 명령 경로

Junos 구성

명령 경로 접두사:

  • IPv4—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/l3vpn-ipv4-multicast

  • IPv6—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/l3vpn-ipv6-multicast

Max-접두사

/prefix-limit-received/config/max-prefixes

protocols {
   bgp {
      group <> {
         family (inet-vpn |
          inet6-vpn) {
            multicast {
               prefix-limit {
                  maximum <>;
               }
            }
         }
      }
   }
}
 

방지-분해

/prefix-limit-received/config/prevent-teardown

protocols { 
   bgp {
      group <> {
         family (inet-vpn |
          inet6-vpn) {
            labeled-unicast {
               prefix-limit {
                  teardown;
               }
            }
         }
      }
   }
}
 

경고 임계값 PCT

/prefix-limit-received/config/warning-threshold-pct

protocols { 
   bgp {
      group <> {
         family (inet-vpn |
          inet6-vpn) {
            labeled-unicast {
               prefix-limit {
                  teardown <>;
               }
            }
         }
      }
   }
}
 
표 6: L2 VPN VPLS 접두사 제한 수신 구성

명령 이름

OpenConfig 명령 경로

Junos 구성

명령 경로 접두사:

  • /network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/l2vpn-vpls

Max-접두사

/prefix-limit-received/config/max-prefixes

protocols {
   bgp {
      group <> {
         family l2vpn {
            signaling {
               prefix-limit {
                  maximum <>;
               }
            }
         }
      }
   }
}
 

방지-분해

/prefix-limit-received/config/prevent-teardown

protocols { 
   bgp {
      group <> {
         family l2vpn {
            signaling {
               prefix-limit {
                  teardown;
               }
            }
         }
      }
   }
}
 

경고 임계값 PCT

/prefix-limit-received/config/warning-threshold-pct

protocols { 
   bgp {
      group <> {
         family l2vpn {
            signaling {
               prefix-limit {
                  teardown <>;
               }
            }
         }
      }
   }
}
 
표 7: L2 VPN EVPN 접두사 제한 수신 구성

명령 이름

OpenConfig 명령 경로

Junos 구성

명령 경로 접두사:

  • /network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/l2vpn-evpn

Max-접두사

/prefix-limit-received/config/max-prefixes

protocols {
   bgp {
      group <> {
         family evpn {
            signaling {
               prefix-limit {
                  maximum <>;
               }
            }
         }
      }
   }
}
 

방지-분해

/prefix-limit-received/config/prevent-teardown

protocols { 
   bgp {
      group <> {
         family evpn {
            signaling {
               prefix-limit {
                  teardown;
               }
            }
         }
      }
   }
}
 

경고 임계값 PCT

/prefix-limit-received/config/warning-threshold-pct

protocols { 
   bgp {
      group <> {
         family evpn {
            signaling {
               prefix-limit {
                  teardown <>;
               }
            }
         }
      }
   }
}
 
표 8: SRTE 정책 접두사 제한 수신 구성

명령 이름

OpenConfig 명령 경로

Junos 구성

명령 경로 접두사:

  • IPv4—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/srte-policy-ipv4

  • IPv6—/network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/afi-safi/afi-safi-name/<afi-safi-name>/srte-policy-ipv6

Max-접두사

/prefix-limit-received/config/max-prefixes

protocols { 
   bgp {
      group <> {
         family (inet | inet6) {
            segment-routing-te {
               prefix-limit {
                  maximum <>;
               }
            }
         }
      }
   }
}
 

방지-분해

/prefix-limit-received/config/prevent-teardown

protocols { 
   bgp {
      group <> {
         family (inet | inet6) {
            segment-routing-te {
               prefix-limit {
                  teardown;
               }
            }
         }
      }
   }
}
 

경고 임계값 PCT

/prefix-limit-received/config/warning-threshold-pct

protocols { 
   bgp {
      group <> {
         family (inet | inet6) {
            segment-routing-te {
               prefix-limit {
                  teardown <>;
               }
            }
         }
      }
   }
}