Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Asignación de comandos de OpenConfig MPLS a la configuración de Junos

Nota:

Consulte el tema de la versión del modelo de datos de OpenConfig para comprender la versión compatible con los modelos de datos y su versión de Junos OS para las series MX, PTX y QFX de Juniper Networks.

En la tabla 1 a la tabla 6 , se muestra la asignación de los comandos de OpenConfig MPLS con la configuración correspondiente en Junos.

Tabla 1: Configuración global de MPLS

Nombre de comando

Ruta de comando OpenConfig

Configuración de Junos

Null explícito

/mpls/global/config/null-label/explicit

/mpls/global/config/null-label/implicit

set protocols mpls explicit-null

Interfaz

/mpls/global/interface-attributes/interface/config/interface-id

/mpls/global/interface-attributes/interface/config/mpls-enabled

/mpls/global/interface-attributes/interface/interface-ref/config/interface

/mpls/global/interface-attributes/interface/interface-ref/config/subinterface

set protocols mpls interface interface

set protocols mpls interface interface disable

Tabla 2: Atributos globales de TE

Nombre de comando

Ruta de comando OpenConfig

Configuración de Junos

S SRLG

/mpls/te-global-attributes/srlg/srlg/config/name

Inundado:

set routing-options srlg name

Estática:

set routing-options fate-sharing group name

Valor de SRLG

/mpls/te-global-attributes/srlg/srlg/config/value

set routing-options fate-sharing group name srlg-value value

Costo de SRLG

/mpls/te-global-attributes/srlg/srlg/config/cost

Inundado:

set routing-options srlg name srlg-cost cost

Estática:

set routing-options fate-sharing group name cost cost

Dirección

/mpls/te-global-attributes/srlg/srlg/static-srlg-members/ members-list/config/from-address

/mpls/te-global-attributes/srlg/srlg/static-srlg-members/ members-list/config/to-address

set routing-options fate-sharing group name from address to address

Grupos de administración

/mpls/te-global-attributes/mpls-admin-groups/admin-group/ config/admin-group-name

/mpls/te-global-attributes/mpls-admin-groups/admin-group/ config/bit-position

Posición de bit (valor de grupo) 0-31:

set protocols mpls admin-groups group-name group-value

Posición de bit (valor de grupo) 32-4294967295:

set routing-options admin-groups-extended group-name group-value group-value

Retraso

/mpls/te-global-attributes/te-lsp-timers/config/install-delay

/mpls/te-global-attributes/te-lsp-timers/config/cleanup-delay

/mpls/te-global-attributes/te-lsp-timers/config/reoptimize-timer

set protocols mpls optimize-switchover-delay delay

set protocols mpls optimize-hold-dead-delay delay

set protocols mpls optimize-timer timer

Tabla 3: Atributos de interfaz TE

Nombre de comando

Ruta de comando OpenConfig

Configuración de Junos

Interfaz de TE

/mpls/te-interface-attributes/interface/config/interface-id

/mpls/te-interface-attributes/interface/interface-ref/config/interface

/mpls/te-interface-attributes/interface/interface-ref/config/subinterface

set protocols ospf area id interface interface

Métrica de TE

/mpls/te-interface-attributes/interface/config/te-metric

set protocols ospf area id interface interface te-metric te-metric

set protocols isis interface interface level level te-metric te-metric

Membresía de SRLG

/mpls/te-interface-attributes/interface/config/srlg-membership

set protocols mpls interface name srlg name

Grupos de administración

/mpls/te-interface-attributes/interface/config/admin-group

Si protocols mpls admin-groups name está configurado:

set protocols mpls interface name admin-group name

Si routing-options admin-groups-extended name está configurado:

set protocols mpls interface name admin-group-extended name

IGP inunda el ancho de banda

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/threshold-type

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/delta-percentage

set protocols rsvp interface name update-threshold threshold

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/threshold-specification

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/up-thresholds

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/down-thresholds

/mpls/te-interface-attributes/interface/igp-flooding-bandwidth/config/up-down-thresholds

No compatible

Tabla 4: Protocolos de señalización RSVP

Nombre de comando

Ruta de comando OpenConfig

Configuración de Junos

Reinicio elegante

/mpls/signaling-protocols/rsvp-te/global/ graceful-restart/config/enable

/mpls/signaling-protocols/rsvp-te/global/ graceful-restart/config/restart-time

/mpls/signaling-protocols/rsvp-te/global/ graceful-restart/config/recovery-time

set protocols rsvp graceful-restart enable

set protocols rsvp graceful-restart maximum-helper-recovery-time time

set protocols rsvp graceful-restart maximum-helper-restart-time time

Temporizador de limpieza

/mpls/signaling-protocols/rsvp-te/global/ soft-preemption/config/enable

/mpls/signaling-protocols/rsvp-te/global/ soft-preemption/config/soft-preemption-timeout

