IS-IS 프로토콜에 대한 백업 선택 정책 구성
IS-IS LFA(loop-free alternate) 경로에 대한 지원은 기본적으로 IS-IS에 대한 IP fast-reroute 기능을 추가합니다. Junos OS는 모든 IS-IS 경로에 대해 여러 루프 없는 백업 경로를 미리 계산합니다. 이러한 백업 경로는 패킷 포워딩 엔진에 사전 설치되어 로컬 복구를 수행하고 특정 경로의 기본 다음 홉에 대한 링크를 더 이상 사용할 수 없을 때 백업 경로를 구현합니다. LFA 선택은 지정된 대상으로 진행하기 위해 일치하는 LFA를 선택하여 무작위로 수행됩니다. 이렇게 하면 네트워크에 사용할 수 있는 최상의 백업 범위가 보장되지 않습니다. 최상의 LFA를 선택하기 위해 Junos OS는 각 대상(IPv4 및 IPv6) 및 기본 넥스트 홉 인터페이스에 대한 네트워크 전반의 백업 선택 정책을 구성할 수 있도록 지원합니다. 이러한 정책은 admin-group, srlg, bandwidth, protection-type, metric, neighbor 정보를 기반으로 평가됩니다.
IS-IS 프로토콜에 대한 백업 선택 정책 구성을 시작하기 전에 다음을 수행합니다.
라우터 인터페이스를 구성합니다. 라우팅 디바이스에 대한 Junos OS 네트워크 관리 가이드를 참조하십시오
내부 게이트웨이 프로토콜 또는 정적 라우팅을 구성합니다. 라우팅 디바이스에 대한 Junos OS 라우팅 프로토콜 라이브러리 참조
IS-IS 프로토콜에 대한 백업 선택 정책을 구성하려면 다음을 수행합니다.
- 패킷당 로드 밸런싱을 구성합니다.
[edit policy-options] user@host# set policy-statement ecmp term 1 then load-balance per-packet
- 모든 인터페이스에서 RSVP를 활성화합니다.
[edit protocols] user@host# set rsvp interface all
- 관리 그룹을 구성합니다.
[edit protocols mpls] user@host# set admin-groups group-name
- srlg 값을 구성합니다.
[edit routing-options] user@host# set srlg srlg-name srlg-value srlg-value
- 모든 인터페이스에서 MPLS를 사용하도록 설정합니다.
[edit protocols mpls] user@host# set interface all
- 인터페이스에 srlg를 구성합니다.
[edit protocols mpls] user@host# set interface interface-name srlg srlg-name
- 인터페이스에 관리 그룹을 구성합니다.
[edit protocols mpls] user@host# set interface interface-name admin-group group-name
- 링크 보호를 활성화하고 모든 인터페이스에서 메트릭 값을 구성합니다.
[edit protocols] user@host# set isis interface all level 2 metric 10
- 라우팅 테이블에서 포워딩 테이블로 내보낸 모든 equal-cost multipath에 라우팅 정책 적용.
[edit routing-options] user@host# set forwarding-table export ecmp
- IP 주소에 대한 백업 선택 정책의 관리 그룹을 구성합니다. 백업 경로에서 관리 그룹을 제외하거나, 모두 포함하거나, 일부를 포함하거나, 선호하도록 선택할 수 있습니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name admin-group
제외할 관리 그룹을 지정합니다.
[edit routing-options backup-selection destination ip-address interface interface-name admin-group] user@host# set exclude group-name
경로의 링크 중 하나라도 나열된 관리 그룹 중 하나를 가지고 있는 경우, 백업 경로는 LFA(loop-free alternate) 또는 백업 다음 홉으로 선택되지 않습니다.
예를 들어, 관리 그룹에서 그룹 c1을 제외하려면 다음을 수행합니다.
[edit routing-options backup-selection destination 0.0.0.0/0 interface all admin-group] user@host# set exclude c1
백업 경로의 각 링크에서 경로를 수락하기 위해 나열된 모든 관리 그룹이 필요한 경우 모든 관리 그룹을 구성합니다.
[edit routing-options backup-selection destination ip-address interface interface-name admin-group] user@host# set include-all group-name
예를 들어, 각 링크에서 경로를 수락하기 위해 나열된 모든 관리 그룹이 필요한 경우 모든 관리 그룹을 설정하려면 다음을 수행합니다.
[edit routing-options backup-selection destination 0.0.0.0/0 interface all admin-group] user@host# set include-all c2
백업 경로의 각 링크에서 경로를 선택하기 위해 나열된 관리 그룹 중 하나 이상이 필요한 경우 관리 그룹을 구성합니다.
[edit routing-options backup-selection destination ip-address interface interface-name admin-group] user@host# set include-any group-name
예를 들어, 백업 경로의 각 링크에서 경로를 선택하기 위해 나열된 관리 그룹 중 하나 이상이 필요한 경우 관리 그룹을 설정하려면 다음을 수행합니다.
[edit routing-options backup-selection destination 0.0.0.0/0 interface all admin-group] user@host# set include-any c3
백업 경로의 기본 설정을 지정하는 관리 그룹의 정렬된 집합을 정의합니다.집합에서 가장 왼쪽에 있는 요소에 가장 높은 우선 순위가 지정됩니다.
[edit routing-options backup-selection destination ip-address interface interface-name admin-group] user@host# set preference group-name
예를 들어, 백업 경로의 기본 설정을 지정하는 관리 그룹의 정렬된 집합을 설정하려면 다음을 수행합니다.
[edit routing-options backup-selection destination 0.0.0.0/0 interface all admin-group] user@host# set preference c4
- 대역폭이 기본 다음 홉의 대역폭보다 크거나 같은 경우에만 백업 다음 홉을 선택할 수 있도록 백업 경로를 구성합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name bandwidth-greater-equal-primary
- 백업 경로를 구성하여 단일 홉 이웃 또는 RSVP 백업 LSP(label-switched-path) 테일엔드 라우터와 같은 원격 라우터에서 최종 목적지까지 메트릭을 지정합니다. 대상 메트릭은 가장 높거나 낮을 수 있습니다.
대상 메트릭이 가장 높은 백업 경로를 구성합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name dest-metric highest
대상 메트릭이 가장 낮은 백업 경로를 구성합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name dest-metric lowest
- 대상에 대한 다운스트림 경로인 백업 경로를 구성합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name downstream-paths-only
- 백업 경로 선택 중 루트 및 대상 메트릭의 기본 설정 순서를 설정합니다. 기본 설정 순서는 다음과 같을 수 있습니다.
[root dest] — 루트 메트릭 기준을 기반으로 백업 경로 선택 또는 기본 설정이 먼저 지정됩니다. 모든 루트 메트릭의 기준이 동일한 경우 선택 또는 기본 설정은 dest-metric을 기반으로 합니다.
[dest root] — 먼저 dest-metric 기준을 기반으로 백업 경로 선택 또는 기본 설정이 지정됩니다. 모든 dest-metric의 기준이 동일하면 루트 메트릭을 기반으로 선택됩니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name metric-order root user@host# set backup-selection destination ip-address interface interface-name metric-order dest
- 백업 경로를 구성하여 백업 경로 선택에서 제외하거나 선호할 인접 이웃의 루프백 IP 주소 목록을 정의합니다. 이웃은 로컬(인접 라우터) 이웃, 원격 이웃 또는 백업 경로의 다른 라우터일 수 있습니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name neighbor
제외할 이웃 목록을 구성합니다.
[edit routing-options backup-selection destination ip-address interface interface-name neighbor] user@host# set exclude neighbor-address
목록의 라우터가 있는 백업 경로가 루프 프리 대안 또는 백업 다음 홉으로 선택되지 않습니다.
선호할 이웃의 정렬된 집합을 구성합니다.
[edit routing-options backup-selection destination ip-address interface interface-name neighbor] user@host# set preference neighbor-address
가장 왼쪽에 있는 인접 라우터가 있는 백업 경로가 선택됩니다.
- 백업 경로를 제외하거나 선호하도록 이웃별 백업 경로 정책을 정의합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface all neighbor-tag
route-tag가 있는 노드나 라우터가 경로에 있는 경우, 백업 경로를 loop-free 대안 또는 backup-next hop으로 선택하지 않도록 구성합니다.
[edit routing-options backup-selection destination ip-address interface interface-name neighbor-tag] user@host# set exclude route-tag
예를 들어, 경로에 1004 route-tag가 있는 노드나 라우터가 있는 경우, 백업 경로를 루프 없는 대안 또는 backup-next hop으로 선택하지 않으려면 다음을 수행합니다.
[edit routing-options backup-selection destination 0.0.0.0/0 interface all neighbor-tag] user@host# set exclude 1004
기본 설정의 내림차순으로 경로 태그 세트를 구성합니다.
[edit routing-options backup-selection destination ip-address interface interface-name neighbor-tag] user@host# set preference route-tag
예를 들어, 기본 설정의 내림차순으로 경로 태그 세트를 구성하는 방법:
[edit routing-options backup-selection destination 0.0.0.0/0 interface all neighbor-tag] user@host# set preference 1006
- 백업 경로를 구성하여 필요한 백업 경로 보호 유형을 링크, 노드 또는 노드 링크로 지정합니다.
링크 보호를 제공하는 백업 경로를 선택합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name protection-type link
노드 보호를 제공하는 백업 경로를 선택합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name protection-type node
노드 보호 LFA가 링크 보호 LFA보다 선호되는 노드 또는 링크 보호 LFA를 허용하는 백업 경로를 선택합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface interface-name protection-type node-link
- 단일 홉 이웃 또는 RSVP 백업 LSP(label-switched-path) tail-end 라우터와 같은 원격 라우터에 메트릭을 지정합니다.
루트 메트릭이 가장 높은 경로를 선택합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface all root-metric highest
루트 메트릭이 가장 낮은 경로를 선택합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface all root-metric lowest
- 기본 링크와 백업 경로의 각 링크 간에 공통된 SRLG(Shared Risk Link Group)을 허용하거나 거부하도록 백업 선택 경로를 구성합니다.
기본 링크와 백업 경로의 각 링크 간에 공통 SRLG를 허용하도록 백업 경로를 구성합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface all srlg loose
srlg 충돌 수가 적은 백업 경로가 선호됩니다.
기본 링크와 백업 경로의 각 링크 간에 공통 SRLG가 있는 백업 경로를 거부하도록 백업 경로를 구성합니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface all srlg strict
- 백업 경로를 구성하여 관리 그룹, SRLG, 대역폭, 보호 유형, neighbor, neighbor-tag, 메트릭을 기반으로 백업 경로를 평가하는 순서와 기준을 제어합니다. 기본 평가 순서는 admin-group, srlg, bandwidth, protection-type, neighbor, neighbor-tag, metric입니다.
[edit routing-options] user@host# set backup-selection destination ip-address interface all evaluation-order admin-group user@host# set backup-selection destination ip-address interface all evaluation-order srlg user@host# set backup-selection destination ip-address interface all evaluation-order bandwidth