Supported on all 7210 SAS platforms as described in this document.
This command administratively disables an entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics.
The operational state of the entity is disabled, as well as the operational state of any entities contained within. Many objects must be shut down before they may be deleted.
The no form of this command administratively enables an entity.
Unlike other commands and parameters where the default state is not indicated in the configuration file, the shutdown and no shutdown states are always indicated in system-generated configuration files.
The no form of this command places an entity in an administratively enabled state.
no shutdown
On the 7210 SAS-Mxp, the protocol is handled as follows.
Supported on all 7210 SAS platforms as described in this document.
This command enables the context to configure LDP parameters. LDP is not enabled by default and must be explicitly enabled (no shutdown).
To suspend the LDP protocol, use the shutdown command. Configuration parameters are not affected.
The no form of this command deletes the LDP protocol instance, removing all associated configuration parameters. The LDP instance must first be disabled using the shutdown command before being deleted.
Supported on all 7210 SAS platforms as described in this document.
This command enables LDP to use the aggregate prefix match function rather than requiring an exact prefix match.
When this command is enabled, LDP performs the following procedures for all prefixes. When an LSR receives a FEC-label binding from an LDP neighbor for a specific FEC1 element, it installs the binding in the LDP FIB if:
When the FEC-label binding has been installed in the LDP FIB, LDP programs a next-hop label forwarding entry (NHLFE) in the egress data path to forward packets to FEC1. LDP also advertises a new FEC-label binding for FEC1 to all its LDP neighbors.
When a new prefix appears in the routing table, LDP checks the LDP FIB to determine if this prefix is a closer match for any of the installed FEC elements. If a closer match is found, LDP may have to update the NHLFE for this FEC.
When a prefix is removed from the routing table, LDP checks the LDP FIB for all FEC elements that matched this prefix to determine if another match exists in the routing table. If another match exists, it updates the NHLFE accordingly. If not, it sends a label withdraw message to its LDP neighbors to remove the binding.
If the next hop for a routing prefix changes, LDP updates the LDP FIB entry for the FEC elements that matched this prefix. It also updates the NHLFE for these FEC elements.
The no form of this command disables the use of the aggregate prefix match function and deletes the configuration. LDP then performs only exact prefix matching for FEC elements.
no aggregate-prefix-match
Supported on all 7210 SAS platforms as described in this document.
This command specifies the policy name containing the prefixes to be excluded from the aggregate prefix match function. Against each excluded prefix, LDP performs an exact match of a specific FEC element prefix, rather than a longest prefix match of one or more LDP FEC element prefixes, when it receives a FEC-label binding or when a change to this prefix occurs in the routing table.
The no form of this command removes all policies from the configuration.
no prefix-exclude
Supported on all 7210 SAS platforms as described in this document.
This command specifies the export route policies that determine which routes are exported to LDP. Policies are configured in the config>router>policy-options context.
If no export policy is specified, non-LDP routes are not exported from the routing table manager to LDP, and LDP-learned routes are exported only to LDP neighbors. The current implementation of the export policy (outbound filtering) can be used only to add FECs for label propagation. The export policy does not control propagation of FECs that an LSR receives from its neighbors.
If multiple policy names are specified, the policies are evaluated in the order they are specified. The first policy that matches is applied. If multiple export commands are issued, the last command entered overrides the previous command. A maximum of five policy names can be specified. Specified names must already be defined.
The no form of this command removes all policies from the configuration.
no export
The specified names must already be defined.
Supported on all 7210 SAS platforms as described in this document.
This command enables LDP Fast-Reroute (FRR). When enabled, LDP uses both the primary next hop and LFA next hop, when available, for resolving the next hop of an LDP FEC against the corresponding prefix in the routing table. This results in LDP programming a primary NHLFE and a backup NHLFE into the forwarding engine for each next hop of a FEC prefix for the purpose of forwarding packets over the LDP FEC.
The backup NHLFE is enabled for each affected FEC next hop when any of the following events occurs.
The tunnel-down-dump-time option or the label-withdrawal-delay option, when enabled, does not cause the corresponding timer to be activated for a FEC as long as a backup NHLFE is still available.
Because LDP can detect the loss of a neighbor/next-hop independently, it is possible that it will switch to the LFA next hop while IGP is still using the primary next hop. Also, when the interface for the previous primary next hop is restored, IGP may reconverge before LDP completes the FEC exchange with its neighbor over that interface. This may cause LDP to deprogram the LFA next hop from the FEC and blackhole traffic. To avoid this situation, IGP-LDP synchronization should be enabled on the LDP interface.
When the SPF computation determines there is more than one primary next hop for a prefix, it does not program an LFA next hop in RTM. The LDP FEC will resolve to the multiple primary next hops that provide the required protection.
The no form of this command disables LDP FRR.
no fast-reroute
Supported on all 7210 SAS platforms as described in this document.
This command configures a way to originate a FEC (with a swap action) for which the LSR is not egress, or to originate a FEC (with a pop action) for which the LSR is egress.
<ip-address/mask> | ipv4-prefix - a.b.c.d | |
ipv4-prefix-le - 0 to 32 | ||
ipv6-prefix | x:x:x:x:x:x:x:x (eight 16-bit pieces) | |
x:x:x:x:x:x:d.d.d.d | ||
x - [0 to FFFF]H | ||
d - [0 to 255]D | ||
ipv6-prefix-le - 0 to 128 |
The next-hop, advertised-label, and swap-label parameters are optional. If next-hop is configured but no swap-label specified, a swap occurs with label 3, such as, pop and forward to the next-hop. If the next-hop and swap-label are configured, a regular swap is performed. If no parameters are specified, a pop and route is performed.
Supported on all 7210 SAS platforms as described in this document.
This command enables graceful restart helper.
The no form of this command disables graceful restart.
no graceful-restart
Supported on all 7210 SAS platforms as described in this document.
This command enables the use of the implicit null label. Use this command to signal the implicit null option for all LDP FECs for which this node is the egress LER.
The no form of this command disables the signaling of the implicit null label.
no implicit-null-label
Supported on all 7210 SAS platforms as described in this document.
This command configures the local maximum recovery time.
The no form of this command reverts to the default value.
maximum-recovery-time 120
Supported on all 7210 SAS platforms as described in this document.
This command configures the neighbor liveness time.
The no form of this command reverts to the default value.
neighbor-liveness-time 120
Supported on all 7210 SAS platforms as described in this document.
This command configures import route policies to determine which label bindings (FECs) are accepted from LDP neighbors. Policies are configured in the config>router>policy-options context.
If no import policy is specified, LDP accepts all label bindings from configured LDP neighbors. Import policies can be used to limit or modify the routes accepted and their corresponding parameters and metrics.
If multiple policy names are specified, the policies are evaluated in the order they are specified. The first policy that matches is applied. If multiple import commands are issued, the last command entered overrides the previous command. A maximum of five policy names can be specified.
The no form of this command removes all policies from the configuration.
no import
Supported on all 7210 SAS platforms as described in this document.
This command configures the time interval, in seconds, that LDP will delay the withdrawal of the FEC-label bindings it distributed to its neighbors when FEC is deactivated. When the timer expires, LDP sends a label withdrawal for the FEC to all its neighbors. This is applicable only to LDP transport tunnels (IPv4 prefix FECs) and is not applicable to pseudowires (service FECs).
no label-withdrawal-delay
Supported on all 7210 SAS platforms as described in this document.
This command configures the time interval, in seconds, that LDP waits before posting a tunnel down event to the Tunnel Table Manager (TTM).
When LDP can no longer resolve a FEC and deactivates it, it deprograms the NHLFE in the data path. However, it delays deleting the LDP tunnel entry in the TTM until the tunnel-down-damp-time timer expires. This means that users of the LDP tunnel, such as SDPs (for all services) and BGP (for Layer 3 VPNs), are not immediately notified. Traffic is still blackholed because the forwarding engine NHLFE has been deprogrammed.
If the FEC gets resolved before the tunnel-down-damp-time timer expires, LDP programs the forwarding engine with the new NHLFE and performs a tunnel modify event in the TTM, updating the dampened entry in the TTM with the new NHLFE information. If the FEC does not get resolved and the tunnel-down-damp-time timer expires, LDP posts a tunnel down event to the TTM, which deletes the LDP tunnel.
When there is an upper layer (user of LDP) that depends on the LDP control plane for failover detection, the label-withdrawal-delay and tunnel-down-damp-time options must be set to 0; for example, where a primary pseudowire does not have its own fast failover detection mechanism, and the node depends on the LDP tunnel down event to activate the standby PW.
The no form of this command specifies that tunnel-down events are not damped.
Supported on all 7210 SAS platforms as described in this document.
This command configures the time interval, in seconds, that LDP waits before tearing down the session. The factor parameter derives the value of the keepalive interval.
If no LDP messages are exchanged for the configured amount of time, the LDP session is torn down. Keepalive timeout is usually three times the keepalive interval. To maintain the session permanently, regardless of the activity, set the value to zero.
When the LDP session is being set up, the keepalive timeout is negotiated to the lower of the two peers. When an operational value is agreed upon, the keepalive factor derives the value of the keepalive interval. The session needs to be flapped for the new settings to work.
The no form of this command at the interface level sets the timeout and factor to the values defined under the interface-parameters level.
The no form of this command at the peer level sets the timeout and factor to the values defined under the targeted-session level.
The default value is dependent upon the CLI context. Table 24 lists the keepalive timeout factor default values.
Context | Timeout | Factor |
config>router>ldp>if-params | 30 | 3 |
config>router>ldp>targ-session | 40 | 4 |
config>router>ldp>if-params>if | Inherits values from interface-parameters context | |
config>router>ldp>targ-session>peer | Inherits values from targeted-session context |
7210 SAS-T, 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12
This command enables P2MP multicast traffic forwarding on the interface.
The P2MP tree branching out on the interface does not withdraw the label map from the peer session when the interface is shut down or multicast-traffic is disabled. The session may exist on multiple parallel interfaces. Only the forwarding entry is changed when the interface is shut down or multicast-traffic is disabled.
LDP may choose to egress the mLDP tree over this interface, but if multicast-traffic is disabled, the data plane does not forward traffic on this branch.
The no form of this command disables P2MP LDP multicast traffic on the interface.
multicast-traffic enable
Supported on all 7210 SAS platforms as described in this document.
This command enables the use of the address of the local LDP interface as the LSR-ID to establish a link LDP adjacency and session with a directly connected LDP peer.
By default, the LDP session uses the system interface address as the LSR-ID unless explicitly configured using the above command. The system interface must always be configured on the router or the LDP protocol will not come up on the node. However, there is no requirement to include it in any routing protocol.
At initial configuration, the LDP session to the peer will remain down while the interface is down.
If the user changes the LSR-ID on the fly between system and interface values while the LDP session is up, LDP will immediately tear down the session and attempt to re-establish it using the new LSR-ID.
If the interface used as the LSR-ID goes down, the LDP session goes down.
When the interface option is selected, the transport connection (TCP) for the link LDP session will also use the address of the local LDP interface as the transport address. If system is the value configured using the config>router>ldp>interface-parameters>interface>transport-address command, it is overridden.
The no form of this command returns to the default behavior where the system interface address is used as the LSR-ID.
system
Supported on all 7210 SAS platforms as described in this document.
This command enables the use of the address of a specific interface as the LSR-ID for the hello adjacency of a T-LDP session. The interface can be a regular interface or a loopback interface, including the system interface.
By default, a T-LDP session uses the system interface address as the LSR-ID. The system interface must always be configured on the router or the LDP protocol will not come up on the node. There is no requirement to include it in any routing protocol though.
At initial configuration, the T-LDP session will remain down while the specified interface is down. LDP will not try to bring it up using the system interface.
If the user changes the LSR-ID on the fly while the T-LDP session is up, LDP immediately tears down the session and attempts to establish one using the new LSR-ID, regardless of operational state of the newly specified interface.
If the interface used as the LSR-ID goes down, the T-LDP session goes down.
The user-configured LSR-ID is used exclusively for extended peer discovery to establish the T-LDP hello adjacency. It is also used as the transport address for the TCP session of the LDP session when it is bootstrapped by the T-LDP hello adjacency. The user-configured LSR-ID is not used in basic peer discovery to establish a link-level LDP hello adjacency.
The no form of this command returns to the default behavior where the system interface address is used as the LSR-ID.
no local-lsr-id
Supported on all 7210 SAS platforms as described in this document.
This command configures LDP interfaces and parameters applied to LDP interfaces.
Supported on all 7210 SAS platforms as described in this document.
This command enables the use of bi-directional forwarding (BFD) to control the state of the associated protocol interface. By enabling BFD on a given protocol interface, the state of the protocol interface is tied to the state of the BFD session between the local node and the remote node. The parameters used for the BFD are set via the BFD command under the IP interface.
The no form of this command removes BFD from the associated IGP/BGP protocol adjacency.
no bfd-enable
7210 SAS-T, 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12
This command enables and disables IPv4 P2MP FEC capability on the interface.
Supported on all 7210 SAS platforms as described in this document.
This command enables and disables IPv4 prefix FEC capability on the interface.
Supported on all 7210 SAS platforms as described in this document.
This command configures the time interval to wait before declaring a neighbor down. The factor parameter derives the hello interval.
The hold time is local to the system and sent in the hello messages to the neighbor. The hold time cannot be less than three times the hello interval.
When the LDP session is being set up, the hold down time is negotiated to the lower of the two peers. Once an operational value is agreed upon, the hello factor is used to derive the value of the hello interval.
The session must be flapped for the new settings to operate.
The no form of this command at the targeted-session level sets the hello timeout and the hello factor to the default values.
The no form of this command, at the peer level, will set the hello timeout and the hello factor to the value defined under the targeted-session level.
Table 25 shows parameter default values for the hello command.
Context | Timeout | Factor |
config>router>ldp>if-params | 15 | 3 |
config>router>ldp>targ-session | 45 | 3 |
config>router>ldp>if-params>if | Inherits values from interface-parameters context | |
config>router>ldp>targ-session>peer | Inherits values from targeted-session context |
Supported on all 7210 SAS platforms as described in this document.
This command enables the suppression of periodic targeted Hello messages between LDP peers once the targeted LDP session is brought up.
When this feature is enabled, the target Hello adjacency is brought up by advertising the hold-time value that the user configured in the “hello timeout” parameter for the targeted session. The LSR node will start advertising an exponentially increasing hold-time value in the Hello message as soon as the targeted LDP session to the peer is up. Each new incremented hold-time value is sent in a number of Hello messages equal to the value of the argument factor, which represents the dampening factor, before the next exponential value is advertised. This provides time for the two peers to settle on the new value. When the hold-time reaches the maximum value of 0xffff (binary 65535), the two peers will send Hello messages at a frequency of every [(65535-1)/local helloFactor] seconds for the lifetime of the targeted LDP session; for example, if the local Hello factor is 3, Hello messages will be sent every 21844 seconds.
The LSR node continues to compute the frequency of sending the Hello messages based on the minimum of its local hold-time value and the one advertised by its peer as in RFC 5036. Therefore, for the targeted LDP session to suppress the periodic Hello messages, both peers must bring their advertised hold-time to the maximum value. If one of the LDP peers does not, the frequency of the Hello messages sent by both peers will continue to be governed by the smaller of the two hold-time values.
When the user enables the hello reduction option on the LSR node while the targeted LDP session to the peer is operationally up, the change will take effect immediately. In other words, the LSR node will start advertising an exponentially increasing hold-time value in the Hello message, starting with the current configured hold-time value.
When the user disables the hello reduction option while the targeted LDP session to the peer is operationally up, the change in the hold-time from 0xffff (binary 65535) to the user-configured value for this peer takes effect immediately. The local LSR immediately advertises the value of the user-configured hold-time and does not wait until the next scheduled time to send a Hello to make sure the peer adjusts its local hold timeout value immediately.
In general, any configuration change to the parameters of the T-LDP Hello adjacency (modifying the hello adjacency Hello timeout or factor, enabling/disabling hello reduction, or modifying the hello reduction factor) will cause the LSR node to immediately trigger an updated Hello message with the updated hold-time value without waiting for the next scheduled time to send a Hello.
The no form of this command disables the hello reduction feature.
no hello-reduction
Supported on all 7210 SAS platforms as described in this document.
This command enables LDP on the specified IP interface.
The LDP interface must be disabled using the shutdown command before it can be deleted.
The no form of this command deletes the LDP interface and all configuration information associated with the LDP interface.
Supported on all 7210 SAS platforms as described in this document.
This command enables tracking of the Hello adjacency to an LDP peer using BFD.
When this command is enabled on an LDP interface, LDP registers with BFD and starts tracking the LSR ID of all peers with which it formed Hello adjacencies over that LDP interface. The LDP hello mechanism is used to determine the remote address to be used for the BFD session. The parameters used for the BFD session, that is, transmit-interval, receive-interval, and multiplier, are those configured under the IP interface in existing implementation: config>router>interface>bfd.
When multiple links exist to the same LDP peer, a Hello adjacency is established over each link and a separate BFD session is enabled on each LDP interface. If a BFD session times out on a specific link, LDP will immediately associate the LDP session with one of the remaining Hello adjacencies and trigger the LDP FRR procedures. As soon as the last Hello adjacency goes down due to BFD timing out, the LDP session goes down and the LDP FRR procedures will be triggered.
The no form of this command disables BFD on the LDP interface.
no bfd-enable
Supported on all 7210 SAS platforms as described in this document.
This command enables the context to configure IPv4 LDP parameters for the interface.
Supported on all 7210 SAS platforms as described in this document.
This command configures the transport address to be used when setting up LDP TCP sessions. The transport address can be configured as interface or system. The transport address can be configured globally (applies to all LDP interfaces) or per interface. The most specific value is used.
With the transport-address command, you can set up the LDP interface to the connection, which can be set to the interface address or the system address. However, there can be an issue of which address to use when there are parallel adjacencies. This situation can not only happen with parallel links, but also with a link and a targeted adjacency since targeted adjacencies request the session to be set up only to the system IP address.
The transport-address value should not be interface if multiple interfaces exist between two LDP neighbors. Depending on the first adjacency to be formed, the TCP endpoint is chosen. In other words, if one LDP interface is set up as transport-address interface and another for transport-address system, depending on which adjacency was set up first, the TCP endpoint addresses are determined. After that, because the hello contains the LSR ID, the LDP session can be checked to verify that it is set up and match the adjacency to the session.
For any ILDP interface, as the local-lsr-id parameter is changed to interface, the transport-address configuration loses effectiveness. Since it will be ignored and the ILDP sessions will always use the relevant interface IP address as transport-address even though system is chosen.
The no form of this command at the global level sets the transport address to the default value.
The no form of this command at the interface level sets the transport address to the value defined under the global level.
system
Supported on all 7210 SAS platforms as described in this document.
This command specifies to use tunnel-in-tunnel over a simple LDP tunnel. Specifically, the user packets for LDP FECs learned over this targeted LDP session can be sent inside an RSVP LSP, which terminates on the same egress router as the destination of the targeted LDP session. The user can specify an explicit list of RSVP LSP tunnels under the targeted LDP session or LDP will perform a lookup in the TTM for the best RSVP LSP. In the former case, only the specified LSPs will be considered to tunnel LDP user packets. In the latter case, all LSPs available to the TTM and that terminate on the same egress router as this targeted LDP session will be considered. In both cases, the metric specified under the LSP configuration is used to control this selection.
The lookup in the TTM will prefer an LDP tunnel over an LDP-over-RSVP tunnel if both are available. The tunneling operates on the data plane only. Control packets of this targeted LDP session are sent over the IGP path.
Supported on all 7210 SAS platforms as described in this document.
This command enables the context to configure peer-specific parameters.
Supported on all 7210 SAS platforms as described in this document.
This command configures parameters for an LDP peer.
Supported on all 7210 SAS platforms as described in this document.
This command provides a means for an LDP router to advertise only the local IPv4 or IPv6 interfaces it uses to establish hello adjacencies with an LDP peer. By default, when a router establishes an LDP session with a peer, it advertises in an LDP Address message the addresses of all local interfaces to allow the peer to resolve LDP FECs distributed by this router. Similarly, a router sends a Withdraw Address message to all its peers to withdraw a local address if the corresponding interface went down or was deleted.
This new option reduces CPU processing when a large number of LDP neighbors come up or go down. The new CLI option is strongly recommended in mobile backhaul networks where the number of LDP peers can be large.
The no form of this command reverts LDP to the default behavior of advertising all local interfaces.
no adv-adj-addr-only
Supported on all 7210 SAS platforms as described in this document.
This command enables the use of the LDP Downstream-on-Demand (DoD) label distribution procedures.
When this option is enabled, LDP sets the A-bit in the Label Initialization message when the LDP session to the peer is established. When both peers set the A-bit, they will both use the DoD label distribution method over the LDP session (RFC 5036).
This feature can only be enabled on a link-level LDP session and therefore applies to prefix labels only, not service labels.
As soon as the link LDP session comes up, the router sends a label request to its DoD peer for the FEC prefix corresponding to the peer LSR ID. The DoD peer LSR ID is found in the basic Hello discovery messages the peer used to establish the Hello adjacency with the router.
Similarly, if the router and the directly attached DoD peer enters into extended discovery and established a targeted LDP session, the router immediately sends a label request for the FEC prefix corresponding to the peer LSR ID found in the extended discovery messages.
However, the router will not advertise any <FEC, label> bindings, including the FEC of its own LSR-id, unless the DoD peer requested it using a Label Request Message.
When the DoD peer sends a label request for any FEC prefix, the router replies with a <FEC, label> binding for that prefix if the FEC was already activated on the router. If not, the router replies with a notification message containing the status code of “no route.” The router will not attempt in the latter case to send a label request to the next-hop for the FEC prefix when the LDP session to this next-hop uses the DoD label distribution mode, hence the reference to single-hop LDP DoD procedures.
As soon as the link LDP session comes up, the router sends a label request to its DoD peer for the FEC prefix corresponding to the peer LSR ID. The DoD peer LSR ID is found in the basic Hello discovery messages the peer used to establish the Hello adjacency with the router.
Similarly, if the router and the directly attached DoD peer enter into extended discovery and established a targeted LDP session, the router immediately sends a label request for the FEC prefix corresponding to the peer LSR ID found in the extended discovery messages. The peer address must be the peer LSR ID address.
The no form of this command disables the DoD label distribution with an LDP neighbor.
no dod-label-distribution
Supported on all 7210 SAS platforms as described in this document.
This command specifies the export prefix policy to local addresses advertised to this peer.
Policies are configured in the config>router>policy-options context. A maximum of five policy names can be specified.
The no form of this command removes the policy from the configuration.
no export-addresses
Supported on all 7210 SAS platforms as described in this document.
This command specifies the export route policy used to determine which prefixes received from other LDP and T-LDP peers are redistributed to this LDP peer via the LDP/T-LDP session to this peer. A prefix that is filtered out (deny) will not be exported. A prefix that is filtered in (accept) will be exported.
If no export policy is specified, all FEC prefixes learned will be exported to this LDP peer. This policy is applied in addition to the global LDP policy and targeted session policy.
Policies are configured in the config>router>policy-options context. A maximum of five policy names can be specified. The peer address must be the peer LSR ID address.
The no form of this command removes the policy from the configuration.
no export-prefixes
Supported on all 7210 SAS platforms as described in this document.
This command configures a limit on the number of FECs that an LSR will accept from a specific peer and add into the LDP label database. The limit applies to the aggregate count of all FEC types including service FEC. When the limit is reached, any FEC received will be released back to the peer. This behavior is different from the per-peer import policy, which will still accept the FEC into the label database but will not resolve it.
When the FEC limit for a peer is reached, the LSR performs the following actions:
If a legitimate FEC is released back to a peer while the FEC limit was exceeded, the user must have a means to replay that FEC back to the router LSR after the condition clears. This is done automatically if the peer is an SR OS-based router and supports the LDP overload status TLV (SR OS 11.0.R5 and higher). Third-party peer implementations must support the LDP overload status TLV or provide a manual command to replay the FEC.
The threshold percentage option allows to set a threshold value when a trap and a syslog message are generated as a warning to the user in addition to when the limit is reached. The default value for the threshold when not configured is 90%.
The log-only option causes a trap and syslog message to be generated when reaching the threshold and limit. However, LDP labels are not released back to the peer.
If the user decreases the limit value such that it is lower than the current number of FECs accepted from the peer, the LDP LSR raises the trap for exceeding the limit. In addition, it will set overload for peers that signaled support for the LDP overload protection capability TLV. However, no existing resolved FECs from the peer that does not support the overload protection capability TLV should be deprogrammed or released.
A different trap is released when crossing the threshold in the upward direction, when reaching the FEC limit, and when crossing the threshold in the downward direction. However the same trap will not be generated more often than two minutes apart if the number of FECs oscillates around the threshold or the FEC limit.
The no form of this command disables FEC limiting.
no fec-limit
Supported on all 7210 SAS platforms as described in this document.
This command enables the context to configure FEC type capabilities for the session or interface.
7210 SAS-T, 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12
This command enables or disables P2MP FEC capability for the session.
p2mp disable
Supported on all 7210 SAS platforms as described in this document.
This command enables or disables IPv4 prefix FEC capability on the session or interface.
prefix-ipv4 enable
Supported on all 7210 SAS platforms as described in this document.
This command configures whether LDP will provide translation between non-compliant FEC 129 Cisco formats. Peer LDP sessions must be manually configured towards the non-compliant Cisco PEs.
When enabled, Cisco non-compliant format is used to send and interpret received label release messages. The FEC129 SAII and TAII fields will be reversed.
The no form of this command disables use and support of Cisco non-compliant forms. The peer address must be the peer LSR ID address.
no fec129-cisco-interop
Supported on all 7210 SAS platforms as described in this document.
This command configures the import FEC prefix policy to determine which prefixes received from this LDP peer are imported and installed by LDP on this node. If resolved, these FEC prefixes are redistributed to other LDP and T-LDP peers. A FEC prefix that is filtered out (deny) will not be imported. A FEC prefix that is filtered in (accept) will be imported.
If no import policy is specified, the node will import all prefixes received from this LDP/T-LDP peer. This policy is applied in addition to the global LDP policy and targeted session policy. Policies are configured in the config>router>policy-options context. A maximum of five policy names can be specified. The specified names must already be defined. The peer address must be the peer LSR ID address.
The no form of this command removes the policy from the configuration.
no import-prefixes
Supported on all 7210 SAS platforms as described in this document.
This command enables the addition of the PE-ID TLV in the LDP MAC withdrawal (mac-flush) message, under certain conditions, and modifies the mac-flush behavior for interoperability with other vendors that do not support the flush-all-from-me vendor-specific TLV. This flag can be enabled on a per LDP peer basis and allows the flush-all-from-me interoperability with other vendors. When the pe-id-mac-flush-interop flag is enabled for a given peer, the current mac-flush behavior is modified in terms of mac-flush generation, mac-flush propagation and behavior upon receiving a mac-flush.
The mac-flush generation will be changed depending on the type of event and according to the following rules.
Any other case will follow the existing mac-flush procedures.
When the pe-id-mac-flush-interop flag is enabled for a specific LDP peer, the mac-flush ingress processing is modified according to the following rules.
When a mac-flush message has to be propagated (for an ingress SDP-binding to an egress SDP-binding) and the pe-id-mac-flush-interop flag is enabled for the ingress and egress TLDP peers, the following behavior is observed.
The PE-ID TLV is never added when generating a mac-flush message on a B-VPLS if the send-bvpls-flush command is enabled in the I-VPLS. In the same way, no PE-ID is added when propagating mac-flush from a B-VPLS to a I-VPLS when the propagate-mac-flush-from-bvpls command is enabled. Mac-flush messages for peers within the same I-VPLS or within the same B-VPLS domain follow the preceding procedures.
no pe-id-mac-flush-interop
Supported on all 7210 SAS platforms as described in this document.
This command configures targeted LDP sessions. Targeted sessions are LDP sessions between non-directly connected peers. Hello messages are sent directly to the peer platform instead of to all the routers on this subnet multicast address.
The discovery messages for an indirect LDP session are addressed to the specified peer and not to the multicast address.
Supported on all 7210 SAS platforms as described in this document.
This command disables support for targeted sessions. Targeted sessions are LDP sessions between non-directly connected peers. The discovery messages for an indirect LDP session are addressed to the specified peer and not to the multicast address.
The no form of this command enables the set up of any targeted sessions.
no disable-targeted-session
Supported on all 7210 SAS platforms as described in this document.
This command configures parameters for an LDP peer.
Supported on all 7210 SAS platforms as described in this document.
This command enables LDP over tunnels.
The no form of this command disables tunneling.
no tunneling
Supported on all 7210 SAS platforms as described in this document.
This command configures a specific LSP destined to this peer to be used for tunneling of LDP FEC over RSVP. A maximum of four RSVP LSPs can be explicitly used for tunneling LDP FECs to the T-LDP peer.
It is not necessary to specify any RSVP LSP in this context unless there is a need to restrict the tunneling to selected LSPs. All RSVP LSPs with a to address matching that of the T-LDP peer are eligible by default. The user can also exclude specific LSP names by using the ldp-over-rsvp exclude command in the configure>router>mpls>lsp context.
no tunneling
Supported on all 7210 SAS platforms as described in this document.
This command enables the context to configure parameters for the TCP transport session of an LDP session to a remote peer.
Supported on all 7210 SAS platforms as described in this document.
This command configures the peer transport address, which is the destination address of the TCP connection, and not the address corresponding to the LDP LSR ID of the peer.
no peer-transport
ipv4-address — a.b.c.d | |
ipv6-address — x:x:x:x:x:x:x:x (eight 16-bit pieces) | |
x:x:x:x:x:x:d.d.d.d | |
x — [0 to FFFF]H | |
d — [0 to 255]D |
Supported on all 7210 SAS platforms as described in this document.
This command configures the TCP authentication keychain to use for the session.
Supported on all 7210 SAS platforms as described in this document.
This command specifies the authentication key to be used between LDP peers before establishing sessions. Authentication uses the MD-5 message-based digest. The peer address must be the TCP session transport address.
The no form of this command disables authentication.
none
This is useful when a user must configure the parameter, but, for security purposes, the actual unencrypted key value is not provided.
Supported on all 7210 SAS platforms as described in this document.
This command enables path MTU discovery for the associated TCP connections. When enabled, the MTU for the associated TCP session is initially set to the egress interface MTU. The DF bit is also set so that if a router along the path of the TCP connection cannot handle a packet of a particular size without fragmenting, it sends back an ICMP message to set the path MTU for the specific session to a lower value that can be forwarded without fragmenting.
no path-mtu-discovery
Supported on all 7210 SAS platforms as described in this document.
This command configures TTL security parameters for incoming packets. When the feature is enabled, BGP/LDP will accept incoming IP packets from a peer only if the TTL value in the packet is greater than or equal to the minimum TTL value configured for that peer. The peer address must be the TCP session transport address.
The no form of this command disables TTL security.
no ttl-security
Supported on all 7210 SAS platforms as described in this document.
This command displays the contents of the label information base.
The following outputs are examples of LDP bindings information, and Table 26 describes the output fields.
The following outputs pertain to unicast FEC resolved over an unnumbered interface.
The following outputs pertain to multicast P2MP FEC resolved over an unnumbered interface.
![]() | Note: P2MP LSPs are only supported on 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-T. |
Label | Description |
LDP LSR ID | Displays the LDP label switch router ID |
Legend | U: Label In Use N: Label Not In Use W: Label Withdrawn S: Status Signaled Up D: Status Signaled Down E: Epipe service V: VPLS service M: Mirror service A: Apipe service F: Fpipe service I: IES service R: VPRN service P: Ipipe service WP: Label Withdraw Pending C: Cpipe service TLV: (Type, Length: Value) |
Type | Displays the service type exchanging labels; possible types displayed are VPLS, Epipe, Spoke, and Unknown |
VCId | Displays the value used by each end of an SDP tunnel to identify the VC |
SvcID | Displays the unique service identification number identifying the service in the service domain |
Peer | Displays the IP address of the peer |
P2MP-Id | Displays the P2MP ID assigned by the root to this MVPN instance |
Interface | Displays the logical identifier assigned locally to identify the P2MP tunnel |
RootAddr Op | Displays the IP address of the root of the P2MP tree |
Op | Displays the label operation carried out (can be one of pop | swap | push) |
EgrNextHop | Displays the next hop gateway IP address |
EgrIntf/LspId | Displays the LSP tunnel ID (not the LSP path ID) |
IngLbl | Displays the ingress LDP label U — Label in use R — Label released |
EgrLbl | Displays the egress LDP label |
LMTU | Displays the local MTU value |
RMTU | Displays the remote MTU value |
No. of Service Bindings | Displays the total number of LDP bindings on the router |
Supported on all 7210 SAS platforms as described in this document.
This command displays the status of the interfaces participating in LDP discovery.
The following output is an example of LDP discovery information, and Table 27 describes the LDP discovery output fields.
Label | Description |
Interface Name | Displays the name of the interface |
Local Addr | Displays the IP address of the originating (local) router |
Peer Addr | Displays the IP address of the peer |
Adj Type | Displays the adjacency type between the LDP peer and LDP session is targeted |
State | Established — The adjacency is established Trying — The adjacency is not yet established |
No. of Hello Adjacencies | Displays the total number of hello adjacencies discovered |
Up Time | Displays the amount of time the adjacency has been enabled |
Hold-Time Remaining | Displays the time left before a neighbor is declared to be down |
Hello Mesg Recv | Displays the number of hello messages received for this adjacency |
Hello Mesg Sent | Displays the number of hello messages that have been sent for this adjacency |
Remote Cfg Seq No | Displays the configuration sequence number that was in the hello received when this adjacency started up. This configuration sequence number changes when there is a change of configuration. |
Remote IP Address | Displays the IP address used on the remote end for the LDP session |
Local Cfg Seq No | Displays the configuration sequence number that was used in the hello sent when this adjacency started up. This configuration sequence number changes when there is a change of configuration. |
Local IP Address | Displays the IP address used locally for the LDP session |
Supported on all 7210 SAS platforms as described in this document.
This command displays configuration information about LDP interfaces.
The following output is an example of LDP interface information, and Table 28 describes the output fields.
Label | Description |
Interface | Displays the interface associated with the LDP instance |
Adm | Up — The LDP is administratively enabled Down — The LDP is administratively disabled |
Opr | Up — The LDP is operationally enabled Down — The LDP is operationally disabled |
Hello Factor | Displays the value by which the hello timeout should be divided to give the hello time, for example, the time interval, in seconds, between LDP hello messages. LDP uses hello messages to discover neighbors and to detect loss of connectivity with its neighbors. |
Hold Time | Displays the hello time, also known as hold time. It is the time interval, in seconds, that LDP waits before declaring a neighbor to be down. Hello timeout is local to the system and is sent in the hello messages to a neighbor. |
KA Factor | Displays the value by which the keepalive timeout should be divided to give the keepalive time, for example, the time interval, in seconds, between LDP keepalive messages. LDP keepalive messages are sent to keep the LDP session from timing out when no other LDP traffic is being sent between the neighbors. |
KA Timeout | Displays the time interval, in seconds, that LDP waits before tearing down a session. If no LDP messages are exchanged during this time interval, the LDP session is torn down. Generally the value is configured to be 3 times the keepalive time (the time interval between successive LDP keepalive messages). |
Auth | Enabled — Authentication using MD5 message based digest protocol is enabled Disabled — No authentication is used |
No. of Interface | Displays the total number of LDP interfaces |
Supported on all 7210 SAS platforms as described in this document.
This command displays configuration information about LDP parameters.
The following output is an example of LDP parameter information, and Table 29 describes the output fields.
Label | Description |
Keepalive Timeout | Displays the factor used to derive the Keepalive interval |
Keepalive Factor | Displays the time interval, in seconds, that LDP waits before tearing down the session |
Hold-Time | Displays the time left before a neighbor is declared to be down |
Hello Factor | Displays the value by which the hello timeout should be divided to give the hello time, for example, the time interval, in seconds, between LDP hello messages. LDP uses hello messages to discover neighbors and to detect loss of connectivity with its neighbors. |
Auth | Enabled — Authentication using MD5 message based digest protocol is enabled Disabled — No authentication is used |
Passive-Mode | true — LDP responds only when it gets a connect request from a peer and will not attempt to actively connect to its neighbors false — LDP actively tries to connect to its peers |
Targeted-Sessions | true — Targeted sessions are enabled false — Targeted sessions are disabled |
Supported on all 7210 SAS platforms as described in this document.
This command displays configuration information about LDP sessions.
The following output is an example of LDP session information, and Table 30 describes the output fields.
Label | Description |
Peer LDP ID | Displays the IP address of the LDP peer |
Adj Type | Specifies that the adjacency type between the LDP peer and LDP session is targeted Link — Specifies that this adjacency is a result of a link hello Targeted — Specifies that this adjacency is a result of a targeted hello |
State | Established — The adjacency is established Trying — The adjacency is not yet established |
Mesg Sent | Displays the number of messages sent |
Mesg Rcvd | Displays the number of messages received |
Up Time | Displays the amount of time the adjacency has been enabled |
Supported on all 7210 SAS platforms as described in this document.
This command displays LDP peer information.
ipv4-address — a.b.c.d | |
ipv6-address — x:x:x:x:x:x:x:x (eight 16-bit pieces) | |
x:x:x:x:x:x:d.d.d.d | |
x — [0 to FFFF]H | |
d — [0 to 255]D |
The following output is an example of LDP peer information.
Supported on all 7210 SAS platforms as described in this document.
This command displays LDP statistics information.
The following output is an example of LDP statistics information.
Supported on all 7210 SAS platforms as described in this document.
This command displays LDP status information.
The following output is an example of LDP status information, and Table 31 describes the output fields.
Label | Description |
Admin State | Up — The LDP is administratively enabled Down — The LDP is administratively disabled |
Oper State | Up — The LDP is operationally enabled Down — The LDP is operationally disabled |
Created at | Displays the date and time when the LDP instance was created |
Up Time | Displays the time, in hundredths of seconds, that the LDP instance has been operationally up |
Last Change | Displays the date and time when the LDP instance was last modified |
Oper Down Events | Displays the number of times the LDP instance has gone operationally down since the instance was created |
Active Adjacencies | Displays the number of active adjacencies (established sessions) associated with the LDP instance |
Active Sessions | Displays the number of active sessions (session in some form of creation) associated with the LDP instance |
Active Interfaces | Displays the number of active (operationally up) interfaces associated with the LDP instance |
Inactive Interfaces | Displays the number of inactive (operationally down) interfaces associated with the LDP instance |
Active Peers | Displays the number of active LDP peers |
Inactive Peers | Displays the number of inactive LDP peers |
Addr FECs Sent | Displays the number of labels that have been sent to the peer associated with this FEC |
Addr FECs Recv | Displays the number of labels that have been received from the peer associated with this FEC |
Serv FECs Sent | Displays the number of labels that have been sent to the peer associated with this FEC |
Serv FECs Recv | Displays the number of labels that have been received from the peer associated with this FEC |
Attempted Sessions | Displays the total number of attempted sessions for this LDP instance |
No Hello Err | Displays the total number of “Session Rejected” or “No Hello Error” notification messages sent or received by this LDP instance |
Param Adv Err | Displays the total number of “Session Rejected” or “Parameters Advertisement Mode Error” notification messages sent or received by this LDP instance |
Max PDU Err | Displays the total number of “Session Rejected” or “Parameters Max PDU Length Error” notification messages sent or received by this LDP instance |
Label Range Err | Displays the total number of “Session Rejected” or “Parameters Label Range Error” notification messages sent or received by this LDP instance |
Bad LDP Id Err | Displays the number of bad LDP identifier fatal errors detected for sessions associated with this LDP instance |
Bad PDU Len Err | Displays the number of bad PDU length fatal errors detected for sessions associated with this LDP instance |
Bad Mesg Len Err | Displays the number of bad message length fatal errors detected for sessions associated with this LDP instance |
Bad TLV Len Err | Displays the number of bad TLV length fatal errors detected for sessions associated with this LDP instance |
Malformed TLV Err | Displays the number of malformed TLV value fatal errors detected for sessions associated with this LDP instance |
Shutdown Notif Sent | Displays the number of shutdown notifications sent related to sessions associated with this LDP instance |
Keepalive Expired Err | Displays the number of session Keepalive timer expired errors detected for sessions associated with this LDP instance |
Shutdown Notif Recv | Displays the number of shutdown notifications received related to sessions associated with this LDP instance |
Supported on all 7210 SAS platforms as described in this document.
This command displays targeted LDP peer information.
ipv4-address — a.b.c.d | |
ipv6-address — x:x:x:x:x:x:x:x (eight 16-bit pieces) | |
x:x:x:x:x:x:d.d.d.d | |
x — [0 to FFFF]H | |
d — [0 to 255]D |
The following output is an example of targeted LDP peer information, and Table 32 describes the output fields.
Label | Description |
Peer | Displays the IP address of the peer |
Adm | Up — indicates that LDP is administratively enabled Down — indicates that LDP is administratively disabled |
Opr | Up — indicates that LDP is operationally enabled Down — indicates that LDP is operationally disabled |
Hello Factor | The value by which the hello timeout should be divided to give the hello time; that is, the time interval, in seconds, between LDP Hello messages. LDP uses hello messages to discover neighbors and to detect loss of connectivity with its neighbors. |
Hold Time | Displays the time interval, in seconds, that LDP waits before declaring a neighbor to be down. Hold time (also known as Hello time) is local to the system and is sent in the hello messages to a neighbor. |
Keepalive Factor | Displays the value by which the keepalive timeout should be divided to give the keepalive time; that is, the time interval, in seconds, between LDP keepalive messages. LDP keepalive messages are sent to keep the LDP session from timing out when no other LDP traffic is being sent between the neighbors. |
Keepalive Timeout | Displays the time interval, in seconds, that LDP waits before tearing down a session. If no LDP messages are exchanged during this time interval, the LDP session is torn down. Generally the value is configured to be three times the keepalive time (the time interval between successive LDP keepalive messages). |
Auto Create | Specifies whether a targeted peer was automatically created through a Service Manager. For an LDP interface, this value is always false. |
No. of Peers | Displays the total number of LDP peers |
Supported on all 7210 SAS platforms as described in this document.
This command displays information about the TCP transport session of an LDP peer.
ipv4-address — a.b.c.d | |
ipv6-address — x:x:x:x:x:x:x:x (eight 16-bit pieces) | |
x:x:x:x:x:x:d.d.d.d | |
x — [0 to FFFF]H | |
d — [0 to 255]D |
Supported on all 7210 SAS platforms as described in this document.
This command resets the LDP instance.
Supported on all 7210 SAS platforms as described in this document.
This command restarts or clears statistics for LDP interfaces.
Supported on all 7210 SAS platforms as described in this document.
This command restarts or clears statistics for LDP targeted peers.
Supported on all 7210 SAS platforms as described in this document.
This command restarts or clears statistics for LDP sessions.
Supported on all 7210 SAS platforms as described in this document.
This command clears LDP instance statistics.
Supported on all 7210 SAS platforms as described in this document.
This command configures LDP debugging.
Supported on all 7210 SAS platforms as described in this document.
This command debugs an LDP interface.
Supported on all 7210 SAS platforms as described in this document.
This command debugs an LDP peer.
Supported on all 7210 SAS platforms as described in this document.
This command configures debugging for specific LDP events.
Supported on all 7210 SAS platforms as described in this document.
This command displays debugging information about addresses and label bindings learned from LDP peers for LDP bindings.
The no form of this command disables the debugging output.
Supported on all 7210 SAS platforms as described in this document.
This command displays specific information (for example, message type, source, and destination) regarding LDP messages sent to and received from LDP peers.
The no form of this command disables debugging output for LDP messages.
Supported on all 7210 SAS platforms as described in this document.
This command enables debugging for specific LDP packets.
The no form of this command disables the debugging output.
Supported on all 7210 SAS platforms as described in this document.
This command enables debugging for LDP hello packets.
The no form of this command disables the debugging output.
Supported on all 7210 SAS platforms as described in this document.
This command enables debugging for LDP Init packets.
The no form of this command disables the debugging output.
Supported on all 7210 SAS platforms as described in this document.
This command enables debugging for LDP Keepalive packets.
The no form of this command disables the debugging output.
Supported on all 7210 SAS platforms as described in this document.
This command enables debugging for LDP Label packets.
The no form of this command disables the debugging output.