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 R.
To create routing and forwarding tables, use the rd command. To return to the default setting, use the no form of this command.
8-byte value that is added to an IPv4 prefix to create a VPN IPv4 prefix. |
|
|
---|---|
This example shows how to create routing and forwarding tables:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To record the route used by the label switched path (LSP), use the record-route command.
LSP attribute configuration mode
|
|
---|---|
The following holds true for all tunnel-te commands that can be specified both in "TE interface configuration mode" or path-option command line or "LSP attribute configuration mode":
If a setting is specified for an LSP, either via the path-option command directly or by assigning an LSP attribute list to a path-option, takes precedence for that specific path-option.
If no setting is specified for an LSP, then the LSP/path-option inherits any setting specified in the tunnel-te configuration mode: affinity, auto-bw, priority, record-route, protection/fast-reroute.
This example shows how to record the route by LSP:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering Protocol (MPLS-TE). |
To record the route used by the label switched path (LSP), use the record-route command.
TE interface configuration mode
|
|
---|---|
This example shows how to record the route by LSP:
|
|
---|---|
To redistribute routes from one routing domain into another routing domain, use the redistribute command. To return to the default setting, use the no form of this command.
redistribute {bgp as | direct | {eigrp | ospf | rip} instance-tag | static} route-map map-name
no redistribute {bgp as | direct | {eigrp | ospf | rip} instance-tag | static} route-map map-name
|
|
---|---|
This example shows how to redistribute routes from one routing domain into another routing domain:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To redistribute directly connected routes using the Border Gateway Protocol (BGP), use the redistribute direct route-map command. To return to the default setting, use the no form of this command.
redistribute direct route-map map-tag
no redistribute direct route-map map-tag
Map name that can be any case-sensitive, alphanumeric string up to 63 characters. |
Address family configuration mode
|
|
---|---|
This example shows how to redistribute directly connected routes using BGP:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To redistribute static routes by using the Border Gateway Protocol (BGP), use the redistribute static-map command. To return to the default setting, use the no form of this command.
redistribute static route-map map-tag
no redistribute static route-map map-tag
Map name that can be any case-sensitive, alphanumeric string up to 63 characters. |
Address family configuration mode
|
|
---|---|
This example shows how to redistribute static routes using BGP:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure a Layer 2 VPN (L2VPN) virtual forwarding interface (VFI) context as the primary or secondary node, use the redundancy command.
redundancy {primary | secondary}
|
|
---|---|
This example shows how to configure an L2VPN VFI context as the primary node:
To enable Any Transport over MPLS (AToM) remote link failure notification and shutdown, use the remote link failure notification command. To disable remote link failure notification, use the no form of this command.
remote link failure notification
no remote link failure notification
|
|
---|---|
This example shows how to enable AToM remote link failure notification and shutdown:
|
|
---|---|
Enters Xconnect configuration mode and establishes a Layer 2 VPN (L2VPN) context for identifying the two members in a VPWS, multi-segment pseudowire, or local connect service. |
To reoptimize tunnels on link-up events, use the reoptimize events link-up command. To return to the default setting, use the no form of this command.
|
|
---|---|
This example shows how to reoptimize tunnels on link-up events:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering Protocol (MPLS-TE). |
To configure Multiprotocol Label Switching (MPLS) traffic engineering reoptimize timers, use the reoptimize timers command. To return to the default setting, use the no form of this command.
reoptimize timers {delay cleanup sec | installation sec | frequency sec}
no reoptimize timers {delay cleanup | installation | frequency}
|
|
---|---|
This example shows how to delay the replacement of the current LSP by the reoptimized LSP:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPL S) Traffic Engineering Protocol (MPLS-TE). |
To gracefully restart the Resource Reservation Protocol (RSVP) process, use the restart ommand. To return to the default settings, use the no form of the command.
|
|
---|---|
This example shows how to rate limit the number of messages that are sent to a neighboring router:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To add one VLAN tag to the incoming dot1q frame and symmetrically apply the operation to the ingress and egress frames, use the rewrite ingress tag push dot1q symmetric command.
rewrite ingress tag push dot1q vlan-id symmetric
|
|
---|---|
The VLAN ID must match the domain ID of the bridge domain to which this Ethernet Flow Point (EFP) is to be associated.
This command is supported only on an EFP that you configured with the encapsulation default command.
This example shows how to add one VLAN tag to the incoming dot1q frame and symmetrically apply the operation to the ingress and egress frames:
To rewrite one VLAN tag in the incoming dot1q frame and symmetrically apply the operation to the ingress and egress frames, use the rewrite ingress tag translate 1-to-1 dot1q symmetric command.
rewrite ingress tag translate 1-to-1 dot1q vlan-id symmetric
|
|
---|---|
The VLAN ID must match the domain ID of the bridge domain to which this Ethernet Flow Point (EFP) is to be associated.
This command is supported only on an EFP that you configured with the encapsulation default command.
This example shows how to rewrite one VLAN tag in the incoming dot1q frame and symmetrically apply the operation to the ingress and egress frames:
To create a route-target extended community for a virtual routing and forwarding (VRF) instance, use the route target command. To return to the default setting, use the no form of this command.
route-target {import | export} route-target-ext-community
no route-target {import | export} route-target-ext-community
Address family configuration mode
|
|
---|---|
This example shows how to create a route-target extended community for a VRF:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure a Border Gateway Protocol (BGP) process for an interface, use the router bgp command. To return to the default setting, use the no form of this command.
|
|
---|---|
This example shows how to configure a BGP process for an interface:
|
|
---|---|
To configure an Intermediate System-to-Intermediate System (IS-IS) routing process, use the router isis command. To return to the default setting, use the no form of this command.
router isis routing-process-tag
no router isis routing-process-tag
Routing process tag. The maximum size is 20 alphanumeric characters. |
|
|
---|---|
This example shows how to configure an IS-IS routing process:
|
|
---|---|
To enable an Open Shortest Path First (OSPF) routing process, use the router ospf command. To return to the default setting, use the no form of this command.
router ospf router-process-tag
no router ospf router-process-tag
Process name. The maximum size is 20 alphanumeric characters. |
|
|
---|---|
This example shows how to enable an OSPF routing process:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To enable the Routing Information Protocol (RIP), use the router rip command. To return to the default setting, use the no form of this command.
Instance tag that can be any case-sensitive, alphanumeric string up to 20 characters. |
|
|
---|---|
This example shows how to enable RIP:
|
|
---|---|
To configure the preferred interface for determining the Label Distribution Protocol (LDP) router ID, use the router-id command. To return to the default setting, use the no form of this command.
router-id loopback interface number [force]
no router-id loopback interface number [force]
Specifies the loopback interface. The interface could be Ethernet or any others. |
|
|
|
---|---|
This example shows how to specify the preferred interface for determining the LDP router ID:
This example shows how to assign Ethernet 2/2 interface as the LDP router ID:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |