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 A.
To configure the accept lifetime of a key, use the accept-lifetime command. To return to the default setting, use the no form of this command.
accept-lifetime {start-time | local start-time} {duration seconds | end-time | infinite}
no accept-lifetime {start-time | local start-time} {duration seconds | end-time | infinite}
Keychain key configuration mode
|
|
---|---|
If you enter the no accept-lifetime command, the associated password is valid for authenticating incoming TCP segments.
This example shows how to configure the accept lifetime of a key:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure an address family type that pertains to BGP, use the address-family command. To return to the default setting, use the no form of this command.
address-family {ipv4 {multicast | unicast}} {ipv6 {multicast | unicast | labeled unicast }} {vpnv4 | vpnv6 {unicast }}
no address-family {ipv4 {multicast | unicast}} {ipv6 {multicast | unicast | labeled unicast }} {vpnv4 | vpnv6 {unicast }}
|
|
---|---|
This example shows how to configure IPV4 multicast address family:
This example shows how to configure IPV6 unicast address family:
This example shows how to configure unicast sub address family:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure label advertisements, use the advertise-labels command. To return to the default setting, use the no form of this command.
advertise-labels [for prefix-list [to prefix-list] | interface interface number]
no advertise-labels [for prefix-list [to prefix-list] | interface interface number]
(Optional) Specifies the prefix list controls on destination prefixes. |
|
(Optional) Specifies the prefix list controls on Label Distribution Protocol (LDP) peers. |
|
|
|
---|---|
To block label advertisements to the rest of the LDP peers, use the no advertise-labels command.
This example shows how to configure the device to advertise the label on destination prefixes:
This example shows how to configure the device to advertise the label for designated destination prefixes to designated LDP peers:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure attribute flags for links that comprise a label switched path (LSP), use the affinity command.
LSP attributes 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 configure attribute flags for links that comprise an LSP:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering protocol (MPLS-TE). |
To configure attribute flags for links that comprise a label switched path (LSP), use the affinity command.
TE interface configuration mode
|
|
---|---|
This example shows how to configure attribute flags for links that comprise an LSP:
|
|
---|---|
To allow an autonomous system (AS) path with the provider edge (PE) AS number (ASN) a specified number of times, use the allowas-in command.
Specified number to allowa the AS path. The range is from 1 to 10. |
config-router-vrf-neighbor-af mode
|
|
---|---|
This example shows how to allow an AS path with the PE ASN a specified number of times:
To configure the sham link on the provider edge (PE) interface within a specified Open Shortest Path First (OSPF) area and with the loopback interfaces specified by the IP addresses as endpoints, use the area command. To return to the default setting, use the no form of this command.
area area-id sham-link source-address destination-address
no area area-id sham-link source-address destination-address
|
|
---|---|
This example shows how to configure the maximum number of routes that can be stored in the virtual routing and forwarding (VRF) route table:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To specify to override the autonomous system number (ASN) when sending an update, use the as-override command.
config-router-vrf-neighbor-af mode
|
|
---|---|
This example shows how to specify to override the ASN when sending an update:
To perform a challenge or response handshake with the new Resource Reservation Protocol (RSVP) neighbors, use the authentication challenge command. To disable global authentication, use the no form of this command.
authentication [neighbor address ip-address] challenge
no authentication [neighbor address ip-address] challenge
|
|
---|---|
This example shows how to perform a challenge handshake with the new RSVP neighbors:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To activate the Resource Reservation Protocol (RSVP) cryptographic authentication for a neighbor, use the authentication key-chain command. To disable global authentication, use the no form of this command.
authentication [neighbor address ip-address] key-chain key-chain-name
no authentication [neighbor address ip-address] key-chain key-chain-name
|
|
---|---|
This example shows how to specify the authentication password keychain:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To control how long the Resource Reservation Protocol (RSVP) maintains security associations with a neighbor, use the authentication lifetime command. To revert to the default lifetime, use the no form of this command.
authentication [neighbor address ip-address] lifetime hh:mm:ss
no authentication [neighbor address ip-address] lifetime hh:mm:ss
Lifetime value in seconds. The range is from 30 to 86400 seconds. |
|
|
---|---|
This example shows how to specify the maximum lifetime of a neighbor authentication state:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the algorithm used to generate cryptographic signatures messages for a neighbor, use the authentication type command. To revert to the default type, use the no form of this command.
authentication [neighbor address ip-address] type {md5 | sha-1}
no authentication [neighbor address ip-address] type {md5 | sha-1}
|
|
---|---|
This example shows how to specify the MD5 authentication algorithm:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To configure the tolerance for the window size for an out-of-sequence message, use the authentication window-size command. To revert to the default type, use the no form of this command.
authentication [neighbor address ip-address] window-size value
no authentication [neighbor address ip-address] window-size value
(Optional) Specifies the Resource Reservation Protocol (RSVP) neighbor. |
|
Maximum number of messages allowed in a window. The range is from 1 to 64. |
|
|
---|---|
Use authentication window-size command to specify the tolerance for an out-of-sequence messages for a neighbor or globally.
This example shows how to configure the tolerance for an out-of-sequence message for a neighbor:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
To announce the traffic-engineering tunnel to an Interior Gateway Protocol (IGP), use the autoroute announce command. To restore the system to its default condition, use the no form of this command.
TE interface configuration mode
|
|
---|---|
This example shows how to announce the tunnel to IGP:
|
|
---|---|
To configure the automatic bandwidth configuration, use the auto-bw command.
auto-bw [frequency secs] [max-bw kbps] [min-bw kbps] [collect-bw]
no auto-bw [frequency secs] [max-bw kbps] [min-bw kbps] [collect-bw]
If the command is entered with no optional keywords, automatic bandwidth adjustment for the LSP is enabled, with adjustments made every 24 hours and with no constraints on the bandwidth adjustments made.If the collect-bw keyword is entered, the bandwidth is sampled but not adjusted, and the other options, if any, are ignored.If the collect-bw keyword is not entered and some, but not all of the other keywords are entered, the defaults for the keywords not entered are: frequency, every 24 hours; min-bw, unconstrained (0); max-bw, unconstrained.
LSP attribute configuration mode
|
|
---|---|
The following conditions apply for all traffic-engineering tunnel (TE) commands that can be specified both in TE interface configuration mode, path-option command line or LSP attribute configuration mode:
The bandwidth command configures the initial tunnel bandwidth, which is adjusted by the auto bandwidth mechanism.
This example shows how to configure the automatic bandwidth configuration:
|
|
---|---|
To configure the automatic bandwidth configuration, use the auto-bw command. To restore the system to its default condition, use the no form of this command.
auto-bw [frequency secs] [max-bw kbps] [min-bw kbps] [collect-bw]
no auto-bw [frequency secs] [max-bw kbps] [min-bw kbps] [collect-bw]
If the command is entered with no optional keywords, automatic bandwidth adjustment for the LSP is enabled, with adjustments made every 24 hours and with no constraints on the bandwidth adjustments made.If the collect-bw keyword is entered, the bandwidth is sampled but not adjusted, and the other options, if any, are ignored.If the collect-bw keyword is not entered and some, but not all of the other keywords are entered, the defaults for the keywords not entered are: frequency, every 24 hours; min-bw, unconstrained (0); max-bw, unconstrained.
TE interface configuration mode
|
|
---|---|
The bandwidth command configures the initial tunnel bandwidth, which is adjusted by the auto bandwidth mechanism.
This example shows how to enable automatic bandwidth adjustment for the tunnel and controls how the bandwidth for a tunnel is adjusted:
|
|
---|---|
To enable automatic bandwidth adjustment on a platform and begin sampling the output rate for tunnels that have been configured for automatic bandwidth adjustment, use the auto-bw timers command. To restore the system to its default condition, use the no form of this command.
auto-bw timers [frequency seconds]
no auto-bw timers [frequency seconds]
When the optional frequency keyword is not specified, the sampling interval is 300 seconds (5 minutes).
Traffic engineering global configuration mode
|
|
---|---|
The bandwidth command configures the initial tunnel bandwidth, which is adjusted by the auto bandwidth mechanism.
This example shows how to enable automatic bandwidth adjustment on a platform that has been configured for automatic bandwidth adjustment:
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Traffic Engineering Protocol (MPLS-TE). |
To specify the autonomous system number (ASN) for this address family for the customer site, use the autonomous-system command.
AS number. The AS number 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 ASN for an address family for a customer site: