The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with S.
To enable sanity checks for Layer 2 VPN, use the sanity command. To disable this feature, use the no form of this command.
Layer 2 VPN configuration (config-l2vpn)
|
|
---|---|
The following example enables sanity checks for Layer 2 VPN:
The following example disables this feature:
To specify that a community’s attribute should be sent to a Border Gateway Protocol (BGP) neighbor, use the send-community extended command.
config-router-neighbor-af mode
|
|
---|---|
This example shows how to specify that a community's attributes should be sent to a BGP neighbor::
To configure the send lifetime of a key, use the send-lifetime command. To return to the default setting, use the no form of this command.
send-lifetime {start-time | local start-time} {duration seconds | end-time | infinite}
no send-lifetime {start-time | local start-time} {duration seconds | end-time | infinite}
Keychain key configuration mode
|
|
---|---|
If the no accept-lifetime value is defined, the associated receive password is valid for authenticating incoming TCP segments.
This example shows how to configure the send lifetime of a key:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To enable Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) session protection, use the session protection command. To return to the default setting, use the no form of this command.
session protection [for prefix-list] [duration {seconds | infinite}]
no session protection [for prefix-list] [duration {seconds | infinite}]
|
|
---|---|
This example shows how to enable MPLS LDP session protection:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To define a mapping of values between two quality of services (QoS) types, use the set command. To return to the default setting, use the no form of this command.
set to-field from field table table-map-name
no set to-field from field table table-map-name
|
|
---|---|
The following example shows how to define a mapping of values between two QoS:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To set the value of the Multilprotocol Label Switching (MPLS) experimental field on all imposed label entries, use the set mpls experimental imposition command. To return to the default setting, use the no form of this command.
set mpls experimental imposition mpls-exp-value
no set mpls experimental imposition mpls-exp-value
Policy map to set the EXP value on all imposed labels of an MPLS header. |
Address family configuration mode
|
|
---|---|
This example shows how to create a policy map to set the EXP field to a value of 3 on all imposed labels of an MPLS header:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To shut down all Label Distribution Protocol (LDP) sessions, withdraw all outgoing labels from the forwarding plane, and free all local labels that have been allocated, use the shutdown command. To reactivate the LDP service, use the no form of this command.
|
|
---|---|
This example shows how to shut down all LDP sessions, withdraw all outgoing labels from the forwarding plane, and free all local labels that have been allocated:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To shut down the Multiprotocol Label Switching (MPLS) traffic engineering (TE) sessions, use the shutdown command. To return to the default settings, use the no form of this command.
|
|
---|---|
The following example shows how to shutdown the Multiprotocol Label Switching (MPLS) traffic engineering (TE) sessions:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering Protocol (MPLS-TE). |
To advertise the explicit null label in signalling messages, use the signalling advertise explicit-null command. To return to the default settings, use the no form of this command.
signalling advertise explicit-null
no signalling advertise explicit-null
|
|
---|---|
This example shows how to advertise the explicit null label in signalling messages:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering Protocol (MPLS-TE). |
To configure the client batch timer, use the signalling client batch-time command. To return to the default settings, use the no form of this command.
signalling client batch-time msec
no signalling client batch-time msec
|
|
---|---|
This example shows how to configure the client batch timer:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To enable node-based hellos for a graceful restart at the global level, use the signalling hello graceful-restart command. To disable the sending of hellos for a graceful restart, use the no form of this command.
signalling hello graceful-restart
no signalling hello graceful-restart
|
|
---|---|
This example shows how to enable node-based hellos for a graceful restart at the global level:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the interval at which Resource Reservation Protocol (RSVP) graceful-restart hello messages are sent to each neighbor, use the signalling hello graceful-restart refresh command. To return to the default settings, use the no form of this command.
signalling hello graceful-restart refresh interval time
no signalling hello graceful-restart refresh interval time
|
|
---|---|
This example shows how to configure the interval at which RSVP graceful-restart hello messages are sent to each neighbor:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the number of consecutive missed hello messages before a neighbor is declared down or unreachable, use the signalling hello graceful-restart refresh misses command. To return to the default settings, use the no form of this command.
signalling hello graceful-restart refresh misses refresh-misses
no signalling hello graceful-restart refresh misses refresh-misses
|
|
---|---|
This example shows how to configure the number of consecutive missed hello messages before a neighbor is declared down or unreachable:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the recovery time that is advertised in the restart-capability object in hello messages, use the signalling hello graceful-restart send recovery-time command. To return to the default settings, use the no form of this command.
signalling hello graceful-restart send recovery-time time
no signalling hello graceful-restart send recovery-time time
|
|
---|---|
This example shows how to configure the recovery time that is advertised in the hello messages:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the restart time that is advertised in the restart-capability object in hello messages, use the signalling hello graceful-restart send restart-time command. To return to the default settings, use the no form of this command.
signalling hello graceful-restart send restart-time time
no signalling hello graceful-restart send restart-time time
|
|
---|---|
This example shows how to configure the restart time that is advertised in the hello messages:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To reroute the use of hello messages, use the signalling hello reroute command. To disable the sending of reroute hellos, use the no form of this command.
|
|
---|---|
This example shows how to configure the reroute hello messages:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the minimum amount of time that Resource Reservation Protocol (RSVP) waits for an acknowledgment before retransmitting the same message, use the signalling initial-retransmit-delay command. To return to the default settings, use the no form of this command.
signalling initial-retransmit-delay time
no signalling initial-retransmit-delay time
|
|
---|---|
This example shows how to configure the minimum amount time that RSVP waits for an acknowledgment before retransmitting the same message:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To delete a path state automatically when forwarding a PATH-ERROR message, use the signalling patherr state-removal command. To return to the default settings, use the no form of this command.
signalling patherr state-removal
no signalling patherr state-removal
|
|
---|---|
This example shows how to delete a path state automatically when forwarding a PATH-ERROR message:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To disable the signaling protocol and to use manually configured pseudowires, use the signaling protocol none command.
|
|
---|---|
This example shows how to disable the signaling protocol and to use manually configured pseudowires:
|
|
---|---|
Enters interface pseudowire configuration mode and configures a static pseudowire logical interface. |
To rate limit the number of messages being sent to a neighboring router, use the signalling rate-limit command. To return to the default settings, use the no form of the command.
signalling rate-limit {[interval msec] [limit messages]}
no signalling rate-limit {[interval msec] [limit messages]}
(Optional) Specifies the message limit per scheduling interval. |
|
|
|
---|---|
This example shows how to rate limit the number of messages that are being sent to a neighboring router:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure how often the Resource Reservation Protocol (RSVP) state is refreshed, use the s ignalling refresh interval command. To return to the default settings, use the no form of this command.
signalling refresh interval time
no signalling refresh interval time
|
|
---|---|
This example shows how to configure how often the RSVP state is refreshed:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the number of refresh messages that can be missed before the Resource Reservation Protocol (RSVP) determines that a state is to expire, use the signalling refresh misses command. To return to the default settings, use the no form of this command.
signalling refresh misses refresh-missed
no signalling refresh misses refresh-missed
|
|
---|---|
This example shows how to configure the number of refresh messages that can be missed before RSVP determines that a state is to expire:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To enable the Resource Reservation Protocol (RSVP) refresh reduction, use the signalling refresh reduction command. To disable RSVP refresh reduction, use the no form of the command.
no signalling refresh reduction
|
|
---|---|
This example shows how to enable RSVP refresh reduction:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the maximum amount of time the Resource Reservation Protocol (RSVP) holds on to an acknowledgement before sending it, use the signalling refresh reduction ack-delay command. To return to the default settings, use the no form of the command.
signalling refresh reduction ack-delay time
no signalling refresh reduction ack-delay time
|
|
---|---|
This example shows how to configure the maximum amount of time RSVP holds on to an acknowledgment before sending it:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the bundle maximum send message size, use the signalling refresh reduction bunde-max-size command. To return to the default settings, use the no form of the command.
signalling refresh reduction bundle-max-size value
no signalling refresh reduction bundle-max-size value
|
|
---|---|
This example shows how to configure the bundle maximum send message size:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the Site of Origin (SOO) Border Gateway Protocol (BGP) extended community value, use the soo command.
The value is in one of the following format: The number ranges is from 0 to 65535 for a 2-byte ASN or 0 to 4294967295 for a 4-byte ASN. |
config-router--vrf-neighbor-af mode
|
|
---|---|
This example shows how to configure the SOO BGP extended community value:
To enable a port profile, use the state enabled command.
|
|
---|---|
This example shows how to configure a VPN ID on a VFI context:
To identify the IDs that are available for bridge-domain configurations, use the system bridge-domain command.
system-bridge domain id [-id |-id,..., id-id]
Last ID in a range of contiguous IDs. The hyphen (-) is required. |
|
|
---|---|
The optional list of ID ranges are separated by commas (,). Do not type the ellipses (...).
This example shows how to identify the IDs that are available for bridge-domain configurations:
|
|
---|---|
Enters bridge-domain configuration mode and configures a bridge domain. |
To allow a flow from the specified VLAN to pass through the trunk, use the switchport allowed vlan command.
switchport allowed vlan vlan-id
|
|
---|---|
The VLAN ID must match the ID of the VLAN to which this virtual forwarding interface (VFI) is to be associated.
This example shows how to allow flow from the specified VLAN to pass through the trunk:
|
|
---|---|
To specify the source address of the Border Gateway Protocol (BGP) session, use the autonomous-system command.
AS number. The ASN can be a 16-bit integer or a 32-bit integer in the form of a higher 16-bit decimal number and a lower 16-bit decimal number in the xx.xx format. |
|
|
---|---|
This example shows how to specify the source address of the BGP session: