LDP Commands

config
    - router[router-name]
        - [no] ldp
            - [no] aggregate-prefix-match
                - prefix-exclude policy-name [policy-name...(up to 5 max)]
                - no prefix-exclude
                - [no] shutdown
            - egress-statistics
                - [no] fec-prefix ip-prefix[/mask]
                    - accounting-policy policy-id
                    - no accounting-policy
                    - [no] collect-stats
                    - [no] shutdown
            - export policy-name [policy-name...(up to 5 max)]
            - no export 
            - export-tunnel-table policy-name [policy-name...(up to 5 max)]
            - no export-tunnel-table
            - fast-reroute [backup-sr-tunnel]
            - no fast-reroute
            - fec-originate ip-address/mask [advertised-label in-label] [swap-label out-label] interface interface-name
            - fec-originate ip-address/mask [advertised-label in-label] next-hop ip-address [swap-label out-label]
            - fec-originate ip-address/mask [advertised-label in-label] next-hop ip-address [swap-label out-label] interface interface-name
            - fec-originate ip-address/mask [advertised-label in-label] pop
            - no fec-originate ip-address/mask interface interface-name
            - no fec-originate ip-address/mask next-hop ip-address
            - no fec-originate ip-address/mask next-hop ip-address interface interface-name
            - no fec-originate ip-address/mask pop
            - [no] graceful-restart 
                - maximum-recovery-time interval
                - no maximum-recovery-time
                - neighbor-liveness-time interval
                - no neighbor-liveness-time
            - [no] implicit-null-label 
            - import policy-name [policy-name...(up to 5 max)]
            - no import
            - interface-parameters
                -  interface ip-int-name [dual-stack]
                - [no] interface ip-int-name
                    - bfd-enable [ipv4] [ipv6]
                    - [no] bfd-enable
                    - [no] ipv4
                        - fec-type-capability
                            - p2mp-ipv4 {enable | disable}
                            - p2mp-ipv6 {enable | disable}
                            - prefix-ipv4 {enable | disable}
                            - prefix-ipv6 {enable | disable}
                        - hello timeout factor
                        - no hello
                        - keepalive timeout factor
                        - no keepalive
                        - local-lsr-id {system | interface}
                        - no local-lsr-id
                        - [no] shutdown
                        - transport-address {system | interface}
                        - no transport-address
                    - [no] ipv6
                        - fec-type-capability
                            - p2mp-ipv4 {enable | disable}
                            - p2mp-ipv6 {enable | disable}
                            - prefix-ipv4 {enable | disable}
                            - prefix-ipv6 {enable | disable}
                        - hello timeout factor
                        - no hello
                        - keepalive timeout factor
                        - no keepalive
                        - local-lsr-id {system | interface}
                        - no local-lsr-id
                        - [no] shutdown
                        - transport-address {system | interface}
                        - no transport-address
                - ipv4
                    - hello timeout factor
                    - no hello
                    - keepalive timeout factor
                    - no keepalive
                    - transport-address {system | interface}
                    - no transport-address
                - ipv6
                    - hello timeout factor
                    - no hello
                    - keepalive timeout factor
                    - no keepalive
                    - transport-address {system | interface}
                    - no transport-address
            - [no] legacy-ipv4-lsr-interop
            - [no] mcast-upstream-frr
            - mp-mbb-time interval 
            - no mp-mbb-time 
            - session-parameters
                - [no] peer ip-address
                    - export-addresses policy-name [policy-name... (up to 5 max)]
                    - no export-addresses 
                    - export-prefixes policy-name [policy-name... (up to 5 max)]
                    - no export-prefixes
                    - fec-type-capability 
                        - p2mp {enable | disable}
                        - prefix-ipv4 {enable | disable}
                        - prefix-ipv6 {enable | disable}
            - [no] shutdown
            - targeted-session
                - [no] disable-targeted-session
                -  ipv4
                    - hello timeout factor
                    - no hello
                    - keepalive timeout factor
                    - no keepalive
                -  ipv6
                    - hello timeout factor
                    - no hello
                    - keepalive timeout factor
                    - no keepalive
                - [no] peer ip-address
                    - [no] bfd-enable
                    - hello timeout factor
                    - no hello
                    - keepalive timeout factor 
                    - no keepalive
                    - local-lsr-id interface-name
                    - no local-lsr-id 
                    - [no] shutdown
                    - [no] tunneling 
                        - [no] lsp lsp-name 
            - tcp-session-parameters
                - [no] peer-transport ip-address
                    - auth-keychain name
                    - no auth-keychain 
                    - authentication-key {authentication-key | hash-key} [hash | hash2]
                    - no authentication-key 
                    - no authentication-key 
            - tunnel-down-damp-time seconds
            - no tunnel-down-damp-time