set protocols rsvp preemption soft-preemption cleanup-timer timer

Intervalo de saludo (todas las interfaces)

/mpls/signaling-protocols/rsvp-te/global/ hellos/config/hello-interval

/mpls/signaling-protocols/rsvp-te/global/ hellos/config/refresh-reduction

set protocols rsvp interface all hello-interval interval

set protocols rsvp interface all no-reliable

Intervalo de saludo (interfaz única)

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-id

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/interface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-name

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/hellos/config/hello-interval

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/hellos/config/refresh-reduction

set protocols rsvp interface name hello-interval interval

set protocols rsvp interface name no-reliable

Clave de autenticación

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-id

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/interface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/subinterface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/authentication/config/enable

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/authentication/config/authentication-key

set protocols rsvp interface name authentication-key key

Suscripción

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-id

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/interface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/subinterface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/subscription/config/subscription

set protocols rsvp interface name subscription subscription

Protección de vínculos

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/config/interface-id

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/interface

/mpls/signaling-protocols/rsvp-te/interface-attributes/ interface/interface-ref/config/subinterface

/mpls/signaling-protocols/rsvp-te/interface-attributes/interface/ protection/config/link-protection-style-requested/unprotected

/mpls/signaling-protocols/rsvp-te/interface-attributes/interface/protection/ config/link-protection-style-requested/link-protection-requested

/mpls/signaling-protocols/rsvp-te/interface-attributes/interface/protection/ config/link-protection-style-requested/link-node-protection-requested

/mpls/signaling-protocols/rsvp-te/interface-attributes/interface/protection/ config/bypass-optimize-interval

set protocols rsvp interface name link-protection

Para deshabilitar la protección de nodos:

set protocols rsvp interface name link-protection no-node-protection

set protocols rsvp interface name link-protection optimize-timer timer

Tabla 5: Etiquetas de rutas conmutadas

Nombre de comando

Ruta de comando OpenConfig

Configuración de Junos

Camino

/mpls/lsps/constrained-path/named-explicit-paths/config/name

/mpls/lsps/constrained-path/named-explicit-paths/explicit-route-objects/ config/address

/mpls/lsps/constrained-path/named-explicit-paths/explicit-route-objects/ config/hop-type

/mpls/lsps/constrained-path/named-explicit-paths/explicit-route-objects/ config/index

set protocols mpls path name address hop-type

Nombre

/mpls/lsps/constrained-path/tunnel/config/name

/mpls/lsps/constrained-path/tunnel/config/type/P2P

/mpls/lsps/constrained-path/tunnel/config/ signaling-protocol/path-setup-rsvp

set protocols mpls label-switched-path name

Descripción

/mpls/lsps/constrained-path/tunnel/config/description

set protocols mpls label-switched-path name description description

Estado de administración

/mpls/lsps/constrained-path/tunnel/config/admin-status

set protocols mpls label-switched-path name disable

Preferencia

/mpls/lsps/constrained-path/tunnel/config/preference

set protocols mpls label-switched-path name preference preference

Métricas

/mpls/lsps/constrained-path/tunnels/tunnel/config/metric-type

/mpls/lsps/constrained-path/tunnels/tunnel/config/shortcut-eligible

/mpls/lsps/constrained-path/tunnel/config/metric

set protocols mpls label-switched-path name metric metric

Protección de vínculos

/mpls/lsps/constrained-path/tunnel/config/ protection-style-requested/unprotected

/mpls/lsps/constrained-path/tunnel/config/ protection-style-requested/link-protection-requested

/mpls/lsps/constrained-path/tunnel/config/ protection-style-requested/link-node-protection-requested

set protocols mpls label-switched-path name link-protection

set protocols mpls label-switched-path name node-link-protection

Temporizador de optimización

/mpls/lsps/constrained-path/tunnel/config/reoptimize-timer

set protocols mpls label-switched-path name optimize-timer timer

Fuente

/mpls/lsps/constrained-path/tunnel/config/source

set protocols mpls label-switched-path name from from

Preferencia por software

/mpls/lsps/constrained-path/tunnel/config/soft-preemption

set protocols mpls label-switched-path name soft-preemption

Prioridad

/mpls/lsps/constrained-path/tunnel/config/setup-priority

/mpls/lsps/constrained-path/tunnel/config/hold-priority

set protocols mpls label-switched-path name priority setup reservation

Banda

/mpls/lsps/constrained-path/tunnel/bandwidth/config/ specification-type/specified

/mpls/lsps/constrained-path/tunnel/bandwidth/config/set-bandwidth

set protocols mpls label-switched-path name bandwidth bandwidth

Ancho de banda mínimo/máximo

/mpls/lsps/constrained-path/tunnel/bandwidth/config/ specification-type/auto

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/enabled

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/min-bw

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/max-bw

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/adjust-interval

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ config/adjust-threshold

set protocols mpls label-switched-path name minimum-bandwidth minimum

