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 unicast routing commands that begin with the letter L.
To specify the load-balancing method used by the active virtual gateway (AVG) of the Gateway Load Balancing Protocol (GLBP), use the load-balancing command. To disable load balancing, use the no form of this command.
load-balancing [ host-dependent | round-robin | weighted ]
|
|
---|---|
Use the host-dependent method of GLBP load balancing when you need each host to always use the same router. Use the weighted method of GLBP load balancing when you need unequal load balancing because gateways in the GLBP group have different forwarding capacities.
This example show how to configure the host-dependent load-balancing method for the AVG of the GLBP group 10:
|
|
---|---|
Configures the weighting value and thresholds for the weighted load-balancing method. |
|
Configures object tracking for the weighted load-balancing method. |
To configure the Border Gateway Protocol (BGP) local AS number, use the local-as command.
(Optional) Autonomous system number. The AS number can be a 16-bit integer or a 32-bit integer in the form of <higher 16-bit decimal number>.<lower 16-bit decimal number>. |
|
|
This example shows how to configure the local AS number for BGP:
|
|
---|---|
To configure a router to appear as a member of a second autonomous system (AS) in addition to the real AS of the device, use the local-as command. To remove the local AS configuration from the device, use the no form of this command.
local-as autonomous-system-number [no-prepend | replace-as [dual-as]]
no local-as autonomous-system-number [no-prepend | replace-as [dual-as]]
Neighbor configuration (config-router-neighbor)
|
|
This example shows how to configure a router to appear as a member of a second AS in addition to the real AS of the device:
This example shows how to remove the local AS configuration from the device:
|
|
---|---|
To enable the logging of changes in Enhanced Interior Gateway Routing Protocol (EIGRP) adjacency state, use the log-adjacency-changes command. To disable the logging of changes in EIGRP adjacency state, use the no form of this command.
Address-family configuration
Router configuration
Router VRF configuration
|
|
---|---|
This example shows how to enable logging of adjacency state changes for EIGRP 1:
|
|
---|---|
To enable the router to send a syslog message when an Intermediate System-to-Intermediate System Intradomain Routing Protocol (IS-IS) neighbor goes up or down, use the log-adjacency-changes configuration mode command. To disable this function, use the no form of this command.
Router configuration
VRF configuration
|
|
---|---|
The log-adjacency-changes command is on by default but only up/down (full/down) events are reported.
This example configures the router to send a syslog message when an IS-IS neighbor state changes:
|
|
---|---|
To configure the router to send a syslog message when the state of an Open Shortest Path First (OSPF) neighbor changes, use the log-adjacency-changes command. To turn off this function, use the no form of this command.
log adjacency changes [ detail ]
(Optional) Provides all (DOWN, INIT, 2WAY, EXSTART, EXCHANGE, LOADING, FULL) adjacency state changes. |
The router sends a system message when the state of an OSPF neighbor changes.
Router configuration
Router VRF configuration
|
|
---|---|
Use the log-adjacency-changes command to display high-level changes to the state of the OSPF neighbor relationship. This command is on by default but only reports the up/down (full/down) events if you do not use the detail keyword.
This example shows how to configure the router to send a system message when an OSPF neighbor state changes:
To configure the router to send a system message when the state of an Open Shortest Path First version 3 (OSPFv3) neighbor changes, use the log-adjacency-changes command. To turn off this function, use the no form of this command.
log adjacency changes [ detail ]
(Optional) Provides all (DOWN, INIT, 2WAY, EXSTART, EXCHANGE, LOADING, FULL) adjacency state changes. |
The router sends a system message when the state of an OSPFv3 neighbor changes.
Router configuration
Router VRF configuration
|
|
---|---|
Use the log-adjacency-changes command to display high-level changes to the state of the OSPFv3 neighbor relationship. This command is on by default but only reports the up/down (full/down) events if you do not use the detail keyword.
This example shows how to configure the router to send a system message when an OSPFv3 neighbor state changes:
To enable the logging of Enhanced Interior Gateway Routing Protocol (EIGRP) neighbor warning messages, use the log-neighbor-warnings command. To disable the logging of EIGRP neighbor warning messages, use the no form of this command.
log-neighbor-warnings [ seconds ]
(Optional) Time interval (in seconds) between repeated neighbor warning messages. The range of seconds is from 1 to 65535. |
Address-family configuration
Router configuration
Router VRF configuration
|
|
---|---|
Use the log-neighbor-warnings command to enable neighbor warning messages and to configure the interval between repeated neighbor warning messages.
This example shows how to log neighbor warning messages for EIGRP process 209 and to repeat the warning messages in 5-minute (300 seconds) intervals:
|
|
---|---|
To exempt a Border Gateway Protocol (BGP) neighbor from a low-memory shutdown, use the low-memory exempt command. To make a BGP neighbor eligible for a low-memory shutdown, use the no form of this command.
|
|
---|---|
This example shows how to exempt a neighbor from low-memory shutdown:
|
|
---|---|
To customize the IS-IS throttling of the LSP generation, use the lsp-gen-interval configuration mode command. To restore default values, use the no form of this command.
lsp-gen-interval { level-1 | level-2 } lsp-max-wait [ lsp-initial-wait lsp-second-wait ]
Router configuration
VRF configuration
|
|
---|---|
When you change the default values of this command, use the following guidelines:
The lsp-mtu command sets the delay (in milliseconds) between successive LSPs being transmitted (including LSPs generated by another system and forwarded by the local system).
You can enter these commands in combination to control the rate of LSP packets being generated, transmitted, and retransmitted.
This example configures the interval for LSP generation:
|
|
---|---|
To set the maximum size of a link-state packet (LSP) generated by Cisco NX-OS software, use the lsp-mtu command. To restore the default Maximum Transmission Unit (MTU) size, use the no form of this command.
Maximum LSP size in bytes. Range: 128 to 4352. Default: 1492. |
Router configuration
VRF configuration
|
|
---|---|
You can increase the LSP MTU if there is a very large amount of information generated by a single router, because each device is limited to approximately 250 LSPs. In practice, this should never be necessary.
The LSP MTU must never be larger than the smallest MTU of any link in the area. This is because LSPs are flooded throughout the area.
The lsp-mtu command limits the size of LSPs generated by this router only.
This example sets the maximum LSP size to 1500 bytes:
|
|
---|---|