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 Border Gateway Protocol (BGP) commands that begin with L.
To configure the Border Gateway Protocol (BGP) local autonomous system (AS) number, use the local-as command.
local-as as-number
as-number |
(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>. |
None
Router VRF mode
|
|
5.0(3)N1(1) |
This command was introduced. |
This command requires the LAN Enterprise Services license.
This example shows how to configure the local AS number for BGP:
switch# configure terminal
switch(config)# router bgp 65536.33
switch(config-router)# vrf red
switch(config-router-vrf)# local-as 65536.33
|
|
---|---|
show bgp |
Displays information about BGP. |
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.
low-memory exempt
no low-memory exempt
This command has no arguments or keywords.
Some eBGP peers shut down for severe memory alerts.
Neighbor configuration mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
This command requires the LAN Enterprise Services license.
This example shows how to exempt a neighbor from low-memory shutdown:
switch(config)# router bgp 1.0
switch(config-router)# neighbor 192.0.2.0/24 remote-as 1.5
switch(config-router-af)# low-memory exempt
|
|
---|---|
feature bgp |
Enables BGP. |