set protocols mpls label-switched-path name maximum-bandwidth maximum

set protocols mpls label-switched-path name adjust-interval interval

set protocols mpls label-switched-path name adjust-threshold threshold

Desborde de ancho de banda

/mpls/lsps/constrained-path/tunnel/bandwidth/ config/specification-type/auto

/mpls/lsps/constrained-path/tunnel/auto-bandwidth/overflow/ config/enabled

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ overflow/config/overflow-threshold

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ overflow/config/trigger-event-count

set protocols mpls label-switched-path name auto-bandwidth adjust-threshold-overflow-limit

Ancho de banda de flujo inferior

/mpls/lsps/constrained-path/tunnel/bandwidth/config/ specification-type/auto

/mpls/lsps/constrained-path/tunnel/auto-bandwidth/underflow/ config/enabled

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ underflow/config/underflow-threshold

/mpls/lsps/constrained-path/tunnel/bandwidth/auto-bandwidth/ underflowflow/config/trigger-event-count

set protocols mpls label-switched-path name auto-bandwidth adjust-threshold-underflow-limit

Tabla 6: Túnel P2P RSVP

Nombre de comando

Ruta de comando OpenConfig

Configuración de Junos

Destino

/mpls/lsps/constrained-path/tunnel/ p2p-tunnel-attributes/config/destination

set protocols mpls label-switched-path name to to

Ruta principal

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/name

set protocols mpls label-switched-path name

Ruta principal: calculada localmente

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/path-computation-method/ locally-computed

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/use-cspf

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/cspf-tiebreaker/random

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/cspf-tiebreaker/least-fill

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/cspf-tiebreaker/most-fill

set protocols mpls label-switched-path name no-cspf

set protocols mpls label-switched-path name random

set protocols mpls label-switched-path name least-fill

set protocols mpls label-switched-path name most-fill

Ruta principal: consultada externamente

/mpls/lsps/constrained-path/tunnel/ p2p-tunnel-attributes/p2p-primary-paths/config/ path-computation-method/externally-queried

set protocols mpls label-switched-path name lsp-external-controller pccd

set protocols pcep pce name destination-ipv4-address address

set protocols pcep pce name destination-port 4189

Ruta principal: definida explícitamente

/mpls/lsps/constrained-path/tunnel/ p2p-tunnel-attributes/p2p-primary-paths/config/ path-computation-method/explicitly-defined

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/explicit-path-name

set protocols mpls label-switched-path name primary path

Ruta principal: preferencia

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/preference

set protocols mpls label-switched-path name primary path preference preference

Ruta principal: prioridades

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/setup-priority

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/hold-priority

set protocols mpls label-switched-path name primary path priority setup reservation

Ruta principal: temporizador de reintento

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/config/retry-timer

set protocols mpls label-switched-path name retry-timer

Ruta principal: rutas secundarias candidatas

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/candidate-secondary-paths

No compatible

Ruta principal: grupos de administración

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/admin-groups/config/exclude-group

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/admin-groups/config/include-all-group

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-primary-paths/admin-groups/config/include-any-group

set protocols mpls label-switched-path name primary path admin-group exclude group

set protocols mpls label-switched-path name primary path admin-group exclude group

set protocols mpls label-switched-path name primary path admin-group include-any group

Ruta secundaria

/mpls/lsps/constrained-path/tunnel/config/name

/mpls/lsps/constrained-path/tunnel/config/type/P2P

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/name

set protocols mpls label-switched-path name

Ruta secundaria: calculada localmente

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/ path-computation-method/locally-computed

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/use-cspf

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/cspf-tiebreaker/random

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/cspf-tiebreaker/least-fill

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/cspf-tiebreaker/most-fill

set protocols mpls label-switched-path name secondary path name no-cspf

Ruta secundaria: consultada externamente

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/ path-computation-method/externally-queried

No compatible

Ruta secundaria: definida explícitamente

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/ path-computation-method/explicitly-defined

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/explicit-path-name

set protocols mpls label-switched-path name secondary path

Ruta secundaria: preferencia

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/preference

set protocols mpls label-switched-path name secondary path preference preference

Ruta secundaria: prioridades

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/setup-priority

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/hold-priority

set protocols mpls label-switched-path name secondary path priority setup reservation

Ruta secundaria: temporizador de reintentos

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/config/retry-timer

set protocols mpls label-switched-path name secondary path retry-timer

Ruta secundaria: Grupos de administración

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/admin-groups/config/exclude-group

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/admin-groups/config/include-all-group

/mpls/lsps/constrained-path/tunnel/p2p-tunnel-attributes/ p2p-secondary-paths/admin-groups/config/include-any-group

set protocols mpls label-switched-path name secondary path admin-group exclude group

set protocols mpls label-switched-path name secondary path admin-group include-all group

set protocols mpls label-switched-path name secondary path admin-group include-any group