Junos 구성에 OpenConfig LDP 명령 매핑
지원되는 데이터 모델과 주니퍼 네트웍스 MX 시리즈 및 PTX 시리즈 대한 Junos OS 릴리스에 대해 알아보려면 OpenConfig 데이터 모델 버전 주제를 참조하십시오.
아래 표는 Junos 관련 구성을 가진 LDP 명령의 매핑을 보여줍니다.
전역 LDP 구성
다음 센서의 구성 매핑은 표 1 을 참조하십시오.
- /network-instances/network-instance/mpls/signaling-protocols/ldp/global/config/lsr-id
명령 이름 |
OpenConfig 구성 |
Junos 구성 |
---|---|---|
LSR ID |
ldp { global { config { lsr-id <>; } } } |
ldp { transport-address <>; } |
OpenConfig의 LSR ID의 경우 전송 주소는 인터페이스 ID, 라우터 ID 또는 기타 ID 중 하나로 설정될 수 있습니다. 이는 단일 전송에만 해당됩니다. |
인터페이스 구성
다음 센서의 구성 매핑은 표 2 를 참조하십시오.
- /network-instances/network-instance/mpls/signaling-protocols/ldp/interface-attributes/interfaces/interface/config/interface-id
- /network-instances/network-instance/mpls/signaling-protocols/ldp/interface-attributes/interfaces/interface/config/hello-holdtime
- /network-instances/network-instance/mpls/signaling-protocols/ldp/interface-attributes/interfaces/interface/config/hello-interval
명령 이름 |
OpenConfig 구성 |
Junos 구성 |
---|---|---|
인터페이스 ID |
ldp { interface-attributes { interface <> { config { interface-id ge-0/0/2.0; } } } } |
ldp { interface <>; } |
Hello 홀드타임 |
ldp { interface-attributes { interface <>/all { config { hello-holdtime <>; } } } } |
ldp { interface <>/all { hello-holdtime <>; } } |
Hello 간격 |
ldp { interface-attributes { interface <>/all { config { hello-interval <>; } } } } |
ldp { interface <>/all { hello-interval <>; } } |
Graceful Restart 구성
다음 센서의 구성 매핑은 표 3 을 참조하십시오.
- /network-instances/network-instance/mpls/signaling-protocols/ldp/global/graceful-restart/config/enabled
- /network-instances/network-instance/mpls/signaling-protocols/ldp/global/Graceful-Restart/config/reconnect-time
- /network-instances/network-instance/mpls/signaling-protocols/ldp/global/Graceful-restart/config/recovery-time
- /network-instances/network-instance/mpls/signaling-protocols/ldp/global/Graceful-restart/config/helper-enable
명령 이름 |
OpenConfig 구성 |
Junos 구성 |
---|---|---|
사용 |
ldp { graceful-restart { config { enabled <true/false>; } } } |
ldp { graceful-restart { disable; } } |
기본적으로 OC 구성에서 GR(Graceful Restart)이 비활성화됩니다. Gracefule Restart를 활성화하려면 을(를) 으로 |
||
재연결 시간 |
ldp { graceful-restart { config { reconnect-time <>; } } } |
ldp { graceful-restart { reconnect-time <>; } } |
복구 시간 |
ldp { graceful-restart { config { recovery-time <>; } } } |
ldp { graceful-restart { recovery-time <>; } } |
Helper-disable |
ldp { graceful-restart { config { helper-disable <>; } } } |
ldp { graceful-restart { helper-disable <>; } } |
인증 구성
다음 센서의 구성 매핑은 표 4 를 참조하십시오.
- /network-instances/network-instance/mpls/signaling-protocols/ldp/global/authentication/config/authentication-key
- /network-instances/network-instance/mpls/signaling-protocols/ldp/global/authentication/config/enable
명령 이름 |
OpenConfig 구성 |
Junos 구성 |
---|---|---|
인증 키 |
ldp { authentication { config { authentication-key <>; } } } |
ldp { session-group 0.0.0.0/0 { authentication-key <>; } } |
인증 키 구성은 전역 수준에서 사용할 수 없습니다. 글로벌 구성을 위해 세션 그룹을 |
||
사용 |
ldp { authentication { config { enable <true/false>; } } } |
ldp { session-group 0.0.0.0/0 { inactive; authentication-key <>; } } |
OC 구성에서 으로 설정된 |
대상 LDP 구성
다음 센서의 구성 매핑은 표 5 를 참조하십시오.
- /network-instances/network-instance/mpls/signaling-protocols/ldp/targeted/config/hello-interval
- /network-instances/network-instance/mpls/signaling-protocols/ldp/targeted/config/hello-holdtime
- /network-instances/network-instance/mpls/signaling-protocols/ldp/targeted/config/hello-accept
명령 이름 |
OpenConfig 구성 |
Junos 구성 |
---|---|---|
hello-interval |
ldp { targeted { config { hello-interval <>; } } } |
ldp { targeted-hello { hello-interval <>; } } |
Hello-holdtime |
ldp { targeted { config { hello-holdtime <>; } } } |
ldp { targeted-hello { hold-time <>; } } |
Hello-accept |
ldp { targeted { config { hello-accept; } } } |
ldp { strict-targeted-hellos; } |
LDP 인접 구성
다음 센서의 구성 매핑은 표 6 을 참조하십시오.
- /network-instances/network-instance/mpls/signaling-protocols/ldp/neighbors/neighbor/
- /network-instances/network-instance/mpls/signaling-protocols/ldp/neighbors/neighbor/authentication/config/enable
- /network-instances/network-instance/mpls/signaling-protocols/ldp/neighbors/neighbor/authentication/config/authentication-key
명령 이름 |
OpenConfig 구성 |
Junos 구성 |
---|---|---|
이웃 |
ldp { neighbors { neighbor <id><label-space-id>; } } |
ldp { session <neighbor-id>; } |
이웃 ID의 경우, 이웃 IP 주소와 레이블 공간 ID가 키입니다. 레이블 공간 ID는 0이어야 합니다. 비 제로 값은 0으로 취급됩니다. |
||
사용 |
ldp { neighbors { neighbor <> { authentication { config { enable <true/false>; } } } } } |
ldp { session <> { inactive: authentication-key <>; } } |
인증 키 |
ldp { neighbors { neighbor <> { authentication { config { authentication-key <>; } } } } } |
ldp { session-group <> { authentication-key <>; } } |