OSPF 인터페이스에서 애플리케이션별 링크 속성 구성
Junos OS 및 Junos OS Evolved 릴리스 22.2R1부터 동일한 링크에서 RSVP 및 유연한 알고리즘에 대해 te-metric, delay-metric 또는 admin-groups와 같은 다양한 te 속성을 광고할 수 있습니다. 이는 RFC 8920에 정의된 대로 유연한 알고리즘별 애플리케이션별 링크 속성을 사용하여 수행됩니다.
OSPF 인터페이스에서 유연한 알고리즘 기반 애플리케이션별 링크 속성 구성 방법:
- OSPF 영역을 만듭니다.
[edit protocols] user@host#set protocols ospf area area-id
예를 들어:
[edit protocols] user@host#set protocols ospf area 0.0.0.0
- 인터페이스를 지정합니다.
[edit protocols ospf area 0.0.0.0] user@host#set interface interface-name
예를 들어:
[edit protocols ospf area 0.0.0.0] user@host#set interface ge-0/0/0.0
- 디바이스의 OSPF 인터페이스에서 애플리케이션별 링크 속성을 구성합니다.
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0] user@host#set application-specific
- 속성 그룹을 지정합니다.
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific] user@host#set attribute-group name
예를 들어:
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific] user@host#set attribute-group asla
- te-metric, delay-metric, admin-groups와 같은 유연한 알고리즘 특정 te-속성을 구성합니다. 속성 그룹에 대한 te-metric을 지정합니다. te-metric은 OSPFv2가 경로를 계산하는 지표 유형을 나타냅니다.
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific attribute-group asla] user@host#set te-metric
예를 들어:
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific] user@host#set 15
- 속성 그룹에 대한 admin-group을 지정합니다.
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific attribute-group asla] user@host#set admin-group
예를 들어:
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific] user@host#set green
- 속성 그룹에 대한 delay-metric을 지정합니다.
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific attribute-group asla] user@host#set delay-metric
예를 들어:
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific] user@host#set 123123
- delay-metric이 구성되지 않은 경우 advertise-interface-delay를 지정하여 인터페이스 구성 계층에서 지연 값, 즉 레거시 지연 값을 가져옵니다.
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific attribute-group asla] user@host#set advertise-interface-delay
예를 들어:
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific] user@host#set 123125
메모:다음 구성은 다음 기준이 모두 일치하는 경우에만 커밋할 수 있습니다.
-
응용 프로그램이 속성 그룹과 연관되어 있습니다.
-
delay-metric 은(는) 계층에서 구성되지 않습니다.
-
인터페이스 수준 지연 구성이 존재합니다.
-
- 속성 그룹에 대한 응용 프로그램을 지정합니다. 현재 구현에서는 유연한 알고리즘만 애플리케이션으로 구성할 수 있습니다. 속성 그룹에는 하나 이상의 응용 프로그램이 연관될 수 있으며, 응용 프로그램별 링크 속성 sub의 표준 응용 프로그램 식별자 비트 마스크 필드에 설정된 응용 프로그램 비트와 단일 응용 프로그램별 링크 속성과 동일합니다.
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific attribute-group asla] user@host#set application aplication-name
[edit protocols ospf area 0.0.0.0 interface ge-0/0/0.0 application-specific attribute-group asla] user@host#set application flex-algorithm
- 구성 모드에서 을(를) 입력합니다
commit. - strict-asla-based-flex-algorithm을 지정하여 유연한 알고리즘 경로 계산이 애플리케이션별 링크 속성을 통해 관련 te-속성을 보급하는 링크만 사용하도록 명령합니다.
[edit protocols ospf source-packet-routing] user@host#set strict-asla-based-flex-algorithm
- 구성 모드에서 을(를) 입력합니다
commit.구성 결과를 확인하려면 작동 명령을 사용합니다
show protocols.ospf { area 0.0.0.0 interface ge-0/0/0.0 { application-specific { attribute-group asla { te-metric 15; admin-group green; delay-metric 123123; advertise-interface-delay; application flex-algorithm; } } } source-packet-routing { strict-asla-based-flex-algorithm; } }Junos OS 및 Junos OS Evolved 구현은 RFC 8920을 준수하기 위해 애플리케이션별 링크 속성 subTLV를 지원합니다. 애플리케이션별 링크 속성 서브-TLV는 RFC 7684에 정의된 OSPFv2 확장 링크 TLV의 서브-TLV입니다.
OSPF 데이터베이스에 애플리케이션별 링크 속성 하위 TLV가 있는지 확인하려면 작동 명령을 사용합니다
show ospf database extensive.user@host> show ospf database advertising-router self extensive lsa-id 10.0.0.2
OSPF database, Area 0.0.0.0 Type ID Adv Rtr Seq Age Opt Cksum Len OpaqArea*10.0.0.2 100.100.100.100 0x80000007 665 0x22 0x649d 104 Opaque LSA Extended Link (1), length 80: Link Type (1), length 1: 1 Link Id (2), length 4: 10.1.1.1 Link Data (3), length 4: 10.21.1.1 Adjacency Sid (2), length 7: Flags (1), length 1: 0x60 MT ID (2), length 1: 0 Weight (3), length 1: 0 Label (4), length 3: 17 Application Specific Link Attribute (10), length 52: SABM Length (1), length 1: 4 UDABM Length (2), length 1: 0 SABM (3), length 4: 0x10 UDABM (4), length 0: 0x0 TEMetric (5), length 4: 10 UnidirecLinkDelay (27), length 4: 123 MinMaxUnidirecLinkDelay (28), length 8: Min DM: 123, Max DM: 123 UnidirecLinkDelayVar (29), length 4: 0 Color (9), length 4: 2 Gen timer 00:34:55 Aging timer 00:48:55 Installed 00:11:05 ago, expires in 00:48:55, sent 00:11:05 ago Last changed 00:11:05 ago, Change count: 6, Ours, TE Link ID: 0출력은 애플리케이션별 링크 속성 하위 TLV 필드와 속성을 표시합니다.